Feral Heart

Help & Guidance => Game Help => Topic started by: GeekyScout on January 12, 2019, 02:45:27 pm

Title: What is this script? [SOLVED]
Post by: GeekyScout on January 12, 2019, 02:45:27 pm
Im just wondering. What's a script that you wait for few second then change the image on preset?
Title: Re: What is this script?
Post by: GeekyScout on January 12, 2019, 03:11:30 pm
(https://i.imgur.com/JIRluo1.png)
After I found the script but then is show up a white.
Title: Re: What is this script?
Post by: Valar.Morghulis on January 12, 2019, 03:25:17 pm
It looks like the head code isn’t matching. Can you share the code for the head? In the .material file, if you want the other side of the head to look the same, the code needs to match. So make sure everything fits
Title: Re: What is this script?
Post by: Notorious. on January 12, 2019, 04:32:47 pm
Hiya there fren

If you want to make an asymmetrical head, you need to export your preset .jpg or .png file as "preset_#headR" or "preset_#headL". It really depends on what side of the head you're using. In your materials file, the head code should look something like this:

Code: [Select]
material preset_#_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_#headR.jpg
}
}
}
}

Change the "#" to the preset number you're using for that character. If you're not using the right side of its head, you can simply change the R's to a L. I hope this helps and if you need further assist with your problem, feel free to PM me about it anytime! c:
Title: Re: What is this script?
Post by: GeekyScout on January 12, 2019, 04:44:08 pm
(https://i.imgur.com/s1cjEv4.png)
I want to make a animation-
Title: Re: What is this script?
Post by: Notorious. on January 12, 2019, 05:34:04 pm
Think I found the issue! For your animation code, you have:

 anim_texture preset1Heada.png  preset1Headb.png preset1Headc.png preset1Headb.png, right?

Well, assuming it's going in alphabetical order, it's supposed to be this:

anim_texture preset1Heada.png  preset1Headb.png preset1Headc.png preset1Headd.png

The changes that need to be made is in bright red. Change your "b" to a "d" in the fourth section of the script. After trying this, tell me if it worked or not!
Title: Re: What is this script?
Post by: Lucius on January 12, 2019, 05:40:17 pm
You have an extra closing brace (}) at the end of your material preset_1_headMatR section.

You only have 4 opening braces ({), so you should only have 4 closing ones (}) as well. Remove the last closing brace from that section and see if it works.
Title: Re: What is this script?
Post by: GeekyScout on January 12, 2019, 06:36:57 pm
Doesnt work. It's show black and yellow to me.
Title: Re: What is this script?
Post by: GeekyScout on January 14, 2019, 09:39:30 pm
I got it work!