Author Topic: Preset body glow  (Read 1932 times)

Offline Mythicalwolf02

  • Familiar Grounds Dweller
  • **
  • Posts: 93
  • Country: 00
  • Floof-O-Meter: 0
    • Mythicalwolf02
    • Mythical Wolf
    • View Profile
Preset body glow
« on: December 21, 2016, 06:37:51 pm »
So I've done the coding right? and  I did this:
material preset_10_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_10bodyl.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture GloeMark.png
   }
  }
 }
}
material preset_10_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_10bodyr.png
   }
  }
pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture GloeMark.png
   }
  }
 }
}


but in the preset 10 files like I have everything, but I've saved the body  as:     preset_10bodyl.png  /   preset_10bodyr.png   <--- kept crashing   so I tried    preset_10bodyl   /   preset_10bodyr    but I only see the glow marking

please help
HI HI HI HI HI HI HI HI HI HI
                              ~Myth~

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,477
  • Country: us
  • Floof-O-Meter: 102
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Preset body glow
« Reply #1 on: December 21, 2016, 07:13:44 pm »
Hmm.. try this!




(c) Majorest

Offline Mythicalwolf02

  • Familiar Grounds Dweller
  • **
  • Posts: 93
  • Country: 00
  • Floof-O-Meter: 0
    • Mythicalwolf02
    • Mythical Wolf
    • View Profile
Re: Preset body glow
« Reply #2 on: December 21, 2016, 09:06:44 pm »
Hmm.. try this!

it works but the body is like a bit darker than the head/tail
HI HI HI HI HI HI HI HI HI HI
                              ~Myth~

Offline VortexAlive

  • Eevee Knight
  • Honored Hero
  • *****
  • Posts: 5,080
  • Country: us
  • Floof-O-Meter: 180
  • A wild floof has appeared!
    • VortexAlive
    • VortexAlive
    • VortexAlive
    • View Profile
    • VortexAlive is Rawrsome
Re: Preset body glow
« Reply #3 on: December 21, 2016, 09:22:13 pm »
So I've done the coding right? and  I did this:
material preset_10_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 <<This will make your left side body respond differently to lighting/shading, so if it isn't on any other body part it will probably look odd.
   texture_unit
   {
    texture preset_10bodyl.png <<This should be just fine as long as you actually have a preset_10bodyl.png texture to use.
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend <<This would also be on the body if the glow is under the body, if not then it should be fine.
   texture_unit
   {
    texture GloeMark.png <<If this is supposed to be under the body, it should be the first pass. Otherwise it should be fine.
   }
  }
 }
}
material preset_10_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_10bodyr.png
   }
  }
pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture GloeMark.png
   }
  }
 }
}

but in the preset 10 files like I have everything, but I've saved the body  as:     preset_10bodyl.png  /   preset_10bodyr.png   <--- kept crashing   so I tried    preset_10bodyl   /   preset_10bodyr <<(This won't work because it doesn't specify the file extension, also make sure your file extensions are correct.)    but I only see the glow marking

please help

Hope this helps a little bit! ^.^
For the sake of my own health and interests, I've left FH and I won't be looking back.