Feral Heart

Help & Guidance => Game Help => Topic started by: Inoheiwa on June 11, 2016, 04:28:58 pm

Title: Scrolling preset mane?
Post by: Inoheiwa on June 11, 2016, 04:28:58 pm
So, I have found tutorials on how to make scrolling preset manes, and all of them use the same code.
I tried using this code, and the scrolling was white instead of the image desired.

It's this one:
Code: [Select]
material preset_7_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_7mane.png
scroll_anim 1.0 1.0
}
}
}
}

Can anyone tell me how to put my image in there instead of leaving it as white?
Title: Re: Scrolling preset mane?
Post by: Ruby1234 on June 11, 2016, 04:32:29 pm
Make sure to change preset_7mane.png to your actual file's name, and make sure the file exported is indeed a .png.
Title: Re: Scrolling preset mane?
Post by: Inoheiwa on June 11, 2016, 04:33:51 pm
I have the folder open.
File name: preset_7mane.png, 512x512 dimensions. ^^'
Title: Re: Scrolling preset mane?
Post by: Hakumi on June 11, 2016, 04:52:19 pm
Where's your scrolling texture floof ^^;
You're missing a texture for the scrolling itself.
I have a code but I'm on my phone c:
Give me a moment and I'll give you the code that I have for one of my presets. c;
Title: Re: Scrolling preset mane?
Post by: Inoheiwa on June 11, 2016, 04:57:18 pm
The scroll file's name is simply red.jpg, if that's what you mean. But I was initially using a different code, which caused the spike planes to appear solid.
Title: Re: Scrolling preset mane?
Post by: Hakumi on June 11, 2016, 05:00:01 pm
Code: [Select]
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture RainbowScroll.png
    scroll_anim 0.0 0.1
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_5mane.png
   }
  }
 }
}

Try this code floof. Change the file name so it matches with yours & Make sure that the scrolling is a .png c:
You won't see any 'spikes' with this one. Good Luck & Hope this helps ^^
Title: Re: Scrolling preset mane?
Post by: Inoheiwa on June 11, 2016, 05:07:23 pm
*light cough*
It didn't bring up the material or the scrolling. Just a marshmallow.
Title: Re: Scrolling preset mane?
Post by: Hakumi on June 11, 2016, 05:10:18 pm
Did you put that coding UNDERNEATH the mane part of the preset?
Here's a fresh batch just in case.

Code: [Select]
material preset_5_maneMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture RainbowScroll.png
    scroll_anim 0.0 0.1
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_5mane.png
   }
  }
 }
}
Title: Re: Scrolling preset mane?
Post by: Inoheiwa on June 11, 2016, 05:30:20 pm
I replaced it... Is that what I did wrong? Because if it is, there's still something wrong here...
http://imgur.com/wyJRQqQ (http://imgur.com/wyJRQqQ)
It's still coming up with the blocked spikes.
Title: Re: Scrolling preset mane?
Post by: Hakumi on June 11, 2016, 05:35:47 pm
I believe there really isn't anything you could do when it comes to the spikes themselves for the scrolling.
I'm guessing it varies on the type of mane as well the model(?)
I could be wrong of course but that's all I've come up with so far because my mane on my canine had the same thing I believe.
Title: Re: Scrolling preset mane?
Post by: greenart6 on June 11, 2016, 05:41:27 pm
If you want to get rid of that blocky mane, you'll just have to make a few things transparent. Found this in one of my older posts:

Also, make sure there is actually transparency in the mane file. It should look like this (just a random example from one of my presets):

(http://i57BannedImageSite/25hza6f.jpg)

There shouldn't be anything in the transparent part of the mane, or otherwise it will be blocky.

Hope this helps!

There should be a file named fmaneMask.png in the folder Feralheart>Media>Textures>Masks. The part at the bottom should be transparent in your own mane texture, like the example I have above. c:
Title: Re: Scrolling preset mane?
Post by: CrazyCatLady on June 11, 2016, 05:46:52 pm
Since the textures are moving on the mane's model you're going to get that blocky look. Usually the mane's texture is stationary and it has transparent areas that make the spikes. But if you add transparency to the moving texture then you'll just have a hole in your mane that moves.

Edit: See below, I completely forgot about that LOL
Title: Re: Scrolling preset mane?
Post by: Inoheiwa on June 11, 2016, 05:49:30 pm
Ah. I actually read somewhere that there was a way to cancel out the squared-spikes, but didn't remember to try that. Did that just now, and it worked even worse.
I'll use your code, Hakumi. Thank you very much for helping, all of you. ^.^
Title: Re: Scrolling preset mane?
Post by: Ruby1234 on June 11, 2016, 05:49:51 pm
Getting rid of the blocks:
http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=56218.0 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=56218.0)

Using Haku's post along with mine (in the linked thread) produces optimal results.
Title: Re: Scrolling preset mane?
Post by: razmirz on June 11, 2016, 06:11:17 pm