Author Topic: Preset A White Blob?  (Read 1306 times)

Offline PennsylvaniaRedneck

  • Experienced Traveler
  • **
  • Posts: 108
  • Floof-O-Meter: 1
  • Message me roleplay links, I'd love to join.
    • View Profile
Preset A White Blob?
« on: November 16, 2014, 05:31:54 pm »
I tried making a preset following a tutorial, but when I tried to use the preset ingame it's just a textureless white figure. Why could this have happened? Did I need to change the .material file?
"I have loved the stars too fondly to be fearful of the night." ~ Sarah Williams

My interests include art, reading, roleplaying, writing, Asssassin's Creed, Doctor Who, The Hobbit, Lord of the Rings, Marvel comics and movies, Merlin BBC, Once Upon A Time, Percy Jackson, Sherlock BBC, Supernatural, The Walking Dead, and Wolf's Rain.

AlphaEclipse

  • Guest
Re: Preset A White Blob?
« Reply #1 on: November 16, 2014, 05:43:20 pm »
In the .material file, make sure the file extensions off of the "texture preset_#(bodypart).FILE match. For example, if the file you made is a .png, make sure the .material says .png inside.

Quote
material preset_#_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit   
         {
            texture preset_#body.png
         }
      }
   }
}

Basically if it's .png in the .material, save it as .png.

Offline PennsylvaniaRedneck

  • Experienced Traveler
  • **
  • Posts: 108
  • Floof-O-Meter: 1
  • Message me roleplay links, I'd love to join.
    • View Profile
Re: Preset A White Blob?
« Reply #2 on: November 16, 2014, 05:45:28 pm »
How do I open the .material file? What program?
"I have loved the stars too fondly to be fearful of the night." ~ Sarah Williams

My interests include art, reading, roleplaying, writing, Asssassin's Creed, Doctor Who, The Hobbit, Lord of the Rings, Marvel comics and movies, Merlin BBC, Once Upon A Time, Percy Jackson, Sherlock BBC, Supernatural, The Walking Dead, and Wolf's Rain.

AlphaEclipse

  • Guest
Re: Preset A White Blob?
« Reply #3 on: November 16, 2014, 05:46:06 pm »
Open it in notepad, or any other program in which you can edit text.

Offline Bawfle

  • Courage is not the absence of fear but rather the judgement that something is more important than fear.
  • Elder Grey Pelt
  • ****
  • Posts: 3,147
  • Country: gb
  • Floof-O-Meter: 344
  • The Zambisi Pride
    • View Profile
Re: Preset A White Blob?
« Reply #4 on: November 16, 2014, 05:49:18 pm »
Open your material file with Notepad or Notepad++ (I recommend Notepad++) In your material file you should have this (depending on what number preset file you're using:

material preset_6_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_6body.png
         }
      }
   }
}
material preset_6_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_6body.png
         }
      }
   }
}
material preset_6_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_6head2.png
         }
      }
   }
}
material preset_6_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_6head.png
         }
      }
   }
}
material preset_6_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_6eye.png
         }
      }
   }
}
material preset_6_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_6eye.png
         }
      }
   }
}
material preset_6_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_6tail.png
         }
      }
   }
}
material preset_6_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_6mane.png
         }
      }
   }
}[

For a better result change the image file to .png instead of .jpg. Also make sure that your preset image is also saved as a .png so that it matches what is in the material file. Your preset image also needs to be the size of 512x512 pixels if it isn't already. The information in GREEN needs to be the same name as what you named the image. Example: Your preset head image is named "Headthing" so where you see "preset_6head.png" that would need to be changed to "Headthing.png" so it is EXACTLY the same~

Make sure you save and re-launch FH once you're done!


Pixel Doll Commissioned and Coloured by RingoKioko
Inactive // Retired // Gone

Offline PennsylvaniaRedneck

  • Experienced Traveler
  • **
  • Posts: 108
  • Floof-O-Meter: 1
  • Message me roleplay links, I'd love to join.
    • View Profile
Re: Preset A White Blob?
« Reply #5 on: November 16, 2014, 11:17:57 pm »
Yay, I got it to work! Thank you so much. But is there any way to have the marking only show up on one side?
"I have loved the stars too fondly to be fearful of the night." ~ Sarah Williams

My interests include art, reading, roleplaying, writing, Asssassin's Creed, Doctor Who, The Hobbit, Lord of the Rings, Marvel comics and movies, Merlin BBC, Once Upon A Time, Percy Jackson, Sherlock BBC, Supernatural, The Walking Dead, and Wolf's Rain.

Offline Bawfle

  • Courage is not the absence of fear but rather the judgement that something is more important than fear.
  • Elder Grey Pelt
  • ****
  • Posts: 3,147
  • Country: gb
  • Floof-O-Meter: 344
  • The Zambisi Pride
    • View Profile
Re: Preset A White Blob?
« Reply #6 on: November 16, 2014, 11:27:20 pm »
Indeed there is! Take this for an example:

material preset_6_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture IMAGE.png
         }
      }
   }
}
material preset_6_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture IMAGETWO.png
         }
      }
   }
}

All you need to do is change the name and make your second side of the preset~ c: remember to make the name in the material and the name on the image the same~ ^^
« Last Edit: November 16, 2014, 11:53:38 pm by Bawfle »


Pixel Doll Commissioned and Coloured by RingoKioko
Inactive // Retired // Gone

Offline PennsylvaniaRedneck

  • Experienced Traveler
  • **
  • Posts: 108
  • Floof-O-Meter: 1
  • Message me roleplay links, I'd love to join.
    • View Profile
Re: Preset A White Blob?
« Reply #7 on: November 17, 2014, 12:16:01 am »
Fantastic! Thank you so so much!
"I have loved the stars too fondly to be fearful of the night." ~ Sarah Williams

My interests include art, reading, roleplaying, writing, Asssassin's Creed, Doctor Who, The Hobbit, Lord of the Rings, Marvel comics and movies, Merlin BBC, Once Upon A Time, Percy Jackson, Sherlock BBC, Supernatural, The Walking Dead, and Wolf's Rain.

Offline Bawfle

  • Courage is not the absence of fear but rather the judgement that something is more important than fear.
  • Elder Grey Pelt
  • ****
  • Posts: 3,147
  • Country: gb
  • Floof-O-Meter: 344
  • The Zambisi Pride
    • View Profile
Re: Preset A White Blob?
« Reply #8 on: November 17, 2014, 08:06:42 am »
You're very welcome! ^^


Pixel Doll Commissioned and Coloured by RingoKioko
Inactive // Retired // Gone