YesNoOk
avatar

adding sprites (Read 546 times)

Started by amplafied015, January 25, 2008, 07:47:36 pm
Share this topic:
adding sprites
#1  January 25, 2008, 07:47:36 pm
  • avatar
  • **
i took some animation sprites off another character and put it on another one, but when i use the explod code it doesn't show up, and i know im doing the code right because it works on every other animation but the new one i've added. is there a certain way you have to do this ? o_O
Re: adding sprites
#2  January 25, 2008, 07:53:54 pm
  • **
No, it should appear if you are indeed using proper explod coding.
Check it over again, to make sure that you have the right anim no, trigger, pos, ...etc.
Also, double check that you are putting the explod coding in the right place.
Re: adding sprites
#3  January 25, 2008, 08:16:25 pm
  • avatar
  • **
i usually put it in the state -2, i took master geese's aura animation and put it into strider hiryu. I noticed though, that in geese's cns that the aura coding is in state -3 as helpers, i don't have any experience making helpers, but i figured since the aura is always running you had to put it in state -2? right? but either way i can't seem to get the animation to show up at all.
Re: adding sprites
#4  January 25, 2008, 08:25:18 pm
  • **
Yeah you'd have to put it into state -2.
Post your code.
Re: adding sprites
#5  January 26, 2008, 12:29:49 am
  • avatar
  • **
type = explod
trigger1 = time = 0
trigger1 = numexplod = 0
id = 8000
anim = 8001
binttime = -1 ; bind to player indefinitely
removetime = -1; never remove
ignorehitpause = 1
persistant = 0; trigger only once in state 0
ontop = -1

the animatio group number is 8000 and the action that should begin is 8001

http://youtube.com/watch?v=PKkmOMqDeyk

Re: adding sprites
#6  January 26, 2008, 03:13:18 pm
  • **
you dont have the [state 8000, Explod] but I guess thats just a copy paste error.
your bindtime is spelled incorrectly  :P
as for the triggers I would set them up differently:

triggerall = numexplod(8000) != 1
trigger1 = time = 0

So that you are strictly referring to that explod.

See if that works.