Author Topic: Preset, how come this won't export?  (Read 1489 times)

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Preset, how come this won't export?
« 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.
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Preset, how come this won't export?
« Reply #1 on: October 10, 2017, 09:08:04 pm »
Do you have the first line? I.E. "material preset_#_bodyMatL"
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: Preset, how come this won't export?
« Reply #2 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.

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: Preset, how come this won't export?
« Reply #3 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.
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline Hakumi

  • ✩ Just A Virtuous Smol ✩
  • Honored Hero
  • *****
  • Posts: 4,835
  • Country: 00
  • Floof-O-Meter: 130
  • A Smol & Helpful Floof ~
    • leanim3fr3akzoid
    • LeAnim3Fr3akzoid
    • View Profile
Re: Preset, how come this won't export?
« Reply #4 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.

Keep on traveling across this road called 'Life.'

Discord: Haku - Haku#74O7

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: Preset, how come this won't export?
« Reply #5 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..
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Lucius

  • Guest
Re: Preset, how come this won't export?
« Reply #6 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.

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: Preset, how come this won't export?
« Reply #7 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
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Lucius

  • Guest
Re: Preset, how come this won't export?
« Reply #8 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.