YesNoOk
avatar

Power Charge Command Error (Read 978 times)

Started by astermasterix, July 14, 2018, 01:21:01 am
Share this topic:
Power Charge Command Error
#1  July 14, 2018, 01:21:01 am
  • avatar
    • Argentina
I'm modifying Master Gouken's Akuma so he can Power Charge, and he's programmed to charge everytime C and Z are pressed together and held down, but it reacts everytime I press and hold down C or Z, regardless of if they're pressed together or not. Here's the command code:
[Command]
name = "powercharge"
command = /c+z

Any help would be appreciated.
Re: Power Charge Command Error
#2  July 14, 2018, 09:15:29 am
  • *****
  • Shame on you!
    • USA

[Command]
name = "pc1"
command = /z
time = 1

[Command]
name = "pc2"
command = /c
time = 1


triggerall = command = "pc1" && command = "pc2"
vVv Ryuko718 Updated 10/31/22 vVv
Re: Power Charge Command Error
#3  July 14, 2018, 10:24:16 am
  • **
  • Sr. Símio Enfermo
    • Brazil
    • www.facebook.com/people/Manson-Rees/100027897993934

[Command]
name = "pc1"
command = /z
time = 1

[Command]
name = "pc2"
command = /c
time = 1


triggerall = command = "pc1" && command = "pc2"

And to stop power charging:

[Statedef XXXX] ; Power Charge State
(...)

[State XXXX, ChangeState]
type = ChangeState
trigger1 =command != "pc1" || command != "pc2"
value = 0
Re: Power Charge Command Error
#4  July 14, 2018, 10:32:26 am
  • *****
  • Shame on you!
    • USA
You can also add checks to the changestate to see if you've reached maximum power.
You may want to make a second state so when you let go of the buttons you still have some open time. It makes it a little more fair to P2 trying to hit you.
vVv Ryuko718 Updated 10/31/22 vVv