Feral Heart

Help & Guidance => Game Help => Topic started by: Void on June 04, 2017, 05:10:18 am

Title: Preset Scrolling
Post by: Void on June 04, 2017, 05:10:18 am
Hello everyone ~

I've got a question about preset scrolling (yes, I have read all the tutorials and help on my issue)
So my question is, I have done everything correctly for scrolling except for the fact that the image I want to use does not show up on the character and instead shows up as the black and yellow (extremely annoying). I couldn't find any thread on how to fix the issue so that the image shows. I can send screenshots of everything if you would like.
If anyone is able to fix this please let me know!

Thanks
 
Title: Re: Preset Scrolling
Post by: Morgra on June 04, 2017, 05:18:17 am
Hiya!
I'd like to have a look in your coding to see if there's anything wrong in there, as that's usually the case with this issue. You can put your code in an easy-to-read format like this:
[code]Paste entire code contents here[/code]

Also, please provide the filename of the image(s) in question and what filetype they are. That way we can see if it matches up correctly.

Title: Re: Preset Scrolling
Post by: Void on June 04, 2017, 05:27:15 am
Hiya!
I'd like to have a look in your coding to see if there's anything wrong in there, as that's usually the case with this issue. You can put your code in an easy-to-read format like this:
[code]Paste entire code contents here[/code]

Also, please provide the filename of the image(s) in question and what filetype they are. That way we can see if it matches up correctly.



Alright, throwing the code at ya ~

Code: [Select]
material preset_8_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scrollL.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8bodyL.png
   }
  }
 }
}
material preset_8_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scrollR.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8bodyR.png
   }
  }
 }
}
material preset_8_headMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8head.png
   }
  }
 }
}
material preset_8_headMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8head.png
   }
  }
 }
}
material preset_8_eyeMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scrollL.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8eyeL.png
   }
  }
 }
}
material preset_8_eyeMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scrollR.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8eyeR.png
   }
  }
 }
}
material preset_8_tailMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8tail.png
   }
  }
 }
}
material preset_8_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_8mane.png
    scroll_anim 1.0 1.0
   }
  }
 }
}

and the image is called "preset_8scroll" and is a png file like everything else

Title: Re: Preset Scrolling
Post by: Morgra on June 04, 2017, 05:40:36 am
I noticed on your code you had preset_8scrollL.png and preset8scrollR.png. If your file is named preset_8scroll.png that is likely the issue.
I don't know what your preset is supposed to look like (where the scroll is supposed to be) but try this: (replace your code with this one)
Code: [Select]
material preset_8_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8bodyL.png
   }
  }
 }
}
material preset_8_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8bodyR.png
   }
  }
 }
}
material preset_8_headMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8head.png
   }
  }
 }
}
material preset_8_headMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8head.png
   }
  }
 }
}
material preset_8_eyeMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8eyeL.png
   }
  }
 }
}
material preset_8_eyeMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8eyeR.png
   }
  }
 }
}
material preset_8_tailMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_8scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_8tail.png
   }
  }
 }
}
material preset_8_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_8mane.png
    scroll_anim 1.0 1.0
   }
  }
 }
}
Title: Re: Preset Scrolling
Post by: Void on June 04, 2017, 05:45:08 am
Well, excuse my stupidity  ::)

As soon as you said I had the L and R since I wanted to make two sides I realized I didn't have the scroll saying L or R
Thanks a dozen   ;D
Title: Re: Preset Scrolling
Post by: Morgra on June 04, 2017, 06:12:17 am
It's not stupidity ^^ I can't tell you how many times i've made little errors like that xD It happens

Anyway, I'll go ahead and lock this since the problem was solved. Enjoy your preset!