Author Topic: PRESET PROBLEM  (Read 1716 times)

Offline epithelia

  • Experienced Traveler
  • **
  • Posts: 156
  • Country: 00
  • Floof-O-Meter: 7
    • View Profile
PRESET PROBLEM
« on: May 20, 2018, 06:26:10 pm »
I can't see on FH's Preset Creator some folders,for example,I can't see the folder 8.What happens?

Lucius

  • Guest
Re: PRESET PROBLEM
« Reply #1 on: May 20, 2018, 06:28:40 pm »
That usually happens when you delete the .material file from the corresponding folder. Does each folder have the proper material files for it inside, and do the material files have the right coding?

Offline epithelia

  • Experienced Traveler
  • **
  • Posts: 156
  • Country: 00
  • Floof-O-Meter: 7
    • View Profile
Re: PRESET PROBLEM
« Reply #2 on: May 20, 2018, 06:35:21 pm »
For example,it needs to be: preset_8head   right?

Lucius

  • Guest
Re: PRESET PROBLEM
« Reply #3 on: May 20, 2018, 06:42:08 pm »
Your preset 8 folder should have a material file called "preset_8.material". That's all that's needed for the preset number 8 to show up in the list in-game.

The default material file looks like this inside:
Code: [Select]
material preset_8_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_8body.jpg
}
}
}
}
material preset_8_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_8body.jpg
}
}
}
}
material preset_8_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_8head.jpg
}
}
}
}
material preset_8_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_8head.jpg
}
}
}
}
material preset_8_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_8eye.jpg
}
}
}
}
material preset_8_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_8eye.jpg
}
}
}
}
material preset_8_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_8tail.jpg
}
}
}
}
material preset_8_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_8mane.png
}
}
}
}

If you have texture files, then your preset will show up textured, but the material file is what's necessary to be able to select the preset in the first place. This example was for the preset number 8. If you're missing other numbers, then check the corresponding folders and material files.

Offline epithelia

  • Experienced Traveler
  • **
  • Posts: 156
  • Country: 00
  • Floof-O-Meter: 7
    • View Profile
Re: PRESET PROBLEM
« Reply #4 on: May 20, 2018, 06:49:52 pm »
Like this?

Code: [Select]
[quote]material preset_8_bodyMatL
{
technique
{
pass
{
                    diffuse 1.000000 1.000000 1.000000 1.000000
                      cull_hardware none
                      cull_software none
                        scene_blend alpha_blend
              alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
texture_unit
{
texture Preset_body_left.PNG
         }
      }
   }
}
material preset_8_bodyMatR
{
technique
{
pass
{
                    diffuse 1.000000 1.000000 1.000000 1.000000
                      cull_hardware none
                      cull_software none
                        scene_blend alpha_blend
              alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
texture_unit
{
texture Preset_8body.PNG
         }
      }
   }
}
material preset_8_headMatL
{
technique
{
pass
{
                    diffuse 1.000000 1.000000 1.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
texture_unit
{
texture Preset_8head_left.PNG
         }
      }
   }
}
material preset_8_headMatR
{
technique
{
pass
{
                    diffuse 1.000000 1.000000 1.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
texture_unit
{
texture Preset_8head.PNG
         }
      }
   }
}
material preset_8_eyeMatL
{
technique
{
pass
{
                    diffuse 1.000000 1.000000 1.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
texture_unit
{
texture preset_8eye.PNG
         }
      }
   }
}
material preset_8_eyeMatR
{
technique
{
pass
{
                    diffuse 1.000000 1.000000 1.000000 1.000000
                      cull_hardware none
                      cull_software none
                        scene_blend alpha_blend
              alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
texture_unit
{
texture Preset_8eye.PNG
         }
      }
   }
}
material preset_8_tailMat
{
technique
{
pass
{
                    diffuse 1.000000 1.000000 1.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
texture_unit
{
texture Preset_8tail.PNG
         }
      }
   }
}
material preset_8_maneMat
{
technique
{
pass
{
diffuse 1.000000 1.000000 1.000000 1.000000
                      cull_hardware none
                      cull_software none
                        scene_blend alpha_blend
              alpha_rejection greater_equal 128
ambient 0.7 0.7 0.7 0.7
          texture_unit
{
texture preset_8mane.png
         }
      }

   }
}[/quote]
« Last Edit: May 20, 2018, 06:51:36 pm by Micky81007 »

Lucius

  • Guest
Re: PRESET PROBLEM
« Reply #5 on: May 20, 2018, 06:53:48 pm »
Yes, that looks fine. All the body part definitions are there, so it should work.

Is that the preset number that's not showing up on the list?

Offline epithelia

  • Experienced Traveler
  • **
  • Posts: 156
  • Country: 00
  • Floof-O-Meter: 7
    • View Profile
Re: PRESET PROBLEM
« Reply #6 on: May 20, 2018, 06:56:18 pm »
Ya...

Lucius

  • Guest
Re: PRESET PROBLEM
« Reply #7 on: May 20, 2018, 07:03:50 pm »
That is bizarre, because I put your code into my material file and the preset showed up on the list. It was obviously all white, but it was there.

If you right click on your material file and open up "Properties", do you see this:

Type of file:MATERIAL File (.material)

Offline epithelia

  • Experienced Traveler
  • **
  • Posts: 156
  • Country: 00
  • Floof-O-Meter: 7
    • View Profile
Re: PRESET PROBLEM
« Reply #8 on: May 20, 2018, 07:07:51 pm »
Yes.

Lucius

  • Guest
Re: PRESET PROBLEM
« Reply #9 on: May 20, 2018, 07:23:57 pm »
Right. I'm not sure why that's happening then.

I have one last suggestion, though I really doubt that this is what's causing the problem. You can try to go to your main FeralHeart folder and open up the "resources.cfg" file in notepad (if you're going to edit it, back it up first). Make sure that you have these lines located somewhere under the [General] section.
Code: [Select]
FileSystem=my_presets/preset_1
FileSystem=my_presets/preset_2
FileSystem=my_presets/preset_3
FileSystem=my_presets/preset_4
FileSystem=my_presets/preset_5
FileSystem=my_presets/preset_6
FileSystem=my_presets/preset_7
FileSystem=my_presets/preset_8
FileSystem=my_presets/preset_9
FileSystem=my_presets/preset_10
FileSystem=my_presets/preset_11
FileSystem=my_presets/preset_12

If you do, then I really have no clue why this is happening to you.

The only other solutions I can think of is to either move the preset to another folder or have someone else export it for you. If you don't want to move it, I would be willing to export your preset for you, though you'd have to send me the files. Or you can have a friend do it.

I'm sorry that I can't be of more help. Maybe someone else has some ideas.