collapse

Author Topic: Regarding a problem with an explod sprite  (Read 415 times)

0 Members and 1 Guest are viewing this topic.

Offline dimension_w

  • Initiate
  • **
  • Posts: 14
  • Last Login:May 17, 2008, 07:48:11 AM
  • Dimension W is coming to Mugen! Punishous WIP 50%
    • Email
Regarding a problem with an explod sprite
« on: November 29, 2007, 06:37:10 AM »
I have a new xplod problem. I have made a xplod called "Blocking Field" Basically its similar to Cammy's guarding effect where a shield of energy rotates around the player when he blocks an attack.
I've posted so many queries over the last few weeks and learnt so much about scripting, I didn't think another xplod could be a problem. Here's what I've done.
First off, Most constants regarding Guarding is already in Common1, so I've long since made sure my chars folder has a Common1 in it. And Then I searched for the appropriate State in Common1 that would need the explod animation and began to edit it in.
I want to add it to the various Stand/Crouch/Air "Hit Back While Guarding" States. Well I couldn't find anything by that name in Common1, but I managed to find "SGUARDHIT (shaking)" and so forth. SGUARDHIT (shaking) had the statedef 150, the same as the group number that many other chars have assigned to "Hit Back While Guarding". So I've assumed this is the write constant to add the xplod? Tell me if I'm wrong.
Here's what I've put in the Standing Block State for starters [State 150, Blocking Field]. Before I try Crouch and Air. At this point the xplod fails to show up. I've made sure that the Begin Action No is 120, same as the xplod state's "Anim =", What am I doing wrong?

Code: [Select]
; SGUARDHIT (shaking)
[Statedef 150]
type    = S
movetype= H
physics = N
velset = 0,0

[State 150, 1]
type = ChangeAnim
trigger1 = 1
value = 150

[State 150, Blocking Field]
type = Explod
trigger1 = time = 0
anim = 120
pos = 0,0
postype = p1

[State 150, 2]
type = ChangeState
trigger1 = HitShakeOver
value = 151 + 2*(command = "holddown")

[State 150, Hi to Lo]
type = StateTypeSet
trigger1 = statetype = S && command = "holddown"
statetype = C
physics = C

[State 150, Lo to Hi]
type = StateTypeSet
trigger1 = statetype = C && command != "holddown"
statetype = S
physics = S

[State 150, 3]
type = ForceFeedback
trigger1 = time = 0
waveform = square
time = 3
« Last Edit: November 29, 2007, 06:39:14 AM by dimension_w »



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

Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by ExShadow
[November 02, 2024, 04:54:41 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]


Rooftop Skyline(1.1 Only/AIGS) by Vegaz by LightFlare
[October 21, 2024, 12:13:37 PM]


Secluded Base(1.1 Only/AIGS) by Vegaz by LightFlare
[October 17, 2024, 01:21:06 PM]


Ultimate Balrog + stage by ELECTRO
[October 17, 2024, 05:40:31 AM]


Classic VS : Balrog by ELECTRO
[October 08, 2024, 04:35:53 PM]

* IMT Calendar

November 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