collapse

Author Topic: Guard Push Problem  (Read 573 times)

0 Members and 1 Guest are viewing this topic.

Offline Retire4ever!!!

  • Initiate
  • **
  • Posts: 127
  • Last Login:June 09, 2010, 11:06:45 PM
Guard Push Problem
« on: August 11, 2008, 03:14:21 AM »
Hi, I was experimenting some coding, as I need some help for the advance/guad push coding, after I have perform the advanced guard command, my character keep staying in his guard stance without moving, I do not know what is wrong when I compare to other marvel style characters like redhot's work since my character is based on redhot (don't worry redhot, I am just experimenting some mugen coding as I do not want to released the character, hope you don't get mad :P):

Here is my character coding when he perform the advanced guard:

air file: 120 is my character standing guard frame
Code: [Select]
;Guard Push Stand
[Begin Action 1111]
Clsn2: 2
 Clsn2[0] = -22,-102, -4,-83
 Clsn2[1] = -23,-88, 20,  0
120, 0, 0, 0, -1

cns:
Code: [Select]
;Guard Push (Stand)
[Statedef 6300]
type    = S
movetype= I
physics = N
poweradd= 0
velset = 0,0
ctrl = 0
anim = 1111
sprpriority = 2

[State 6300, a1]
type = VelMul
trigger1 = 1
x = 0.75

[State 6300, a2]
type = VelSet
trigger1 = Time = 10
x = 0

[State 6300, a3]
type = Width
trigger1 = 1
value = 10,0

[State 6300, a4]
type = NotHitBy
trigger1 = Time = 0
value = SCA
time = 25

[State 6300, a5]
type = Helper
trigger1 = Time = 0
helpertype = Normal
name = "GuardPush"
postype = P1
pos = -50,0
stateno = 6350
ownpal = 1
size.height = 200
size.ground.back = 30
size.ground.front = 30

[State 6300, a6]
type = Explod
trigger1 = Time = 0
anim = 3333
postype = p1
pos = 53,-50
ownpal = 1
vel = 2,0
ignorehitpause = 1
sprpriority = 7

[State 6300, a7]
type = PlaySnd
trigger1 = Time = 0
value = 54,3
volume = 255
channel = 1

[State 6300, a8]
type = PlaySnd
trigger1 = Time = 0
value = 1,0
channel = 0

[State 6300, a9]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1



Offline Scar

  • Dragonslayer
  • Infinity Administrator
  • *
  • Posts: 2803
  • Country: United States us
  • Last Login:July 29, 2016, 10:49:53 AM
  • Cobra Mugen Team
Re: Guard Push Problem
« Reply #1 on: August 11, 2008, 05:46:04 AM »
remove the - of the air animation
!!Unite, Mobilize, Destroy!!

Offline Retire4ever!!!

  • Initiate
  • **
  • Posts: 127
  • Last Login:June 09, 2010, 11:06:45 PM
Re: Guard Push Problem
« Reply #2 on: August 11, 2008, 08:00:13 AM »
now it works, thanks  :thumbsup:

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

thunderstrike eric masterson by wacky thaxie
[Today at 06:09:19 PM]


Classic VS : Balrog by ELECTRO
[September 25, 2024, 11:44:58 PM]


Justice League Seattle Stage by Vegaz by LightFlare
[September 23, 2024, 12:14:06 PM]


Ancient Gears Stage 1.1 & 1.0 by MatreroG
[September 20, 2024, 11:59:18 AM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]

* IMT Calendar

September 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