Feral Heart

Help & Guidance => Game Help => Topic started by: Mythicalwolf02 on December 21, 2016, 06:37:51 pm

Title: Preset body glow
Post by: Mythicalwolf02 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
Title: Re: Preset body glow
Post by: D-ead7Dog on December 21, 2016, 07:13:44 pm
Hmm.. try this! (http://www.feral-heart.com/smf/index.php?topic=26062.msg336523#msg336523)
Title: Re: Preset body glow
Post by: Mythicalwolf02 on December 21, 2016, 09:06:44 pm
Hmm.. try this! (http://www.feral-heart.com/smf/index.php?topic=26062.msg336523#msg336523)

it works but the body is like a bit darker than the head/tail
Title: Re: Preset body glow
Post by: VortexAlive 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! ^.^