YesNoOk
avatar

My char controls itself after the first round (Read 33966 times)

Started by GOLDEN_EMPEROR, April 25, 2018, 01:57:33 am
Share this topic:
My char controls itself after the first round
#1  April 25, 2018, 01:57:33 am
  • avatar
    • Mexico
I recently downloaded this char: FINAL GOENITZ, it's great by the way but I have a problem, when round 2 starts, my char starts controlling itself moving on its own and I completely loose control of it so it becomes CPU vs CPU I can't solve it this is the char download link: https://mega.nz/#!5opRiBRQ!EQDOYtPsv_2r4KYZaaMTeGDj7ZZgwN-Q5PZuMJIjvhM   I really hope someone can help me.
Last Edit: April 25, 2018, 02:37:19 am by Odb718
Re: My char controls itself after the first round
#2  April 25, 2018, 04:37:45 pm
  • *****
  • Shame on you!
    • USA
You need to look in the CMD file to see how the AI is being activated. Look for Vars at the top of each changestate and see if one is common. That will usually be the var that keeps track of AI. You'll need to see how that variable is being set. Then post that here.

Ctrl+1 will deactivate AI if you press it while P1 has control.
vVv Ryuko718 Updated 10/31/22 vVv
Re: My char controls itself after the first round
#3  April 25, 2018, 04:54:35 pm
  • avatar
    • Mexico
This is what I found but I'm not sure if it's what you meant:

;Desolating storm
[State -1, Desolating storm]
type = ChangeState
value = 12050
triggerall = command = "Desolating_storm"

;Hammer of Raijin
[State -1, Hammer of Raijin]
type = ChangeState
value = 2700
triggerall = command = "Hammer_of_Raijin"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 973
trigger2 = time = [90,230]
triggerall = var(50) = 0

;Storm_Mirror
[State -1, Storm_Mirror]
type = ChangeState
value = 12000
triggerall = command = "Storm_Mirror"
triggerall = power >= 2000
trigger1 = ctrl
triggerall = statetype != A
trigger2 = stateno = 201
trigger2 = movehit = 1
trigger3 = stateno = 211&& animelem = 4, <= 4
trigger3 = movehit = 1
trigger4 = stateno = 231
trigger4 = movehit = 1
trigger5 = stateno = 241
trigger5 = movehit = 1
trigger6 = stateno = 410
trigger6 = movehit = 1
trigger7 = stateno = 411
trigger7 = movehit = 1
Re: My char controls itself after the first round
#4  April 25, 2018, 05:36:26 pm
  • avatar
  • **
    • USA
There is a kinda obvious typo in the code.  Shame on someone.

Go to goenitz.cns and find this

Code:
[State OFF]
type = VarSet
trigger1 = roundstate>2
trigger2 = !alive
trigger3 = stateno = 5500
v = 59
value = 1
ignorehitpause = 1
persistent = 1

It should be value = 0, not 1.
Re: My char controls itself after the first round
#5  April 25, 2018, 06:50:36 pm
  • avatar
    • Mexico
There is a kinda obvious typo in the code.  Shame on someone.

Go to goenitz.cns and find this

Code:
[State OFF]
type = VarSet
trigger1 = roundstate>2
trigger2 = !alive
trigger3 = stateno = 5500
v = 59
value = 1
ignorehitpause = 1
persistent = 1

It should be value = 0, not 1.

Thank you very much this worked perfectly