collapse

Author Topic: How to make a character exlode into pieces ?  (Read 319 times)

0 Members and 1 Guest are viewing this topic.

Offline mulambo

  • Contributor
  • ****
  • Posts: 345
  • Country: Italy it
  • Last Login:July 01, 2023, 08:06:41 PM
  • Godsent Devil
    • Website
How to make a character exlode into pieces ?
« on: December 17, 2017, 10:51:07 AM »
Well, I've made an animation in fightfx.sff / air of a messy blood-and-pieces explosion, that I want to use each time a character dies if the opponent hits him with a hyper or super move.
I tried my best with AssertSpecial = invisible, and other stuff under [State -3], but they don't seem to work (sometimes the character re-appears on screen, sometimes he blows up even if he's not touched, sometimes the player blows up correctly the KO roundstate appears but the opponent stands there waiting for the You Win roundstate).
Further info, this is the lame code I was trying with no results:

Code: [Select]
[State -3, AssertSpecial]
type = AssertSpecial
trigger1 = life = 0
trigger1 = stateno = [5000,6000]
trigger2 = stateno = [5000,6000]
trigger3 = stateno = [5000,6000]
trigger1 = p2stateno = [700,710] ; the ultra move of the opponent
trigger2 = p2stateno = [420,421] ; some hypers
trigger2 = life = 0
trigger3 = life = 0
trigger3 = p2stateno = 530  ;another hyper
flag = invisible
ignorehitpause =  1
persistent = 1
[State -3,Explod]
type = Explod
trigger1 = p2stateno = [700,710]
trigger1 = stateno = [5000,6000]
trigger2 = stateno = [5000,6000]
trigger3 = stateno = [5000,6000]
trigger2 = p2stateno = [420,421]
trigger2 = life = 0
trigger3 = life = 0
trigger3 = p2stateno = 530 
trigger1 = life = 0
;trigger1 = life = 0
anim = F150
removetime = 42
postype = p1
pos = 0,-90
sprpriority = 4
bindtime=0
persistent = 0
[State -3, AssertSpecial]
type = PosAdd
trigger1 = p2stateno = [700,710]
trigger1 = stateno = [5000,6000]
trigger2 = stateno = [5000,6000]
trigger3 = stateno = [5000,6000]
trigger2 = p2stateno = [420,421]
trigger2 = life = 0
trigger3 = life = 0
trigger3 = p2stateno = 530
trigger1 = life = 0
y=9999
ignorehitpause =  1
persistent = 1



 


* 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

Neon Light Force Demo by O Ilusionista
[May 06, 2024, 11:54:23 AM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Classic VS : Athena by ELECTRO
[May 02, 2024, 09:44:33 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]


Get permabanned! VoteKick gets fighters banned in MUGEN! (April Fools 2024) by GTFoxN6Y
[April 01, 2024, 05:25:31 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