collapse

Author Topic: help once again  (Read 355 times)

0 Members and 1 Guest are viewing this topic.

Offline 2dgameplay

  • Forum Member
  • ***
  • Posts: 230
  • Last Login:December 14, 2009, 01:42:35 PM
  • mugen creater n training
    • Email
help once again
« on: January 02, 2008, 04:51:23 PM »
this is my command
;---------------------------------------------------------------------------
; Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; Stand Medium Punch
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

this is my cns
[Statedef 200]
type    = S            ;State-type: S-stand, C-crouch, A-air, L-liedown
movetype= A            ;Move-type: A-attack, I-idle, H-gethit
physics = S            ;Physics: S-stand, C-crouch, A-air
juggle  = 1            ;Number of air juggle points move takes
;Commonly-used controllers:
velset = 0,0         ;Set velocity (x,y) (Def: no change)
ctrl = 0            ;Set ctrl (Def: no change)
anim = 200            ;Change animation (Def: no change)
poweradd = 20         ;Power to add (Def: 0)
sprpriority = 2         ;Set layering priority to 2 (in front)

[State 200, 1]
type = HitDef
trigger1 = Time = 0
attr = S, NA         ;Attribute: Standing, Normal Attack
damage = 23, 0         ;Damage that move inflicts, guard damage
animtype = Light         ;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 = 0            ;Spark anim no (Def: set above)
sparkxy = -10, -76      ;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 200, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;---------------------------------------------------------------------------
; Standing Medium Punch
; CNS difficulty: easy
[StateDef 210]
type = S
movetype= A
physics = S
juggle  = 4
velset = 0,0
ctrl = 0
anim = 210
poweradd = 65

[State 210, 1]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NA
damage = 33,8
animtype = Medium
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 210, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

the promble that it keep swingin after the 1st punch



Offline 2dgameplay

  • Forum Member
  • ***
  • Posts: 230
  • Last Login:December 14, 2009, 01:42:35 PM
  • mugen creater n training
    • Email
Re: help once again
« Reply #1 on: January 02, 2008, 06:26:36 PM »
this is my command
;---------------------------------------------------------------------------
; Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; Stand Medium Punch
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

this is my cns
[Statedef 200]
type    = S            ;State-type: S-stand, C-crouch, A-air, L-liedown
movetype= A            ;Move-type: A-attack, I-idle, H-gethit
physics = S            ;Physics: S-stand, C-crouch, A-air
juggle  = 1            ;Number of air juggle points move takes
;Commonly-used controllers:
velset = 0,0         ;Set velocity (x,y) (Def: no change)
ctrl = 0            ;Set ctrl (Def: no change)
anim = 200            ;Change animation (Def: no change)
poweradd = 20         ;Power to add (Def: 0)
sprpriority = 2         ;Set layering priority to 2 (in front)

[State 200, 1]
type = HitDef
trigger1 = Time = 0
attr = S, NA         ;Attribute: Standing, Normal Attack
damage = 23, 0         ;Damage that move inflicts, guard damage
animtype = Light         ;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 = 0            ;Spark anim no (Def: set above)
sparkxy = -10, -76      ;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 200, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;---------------------------------------------------------------------------
; Standing Medium Punch
; CNS difficulty: easy
[StateDef 210]
type = S
movetype= A
physics = S
juggle  = 4
velset = 0,0
ctrl = 0
anim = 210
poweradd = 65

[State 210, 1]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NA
damage = 33,8
animtype = Medium
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 210, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

the promble that it keep swingin after the 1st punch
omfg i had no 0 state lol

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

* IMT Calendar

April 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
[28] 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal