Jump to content
  • 0

power charge aura help? (Video)


ultrafatality18

Question

First off i'd like to thank ryon for all the help. i fixed the charge problem by changing the animation. i think it looks pretty good. but now the aura wont show. i thought it was because the code was helper. but i changed it to varset and still nothing. then explod and nothing.. can someone help me out?

 

http://www.youtube.com/watch?v=YNxfSOefRPU&feature=youtu.be

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

I'm guessing you have something like this:

 

[state 10000, Power Charge]

type = explod

trigger1 = !time

helperType = Normal

stateNo = 10002

ID = 10002

name = "Power Charge"

posType = P1

pos = 0,0

pauseMoveTime = 65535

superMoveTime = 65535

 

Weeeelll....... That should work fine for a helper (if it is properly coded of course) however, explods have some different options. what you are looking for here is  this one:

 

Removetime =

 

which controls after how long your  explod will dissapear after the animation is over. If the time set in this parameter is longer than the animation itself it will loop. Since you skipped this line it gets the magical value of -2 which means that the explod will disappear as soon as the animation is over. If I'm not mistaken, what you want is to keep the explod in there until the player changes to another state so I'd recommend using another magical value: -1 which will cause the explod to stay there indefinitely. Of course that means that it will stay in there even after you stop using said move but that is no problem at all. Just use a removeexplod code like this:

 

You must call this one BEFORE the changestate

[state 10000, RemoveExplod]
type = RemoveExplod
trigger1 = (same as your change state)
id = 10002 (that is the ID you are using)

 

Or, in your statedef -2

 

[state 10000, RemoveExplod]
type = RemoveExplod
trigger1 = stateno != (your charge state)
id = 10002 (that is the ID you are using)

 

and that should make it work (or I'm just too dsitracted to think straight)

 

Also, this lines are extra in your explod code:

 

helperType = Normal

stateNo = 10002

name = "Power Charge"

 

Aaaaanddd, that's all, maybe, hope it helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...