News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

How to create a command normal attack (overhead)

Started by DaXt3R, March 15, 2018, 03:32:17 PM

Previous topic - Next topic

DaXt3R

Can anyone tell me what state controllers to use in the overhead attack state? I have the animation done and this is what my -1 state looks like so far

[Command]
name = "overhead"
command = F, b
time = 3

[State -1, Overhead]
type = ChangeState
value=700
triggerall = command = "overhead"
trigger1 = ctrl = 1

[Statedef 700]
type    = S
movetype= A
physics = A
juggle  = 4
poweradd= 30
ctrl = 0
anim = 700
sprpriority = 1

So the problem is there's something wrong with the command or state -1 because when I change the command to be a single button or something fairly easy to press the state plays out just fine. But because I want this attack to come out while I'm pressing or holding F, and the "b" button, what happens is i just get a normal "b" attack. No matter what I do I mash "F, b" I press them at the same time, it just doesn't come out. So does anyone know the code for a Street Fighter-style overhead. I downloaded some Street Fighter characters but I can't understand anything 

NotAGoodName

In the -1 changestate, change your command to something like triggerall = (command = "holdfwd") && (command = "b") where holdfwd is a valid defined command for holding forward.  Also, it has to come before your regular b button attack in your CMD file.

Sheng Long


"You must defeat my flaming
dragon punch to stand a chance."

DaXt3R

Thank you so much NotAGoodName it woked :) sorry for posting here Sheng I'll keep development questions in the development section from now on

Jecht Marchrius

Hello, try using this code for cross-referencing. Its what I'm using on my WIP char

[Command]
name = "fwd_b"
command = /F,b
time = 1

;Fwd Medium Kick***
[State -1, Fwd Medium Kick***]
type = ChangeState
value = 310
triggerall = command = "fwd_b"
trigger1 = statetype = S
trigger1 = ctrl

; Fwd Medium Kick***
[Statedef 310]
type = S
movetype = A
physics = S
ctrl = 0
anim = 310

*** = name of command move I'm using, you can change it to "overhead"
hope this helps