How to create a command normal attack (overhead) (Read 86497 times)

Started by DaXt3R, March 15, 2018, 03:32:17 pm
Share this topic:
How to create a command normal attack (overhead)
#1  March 15, 2018, 03:32:17 pm
  • avatar
    • Bulgaria
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

name = "overhead"
command = F, b
time = 3

[State -1, Overhead]
type = ChangeState
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 
Re: How to create a command normal attack (overhead)
#2  March 15, 2018, 03:50:00 pm
  • avatar
  • *
    • USA
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.
Re: How to create a command normal attack (overhead)
#3  March 15, 2018, 11:15:38 pm
  • ******
  • Video Game Veteran
  • Can you do it? SUREYOUCAN!
    • USA

"You must defeat my flaming
dragon punch to stand a chance."
Re: How to create a command normal attack (overhead)
#4  March 16, 2018, 06:58:58 pm
  • avatar
    • Bulgaria
Thank you so much NotAGoodName it woked :) sorry for posting here Sheng I'll keep development questions in the development section from now on
Re: How to create a command normal attack (overhead)
#5  March 19, 2018, 03:52:44 am
  • avatar
    • Philippines
Hello, try using this code for cross-referencing. Its what I'm using on my WIP char

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