Author Topic: Some one add scroll code to this?  (Read 1780 times)

Offline raggedpelt98

  • Dedicated Supporter
  • ***
  • Posts: 418
  • Country: 00
  • Floof-O-Meter: 57
    • View Profile
Some one add scroll code to this?
« on: February 11, 2014, 08:30:06 pm »
 :) Hurro dere! I`m not skilled enough to add in scrolling code, oh and the scroll color I used is named "scroll"
Please send me the finished coding
(I made my markings glow, thats why theres YourGlow)

material preset_10_bodyMatL
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5
         texture_unit
         {
            texture YourNameBody_Left.PNG
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture YourGlow.PNG
         }
      }
   }
}
material preset_10_bodyMatR
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5
         texture_unit
         {
            texture YourNameBody_Right.PNG
         }
      }
pass
      {
         emissive 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture YourGlow.PNG
         }
      }
   }
}

Inactive. Will be back one day

AlphaEclipse

  • Guest
Re: Some one add scroll code to this?
« Reply #1 on: February 11, 2014, 09:11:45 pm »
Lol, I'm trying to make this, but this is all I got so far. |D



I'll just PM you it if I actually can make it work.
what did i do wrong *dying*

Offline raggedpelt98

  • Dedicated Supporter
  • ***
  • Posts: 418
  • Country: 00
  • Floof-O-Meter: 57
    • View Profile
Re: Some one add scroll code to this?
« Reply #2 on: February 11, 2014, 09:15:37 pm »
I just need the scroll code added to my coding above
Inactive. Will be back one day

AlphaEclipse

  • Guest
Re: Some one add scroll code to this?
« Reply #3 on: February 11, 2014, 09:18:14 pm »
I just need the scroll code added to my coding above

Oh, I know, it's just it's hard to add multiple rows of different scripts.~

Offline raggedpelt98

  • Dedicated Supporter
  • ***
  • Posts: 418
  • Country: 00
  • Floof-O-Meter: 57
    • View Profile
Re: Some one add scroll code to this?
« Reply #4 on: February 11, 2014, 09:28:42 pm »
Yep. Thats why Im askin for help xD I just figured out glowin coding. Now I just need help with adding the scroll :I
Inactive. Will be back one day

AlphaEclipse

  • Guest
Re: Some one add scroll code to this?
« Reply #5 on: February 11, 2014, 09:30:50 pm »
I think I figured it out. What part will be scrolling? The glowing parts, or the flat body texture?

Offline raggedpelt98

  • Dedicated Supporter
  • ***
  • Posts: 418
  • Country: 00
  • Floof-O-Meter: 57
    • View Profile
Re: Some one add scroll code to this?
« Reply #6 on: February 11, 2014, 10:01:41 pm »
The flat body texture. I already erased where the scrolling marking shall be, so now I need the coding
Inactive. Will be back one day

Offline brainrot

  • Curious Wanderer
  • *
  • Posts: 38
  • Country: 00
  • Floof-O-Meter: 0
    • View Profile
Re: Some one add scroll code to this?
« Reply #7 on: February 14, 2014, 12:44:28 am »
I do believe this is it? ((I keep a word pad document full of these codes. >xD))

material preset_#_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_#scroll.png
            scroll_anim 1.0 1.0
         }
      }
      pass
      {
         scene_blend alpha_blend
         texture_unit   
         {
            texture preset_#body.png
         }
      }
   }
}
material preset_#_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_#scroll.png
            scroll_anim 1.0 1.0
         }
      }
      pass
      {
         scene_blend alpha_blend
         texture_unit   
         {
            texture preset_#body.png
         }
      }
   }
}
« Last Edit: February 14, 2014, 12:54:25 am by MistleDragon »

Offline raggedpelt98

  • Dedicated Supporter
  • ***
  • Posts: 418
  • Country: 00
  • Floof-O-Meter: 57
    • View Profile
Re: Some one add scroll code to this?
« Reply #8 on: February 14, 2014, 12:50:56 am »
It is, but I need some one to layer it with the code I posted
Inactive. Will be back one day

Offline brainrot

  • Curious Wanderer
  • *
  • Posts: 38
  • Country: 00
  • Floof-O-Meter: 0
    • View Profile
Re: Some one add scroll code to this?
« Reply #9 on: February 14, 2014, 12:52:48 am »
Ok, I'll work on it.
Heh. I tried. xD Having troubles with even the scrolling working.. GIMP doesn't like me at them moment. I'll leave this to Alpha though, she knows a lot more about presets then I do.. It was fun trying to figure it out though..
IfIFigureItOutI'llProbablyFeelSoSpecialThatIFiguredItOut.xD
« Last Edit: February 14, 2014, 02:09:58 am by MistleDragon »