Feral Heart

Help & Guidance => Game Help => Topic started by: raggedpelt98 on February 11, 2014, 08:30:06 pm

Title: Some one add scroll code to this?
Post by: raggedpelt98 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
         }
      }
   }
}

Title: Re: Some one add scroll code to this?
Post by: AlphaEclipse on February 11, 2014, 09:11:45 pm
Lol, I'm trying to make this, but this is all I got so far. |D

(http://i57BannedImageSite/t68my9.png)

I'll just PM you it if I actually can make it work.
what did i do wrong *dying*
Title: Re: Some one add scroll code to this?
Post by: raggedpelt98 on February 11, 2014, 09:15:37 pm
I just need the scroll code added to my coding above
Title: Re: Some one add scroll code to this?
Post by: AlphaEclipse 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.~
Title: Re: Some one add scroll code to this?
Post by: raggedpelt98 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
Title: Re: Some one add scroll code to this?
Post by: AlphaEclipse 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?
Title: Re: Some one add scroll code to this?
Post by: raggedpelt98 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
Title: Re: Some one add scroll code to this?
Post by: brainrot 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
         }
      }
   }
}
Title: Re: Some one add scroll code to this?
Post by: raggedpelt98 on February 14, 2014, 12:50:56 am
It is, but I need some one to layer it with the code I posted
Title: Re: Some one add scroll code to this?
Post by: brainrot 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
Title: Re: Some one add scroll code to this?
Post by: AlphaEclipse on February 14, 2014, 03:26:34 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


I did already get a version of the code, but not what Ragged wanted. :c I only got it so the glowing texture would scroll, but Ragged wants it to be like the original scrolling where you would erase the part you wanted to scroll, and have glowing somewhere else.
I can't do that because presets work with two layers, if that makes sense. xD

I already PMed the code, but if anyone were able to do this somehow, I'd be grateful too.