Author Topic: Moving Mane Problems  (Read 2058 times)

Offline Siberius101

  • Curious Wanderer
  • *
  • Posts: 13
  • Country: 00
  • Floof-O-Meter: 3
  • "To each, his own."
    • View Profile
    • DeviantArt
Moving Mane Problems
« on: March 18, 2014, 11:14:43 pm »
Lol wow long time, no post.  ^^'
Anyway, I've been working on a rather complicated preset of mine to challenge myself and the one thing that is holding it back from being completed is my preset's mane.

I wanna know is it possible to make a moving/scrolling mane texture without it being blocky and weird in a particular spot? I know that the manes are suppose to be saved as .png but when I load up FH, the texture is moving but the lower transparent part of the mane texture still shows it white and weirdly shaped when it should be transparent.
If you need me to be more specific, I'll post an example of what I mean. Also, if you know the correct coding or way to do it, it would be most helpful. ^^
~In-game name: Siberius101~

Offline BlackRidgeWolf

  • Experienced Traveler
  • **
  • Posts: 155
  • Country: 00
  • Floof-O-Meter: 7
  • Wolves for life <3
    • View Profile
Re: Moving Mane Problems
« Reply #1 on: March 19, 2014, 12:01:54 am »
I'm not sure if this will be any help to you, but I used to have a moving mane on one of my presets. Here's the code I used:
{
   technique
   {
      pass
      {
      lighting off
      scene_blend colour_blend
      depth_write off
      cull_hardware none
      cull_software none
         texture_unit
         {
           texture Transparent.png
           tex_address_mode wrap
           filtering trilinear
         }
         texture_unit
         {
            texture preset_#mane.png
      scroll_anim 1 1
      tex_address_mode wrap
      rotate_anim -0.01
      wave_xform scale_x sine 3 0.1 0 3
      wave_xform scale_y sine 3 0.1 0 3           
            colour_op alpha_blend
         }
         texture_unit
         {
            texture Transparent.png
            colour_op_ex blend_current_alpha src_texture src_current
         }
      }
   }
}

Hope this helps in some way...

Download to see my preset---> http://www.mediafire.com/?7deox0ebd6d5v84

Offline Siberius101

  • Curious Wanderer
  • *
  • Posts: 13
  • Country: 00
  • Floof-O-Meter: 3
  • "To each, his own."
    • View Profile
    • DeviantArt
Re: Moving Mane Problems
« Reply #2 on: March 19, 2014, 01:42:57 am »
It didn't quite fix it but on the plus side, that code actually gave me an awesome effect I'm actually gonna experiment with. So thanks for that~
~In-game name: Siberius101~