Feral Heart

Help & Guidance => Game Help => Topic started by: flower-child on January 15, 2016, 12:24:55 am

Title: Code help?
Post by: flower-child on January 15, 2016, 12:24:55 am
I'm trying to make a mechanical-cyborg like preset and I've been trying to figure out how to combine a scrolling code and a metallic code, anyone have the coding for this and any help on this?

Thank you.~
Title: Re: Code help?
Post by: Enoki on January 15, 2016, 12:37:21 am
Ah, try using this code I've put t'gether.

Code: [Select]
material preset_#_bodyMatL
material preset_#_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_#scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   specular 0.5 0.5 0.5 1
   texture_unit
   {
    texture preset_#metal.png
    env_map spherical
   }
  }
  pass
  {
   ambient 0.5 0.5 0.5 1
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_#body.png
   }
  }
 }
}

Let me know if this works f'er ye. ;)
Title: Re: Code help?
Post by: Preach on January 15, 2016, 12:37:51 am
Try looking here?

http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=26062.0 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=26062.0)