Hello, im new and i'm trying to create a character
so, i want to do a slide punch with a coomand
first of all, i add the Statedef
Standing SLIDE PUNCH
; CNS difficulty: easy
[Statedef 2500]
type = S
movetype= A
physics = S
juggle = 4
poweradd= 65
ctrl = 0
velset = 0,0
anim = 2500
[State 2500, 1]
type = HitDef
trigger1 = Time = 0
attr = S, NA ;Attribute: Standing, Normal Attack
damage = 27, 0 ;Damage that move inflicts, guard damage
animtype = Medium ;Animation type: Light, Medium, Heavy, Back (def: Light)
guardflag = MA ;Flags on how move is to be guarded against
hitflag = MAF ;Flags of conditions that move can hit
priority = 3, Hit ;Attack priority: 0 (least) to 7 (most), 4 default
;Hit/Miss/Dodge type (Def: Hit)
pausetime = 8, 8 ;Time attacker pauses, time opponent shakes
sparkno = 1 ;Spark anim no (Def: set above)
sparkxy = -10, -105 ;X-offset for the "hit spark" rel. to p2,
;Y-offset for the spark rel. to p1
hitsound = 5, 0 ;Sound to play on hit
guardsound = 6, 0 ;Sound to play on guard
ground.type = High ;Type: High, Low, Trip (def: Normal)
ground.slidetime = 5 ;Time that the opponent slides back
ground.hittime = 12 ;Time opponent is in hit state
ground.velocity = -4 ;Velocity at which opponent is pushed
airguard.velocity = -1.9,-.8 ;Guard velocity in air (def: (air.xvel*1.5, air.yvel/2))
air.type = High ;Type: High, Low, Trip (def: same as ground.type)
air.velocity = -1.4,-3 ;X-velocity at which opponent is pushed,
;Y-velocity at which opponent is pushed
air.hittime = 12 ;Time before opponent regains control in air
[State 2500, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
And then, i go to the command and put this
In the command section
[Command]
name = "Slide Punch"
command = D, F, z
time = 10
State entry
;Slide Punch
[State -1, Crouching Strong Punch]
type = ChangeState
value = 2500
trigger1 = command = "Slide Punch"
trigger1 = statetype = S
trigger1 = ctrl
And i don't know what i am ding wrong, becouse the character doesn't make any animation/move
i just wan't to add a movement