Author Topic: Failed to export preset!! Help D:  (Read 1509 times)

Offline Rin-sama

  • Forum Newcomer
  • *
  • Posts: 1
  • Floof-O-Meter: 0
  • *Farts off to go roleplay*
    • View Profile
    • Deviant Art
Failed to export preset!! Help D:
« on: August 08, 2014, 07:42:29 am »
I've made tons of presets before on this same account and now this one preset wont export :( I really need help. I think it might be something wrong with the coding. I made a double layer moving preset. If someone could please help. I really want to export it, it took me two days to make.

Here is the coding, tell me if there is anything wrong with it.
material preset_7_bodyMatL
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture FireTexture.jpg.
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.2
}
texture_unit
{
texture preset_7body.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
}
material preset_7_bodyMatR
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture FireTexture.jpg.
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.2
}
texture_unit
{
texture preset_7body.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
}
material preset_7_headMatL
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture FireTexture.jpg.
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.2
}
texture_unit
{
texture preset_7head.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
}
material preset_7_headMatR
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture FireTexture.jpg.
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.1
}
texture_unit
{
texture preset_7head.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
}
material preset_7_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_7eyes.png
         }
      }
   }
}
material preset_7_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_7eyes.png
         }
      }
   }
}
material preset_7_tailMat
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture FireTexture.jpg
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.2
}
texture_unit
{
texture preset_7tail.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
}
material preset_7_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_7mane.png
         }
      }
   }
}
material preset_7_equipMatL
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture FireTexture.jpg.
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.2
}
texture_unit
{
texture preset_7equip.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
material preset_7_equipMatR
{
receive_shadows on
technique
{

pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
texture_unit
{
texture FireTexture.jpg.
tex_address_mode wrap
filtering trilinear
colour_op replace
scroll_anim 0.0 0.2
}
texture_unit
{
texture preset_7equip.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend
}

}

}
}
Rin is my OC. I created her and I own her. She resembles me in many ways. So if you wanna find me in the game my name is Rin-sama.

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: Failed to export preset!! Help D:
« Reply #1 on: August 08, 2014, 12:51:25 pm »
Maybe try this, someone in a previous thread had the same problem, I also had the problem and needed to do these steps and it worked fine for me~

Hmmz.. This could be a texture or rendering system related problem. When you wear other preset numbers (ones you have not used yet) does the texture turn out white or black and yellow? If it's white, do you the main menu and select 'options'//video/rendering subsystem//Direct3D9 then relaunch FH and try again. If that doesn't work, restart your PC. I had to do that because it wouldn't take full affect, but after, it worked.

If you're still having trouble, change the preset number by going to your preset's folder in FeralHeart//My_Presets//Preset_(yourpreset'snumberhere) Once you've done that, locate the images inside the folder. You will have preset_#body, preset_#head, preset_#eye etc... All you need to do is change the number to the same number that is in the material file and place the image into the unused folder you want to change it to.

Hopefully this will fix your problem, I wish you good luck. If you're a little confused about this, feel free to come back and ask or contact me via PM~


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

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Failed to export preset!! Help D:
« Reply #2 on: August 08, 2014, 03:14:21 pm »
I just want to point out that
Quote
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000
^ This, does absolutely nothing. (Or at least nothing noticeable.) So that, can go. There's a few other things that you don't actually need either. o;
Second, your issue might come in the fact that you have weird gaps and some things where they shouldn't be.

Quote
material preset_7_bodyMatL
{
receive_shadows on
technique
{

pass
{

ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.010000 0.010000 0.010000 1.000000
emissive 0.000000 0.000000 0.000000 1.000000

texture_unit
{
texture FireTexture.jpg.
tex_address_mode wrap
filtering trilinear
colour_op replace

scroll_anim 0.0 0.2
}
texture_unit
{
texture preset_7body.png
tex_address_mode wrap
filtering trilinear
colour_op alpha_blend

}

}

}
}
red = error or weird spacing
lightblue = unnecessary or can be changed to make the code smaller
-
This being the case, I've recreated your code, backup your old one just in case, but give this one a try?;

Code: [Select]
material preset_7_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture FireTexture.jpg
scroll_anim 0.0 0.2
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_7body.png
}
}
}
}
material preset_7_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture FireTexture.jpg
scroll_anim 0.0 0.2
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_7body.png
}
}
}
}
material preset_7_headMatL
{
technique
{
pass
{
texture_unit
{
texture FireTexture.jpg
scroll_anim 0.0 0.2
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_7head.png
}
}
}
}
material preset_7_headMatR
{
technique
{
pass
{
texture_unit
{
texture FireTexture.jpg
scroll_anim 0.0 0.2
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_7head.png
}
}
}
}
material preset_7_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_7eyes.png
}
}
}
}
material preset_7_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_7eyes.png
}
}
}
}
material preset_7_tailMat
{
technique
{
pass
{
texture_unit
{
texture FireTexture.jpg
scroll_anim 0.0 0.2
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_7tail.png
}
}
}
}
material preset_7_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_7mane.png
}
}
}
}
material preset_7_equipMatL
{
technique
{
pass
{
texture_unit
{
texture FireTexture.jpg
scroll_anim 0.0 0.2
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_7equip.png
}
}
}
}
material preset_7_equipMatR
{
technique
{
pass
{
texture_unit
{
texture FireTexture.jpg
scroll_anim 0.0 0.2
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture preset_7equip.png
}
}
}
}

If this doesn't do anything for you, then it's probably what Buffy said, haha.

Offline SnappleApple

  • Experienced Traveler
  • **
  • Posts: 153
  • Country: us
  • Floof-O-Meter: 8
  • An inkling irl
    • SnappleZeApple
    • cherry-gore
    • View Profile
Re: Failed to export preset!! Help D:
« Reply #3 on: August 09, 2014, 03:41:31 pm »
Like Ruby said, it's probably the spacing and gaps. Just copy the code in the yellow box, open your material file, and paste it. (Ruby is a genius at coding omai)
Find me In-Game as CandyGore/ Thunderbirds!