Feral Heart

Help & Guidance => Game Help => Topic started by: Kuri on October 10, 2017, 08:29:05 pm

Title: Preset, how come this won't export?
Post by: Kuri on October 10, 2017, 08:29:05 pm
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture bodyL.png
         }
      }
      pass
      {
         depth_func equal
                  scene_blend zero src_colour
         texture_unit
         {
            texture cbodyShade.jpg
            colour_op modulate
         }
      }
   }
}

Seems it doesn't like the code.
Title: Re: Preset, how come this won't export?
Post by: Morgra on October 10, 2017, 09:08:04 pm
Do you have the first line? I.E. "material preset_#_bodyMatL"
Title: Re: Preset, how come this won't export?
Post by: Hakumi on October 10, 2017, 09:12:06 pm
Adding on, in case it could be the case..
Get rid of that extra space where it says 'scene_blend zero src_colour'
That way it'll line up with the texture_unit.
Title: Re: Preset, how come this won't export?
Post by: Kuri on October 10, 2017, 11:15:33 pm
Do you have the first line? I.E. "material preset_#_bodyMatL"
Yes.

It doesn't seem to like having that colour blend, even though that's copied from normal markings.
Title: Re: Preset, how come this won't export?
Post by: Hakumi on October 10, 2017, 11:55:13 pm
Well for starters,
What exactly is this coding for? ( I.E Ghost, Transparent, etc.. )
If we knew what you were trying to do, might give us a clue as to why this particular coding isn't working.
Title: Re: Preset, how come this won't export?
Post by: Kuri on October 11, 2017, 12:37:50 am
Customizable preset, a base layer with no texture and a texture on top.  For testing i was using the normal fur tex', it renders just dandy.  But won't export..
Title: Re: Preset, how come this won't export?
Post by: Lucius on October 11, 2017, 11:08:02 pm
Is the cbodyShade.jpg file in the preset folder? I find that my FH refuses to export when referencing files that are not in the preset folder. Even if they are in the FH installation itself.
Title: Re: Preset, how come this won't export?
Post by: Kuri on October 11, 2017, 11:21:15 pm
Is the cbodyShade.jpg file in the preset folder? I find that my FH refuses to export when referencing files that are not in the preset folder. Even if they are in the FH installation itself.
Yes
Title: Re: Preset, how come this won't export?
Post by: Lucius on October 11, 2017, 11:30:14 pm
I've tested your code on a preset and it exported just fine. Maybe there's a problem somewhere in the rest of the code. You could also try having someone else export it for you.