Author Topic: What is this script? [SOLVED]  (Read 779 times)

GeekyScout

  • Guest
What is this script? [SOLVED]
« 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?
« Last Edit: January 14, 2019, 09:40:50 pm by GeekyScout »

GeekyScout

  • Guest
Re: What is this script?
« Reply #1 on: January 12, 2019, 03:11:30 pm »

After I found the script but then is show up a white.

Offline Valar.Morghulis

  • “Sometimes before we can usher in the new, the old must be put to rest.“
  • Community Champion
  • ****
  • Posts: 1,741
  • Country: 00
  • Floof-O-Meter: 115
  • The many-faced God.
    • View Profile
Re: What is this script?
« Reply #2 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

https://linktr.ee/Obsxura
Profile by Cittrus-fruit | Signature by Mistrel-Fox

Offline Notorious.

  • Cinnamon Roll
  • Pack & Pride Representative
  • ****
  • Posts: 1,328
  • Country: us
  • Floof-O-Meter: 56
  • Noto for short
    • View Profile
Re: What is this script?
« Reply #3 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:
Avatar made by WHIT3FANG on dA

GeekyScout

  • Guest
Re: What is this script?
« Reply #4 on: January 12, 2019, 04:44:08 pm »

I want to make a animation-

Offline Notorious.

  • Cinnamon Roll
  • Pack & Pride Representative
  • ****
  • Posts: 1,328
  • Country: us
  • Floof-O-Meter: 56
  • Noto for short
    • View Profile
Re: What is this script?
« Reply #5 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!
Avatar made by WHIT3FANG on dA

Lucius

  • Guest
Re: What is this script?
« Reply #6 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.

GeekyScout

  • Guest
Re: What is this script?
« Reply #7 on: January 12, 2019, 06:36:57 pm »
Doesnt work. It's show black and yellow to me.

GeekyScout

  • Guest
Re: What is this script?
« Reply #8 on: January 14, 2019, 09:39:30 pm »
I got it work!