Feral Heart

Help & Guidance => Game Help => Topic started by: damiian on August 31, 2014, 06:18:52 pm

Title: Another preset question
Post by: damiian on August 31, 2014, 06:18:52 pm
i do recall once seeing (i think it was genny's preset) with eyes which change colors (back and forth from two different colors)
i was wondering if there was a code or tutorial for it?
Title: Re: Another preset question
Post by: Kerriki on August 31, 2014, 07:47:38 pm
Do you mean two separate eye colors (eg. left eye is blue, right eye is red), or a scrolling (moving) eye?
Title: Re: Another preset question
Post by: forks on August 31, 2014, 07:54:20 pm
What Kiki said, OR
Do you mean animated eyes?
Title: Re: Another preset question
Post by: AlphaEclipse on August 31, 2014, 08:00:21 pm
I will give you my own script since I've heard the one already on the forums doesn't work most of the time. (I am not sure, however.)

I'm pretty sure she use the animation script, not the scrolling due to how it an whatnot. Here's the code I took from one of my presets.

Red = Important sections
Yellow = Speed. Change to what ever you'd like. For example, changing to 3.0 would be slowish (I think frames change every three seconds), however 10 would be slower.

You can add as many frames as you like. We need an animated code in FH since it does not recognize .GIF files. Here I have eight frames.
Quote
material preset_2_bodyMatL
{
    receive_shadows on
    technique
    {
        pass
        {
            texture_unit
            {
                anim_texture preset_2body1.png preset_2body2.png preset_2body3.png preset_2body4.png preset_2body5.png preset_2body6.png preset_2body7.png preset_2body8.png 70.9

            }
        }
    }
}
Title: Re: Another preset question
Post by: Aicosu125 on August 31, 2014, 08:48:46 pm
This could help: http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=26062.0 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=26062.0)

Though if you're talking about double sided, then I recommend this link: http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=43932.0 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=43932.0)