Author Topic: Code help?  (Read 1470 times)

Offline flower-child

  • Curious Wanderer
  • *
  • Posts: 11
  • Floof-O-Meter: 0
    • View Profile
Code help?
« 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.~

And IiiiIiii will always loVE YOOOUU"

Offline Enoki

  • Herba Chronographus
  • Elder Grey Pelt
  • ****
  • Posts: 2,698
  • Country: us
  • Floof-O-Meter: 121
  • Who lives in a portabella under a tree?
    • FantasyFungus
    • EnokiTheDryphon
    • Enoki_G
    • View Profile
    • The Realms of Yugure
Re: Code help?
« Reply #1 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. ;)

Tmw you planned a ten minute nap but instead took a whole year.
☙Icon by dA JRProducts; Sig by PocketMutt❧

Preach

  • Guest