collapse

Author Topic: Regarding a problem with an explod sprite  (Read 377 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

Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[Today at 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[Today at 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]


D2TD VS Showcase Thread by D2TD
[May 31, 2024, 11:44:23 AM]


TMNT Hong Kong Stage for 1.0 & 1.1 Re-Release by LightFlare
[May 24, 2024, 01:44:07 PM]


Captain Commando Stage Pack by Vegaz by LightFlare
[May 24, 2024, 09:20:05 AM]


Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]

* IMT Calendar

June 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