collapse

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

D2TD VS Showcase Thread by D2TD
[May 12, 2024, 10:20:11 AM]


Classic VS : Athena by ELECTRO
[May 10, 2024, 02:44:09 PM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 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 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal