Goro Fatality problem

Started by odinus sinistro, September 02, 2018, 06:10:54 PM

Previous topic - Next topic

odinus sinistro



¿alguien x favor q pueda ayudarme?, utilize el code del fatality de sub zero q le arranca la columna y cabeza pero se me duplica.
anybody who can help me?...I use the sub-zero´s fatality code who rips heads and column, but scorpion is duplicated

Odb718

It seems like the same animation is being used twice. Edit one of the values for P2. If both change you have a bigger problem. If only the one changes, find the animation you need and use that value. Then change the second value to the animation you want for it.

Also, because you have two animations, make sure only 1 helper is being spawned if you're using helpers. Otherwise you might be seeing explods.
vVv Gouken718 vVv SabreTooth718 vVv


odinus sinistro

thanks for answering
I erasure some codes and it is now


this is the code



;=====================================ARRANCAR MIEMBROS

[Statedef 3000]

type = S

movetype= A

physics = S

juggle = 1

anim = 0

Velset = 0, 0

ctrl = 0




[State 430, 31sdaa]

type = changeanim

trigger1 = Time = 45

value = 660





[State 22, round hit]

type = EnvShake

trigger1 = animelem = 9

freq = 78

time = 10

ampl = 6



[State 810, Bind 7]

type = TargetBind

trigger1 = movehit

pos = 65, 0





[State 1200, BoltFat]

type = Hitdef

trigger1 = AnimElem = 5

velocity = 8, 0

attr = S, NT

animtype = Hard

air.animtype = Back

air.fall = 1

fall.recover = 0

guardflag = HL

pausetime = 0,0

p2stateno = 3001;6006;6614

guard.sparkno = -1

guardsound = s4,17

ground.type = High

kill = (Var(9) = 0)

fall.kill = (Var(9) = 0)

guard.kill = (Var(9) = 0)



[State 200, 7]

type = changestate;Selfstate

trigger1 = AnimTime = 0

trigger1 = anim = 660

value = 0

ctrl = 1


[Statedef 3001];6614

type = S

movetype= H

physics = S

ctrl = 0

velset = 0,0,0

anim = 8184



[State 181, 6]

type = Explod

trigger1 = time = 0

anim = 8183

pos = 0,0

postype = p2

facing = 1

sprpriority = 3

ownpal = 1



[State 9010, 0.1]

type = Sprpriority

trigger1 = time = 30

value >= 4



[State 9399, 2]

type = Selfstate

trigger1 = Animtime = 0

value = 6006



[State 9399, 3]

type = Lifeadd

trigger1 = Time = 30

Value = -9999



[State 5150, 8]

type = NotHitBy

trigger1 = 1

value = SCA

time = 1

ctrl = 1


scoprion animation is that



[Begin Action 8183]
Clsn2: 1
  Clsn2[0] = 80, -140, 139, 11
4200,0, 0,0, 5

Clsn2: 1
  Clsn2[0] = 50, -140, 77, -17
4200,1, 0,0, 5

Clsn2: 1
  Clsn2[0] = 2, -150, 37, -89
4200,2, 0,0, 5

Clsn2: 1
  Clsn2[0] = -18, -140, 15, -79
4200,3, 0,0, 15

Clsn2: 1
  Clsn2[0] = -17, -139, 20, -64
4200,4, 0,0, 5

Clsn2: 1
  Clsn2[0] = 13, -114, 53, -37
4200,5, 19,0, 5
Clsn2: 1
  Clsn2[0] = 5, -102, 45, -33
4200,6, 14,0, 4
Clsn2: 1
  Clsn2[0] = 16, -77, 57, -7
4200,7, 15,0, 4
Clsn2: 1
  Clsn2[0] = -18, -31, 62, -2
4200,8, 8,15, 4
Clsn2: 1
  Clsn2[0] = -19, -29, 64, 2
4200,9, 0,15, 4
Clsn2: 1
  Clsn2[0] = -33, -41, 71, -4
4200,10, 0,15, 4
Clsn2: 1
  Clsn2[0] = -29, -38, 70, 0
4200,11, 0,15, 4
Clsn2: 1
  Clsn2[0] = -29, -40, 65, -3
4200,12, 0,15, 4
Clsn2: 1
  Clsn2[0] = -19, -31, 70, -3
4200,13, 0,15, -1


goro animation

; goro arranca
[Begin Action 660]

Clsn2: 1

Clsn2[0] = -14, -122, 20, 0

1,2, 0,0, 5

1,4, 0,0, 5


4101,0, 0,0, 5

4101,1, 0,0, 5

Clsn1: 1

Clsn1[0] = 12, -136, 111, 1

4101,2, 0,0, 5

4101,3, 0,0, 15

4101,4, 0,0, 5

4101,5, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

4101,6, 1,-1, 5

Odb718

What you should do is slow the animations waaay down. You may want to add a 0 to all of the frames.
So all the frames that take 5 tics, take 50 tics. The frames that are 4 tics take 40 tics. Then you'll be able to see what frames are the problem.

BUT
If you pause your video around 1 second in, you'll see Goro grabs Scorpion and it looks normal. Then Goro moves to the second position and Scorpion is out of alignment. It looks like that frame Scorpion needs to be mirrored. Like Scorpion is looking left. But following the animation, Scorpion should be looking to the right.

Your timing is off for sure. Use Youtube's setting and set the speed to 0.25. You'll be able to see what parts are off.
I use Fighter Factory 3/Studio's Onion Skin feature to line up my throw animations. You should be able to use it too. Set Goro's sprite to be the gray image in the background and Scorpion's image in the Animations window. If you dont have them in Goro, import them under Sprite>Import from another project.
vVv Gouken718 vVv SabreTooth718 vVv


odinus sinistro

#4
fine, i´m gonna do what you wrote me...but, in the final frame, a beheaded body of scorpion appeared...how I solve that?

Odb718

It seems that you're using a blank animation for P2 and using explod animations. After the blank animation is over it switches to the headless sprite. So you need to either increase the length of the blank animation, or make it not switch to the headless animation.
Use debug, ctrl+d, to switch to P2. Do the fatality and take note on what animation is playing. When it changes to the last frame, look for that animation. See if the time is -1 or another number. If it's a positive number, you can increase it. BUT that may mess up another fatality.
In the states you want to look for the stateno P2 is in when it's dead.
The image changing may actually be P2 switching states. So see if it switches and look at what animation plays.
vVv Gouken718 vVv SabreTooth718 vVv


odinus sinistro

#6
THANKS YOU VERY MUCH

Before the scorpion´s beheaded body , the screen shows

SCORPION 57 (1) (IN GORO 56´S STATE RC)
ACTIONID: 8184; SPR: 8189,5; ELEMNO: 29/29; TIME: 172/173
STATE NO: 3001; CTRL: 0; TYPE: 1; MOVETYPE 2: TIME: 171


When the scorpion´s beheaded body appears , the screen shows


SCORPION 57 (1)
ACTIONID: 6611; SPR: 3,6; ELEMNO: 1/1; TIME: 2/-1
STATE NO: 5150; CTRL: 0; TYPE: 1; MOVETYPE 2: TIME: 1

Odb718

I'd look in Scorpion's State 5150. If it's using a common file, which it probably is, look in the common file.
But in state 5150 something is making it choose anim 6611. You'll probably want it to switch to a blank animation.
You may be able to use a changeanim with a trigger checking prestateno and see if was in state 3001 Check if the animation is 8184. If both things line up then you know Goro just ripped you apart and it needs to display a blank animation. Look through all the animations and see if you have one. Otherwise just make one up. Most people use 9999 for their blank animation.

Have you gotten the frames to line up properly?
vVv Gouken718 vVv SabreTooth718 vVv


odinus sinistro

#8
Hi, I got to line up the frames properly BUT I COULD´N T take off the scorpion beheaded...


would you be nice to check the code, PLEASE
Spoiler (click to show)

[Statedef 9000]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
anim = 9000
ctrl = 0

[State 9000, 5]
type = HitDef
trigger1 = p2life < 2
trigger1 = p2movetype != H
attr = A, HT
numhits = -1
guardflag = A
hitflag = LAMF
;priority  = 7,Hit
sparkno = -1
p2stateno = 9001;9010
damage = 99999,9999
kill = 0
ground.velocity = 0,50
air.velocity = 0,50
air.recovery = 0
recovery = 0

[State 9000, 5.5]
type = ParentVarset
trigger1 = time = 0
V = 13
value = 400

[State 9000, 6d]
type = TargetState
trigger1 = 1
value = 9001;9010

[State 9000, 6]
type = Destroyself
trigger1 = time >= 1
trigger2 = p2stateno = 9001;9010
trigger3 = roundstate = 3
trigger4 = roundstate = 4

;---------------------------------------------------------------------------
;Fatality time
[Statedef 9001]
type    = S
movetype= H
physics = S
velset = 0,0
ctrl = 0

;
[State 987123, 1]
type = SelfState
trigger1 = time = 1
value = 9010

;-----------------------

;Fatality time
[Statedef 9010]
type    = S
movetype= H
physics = S
velset = 0,0
ctrl = 0

;FINISH SOUND music
[State 2, 5.999]
type = Playsnd
trigger1 = time = 0
value = F5, 22
Channel = 1
persistent = 3
volume = 50



[State 9873, 1]
type = LifeSet
trigger1 = Animelem = 1
value = 1

[State 9873, 1]
type = PosSet
trigger1 = 1
Y = 0

[State 9873, 1324]
type = LifeSet
trigger1 = time = 1
value = 1


[State 9873, 13234]
type = NotHitBy
value = , AP
trigger1 = 1

[State 987123, 1]
type = LifeAdd
triggerall = Time = 350
trigger1 = p2stateno != [3000,3999]
value = -500

; After 600 ticks and with no fatality, p2 falls down
[State 987123, 1]
type = changestate;SelfState
triggerall = Time = 350
trigger1 = p2stateno != [3000,3999]
value = 5050
ctrl = 0

[State 9010, 0.1]
type = Changeanim
trigger1 = statetype != A
trigger1 = animexist(5300)
trigger1 = anim != 5300
value = 5300

[State 9010, 1]
type = Changeanim2
trigger1 = !animexist(5300)
trigger1 = anim != 9010
trigger1 = statetype != A
value = 9010

[State 9010, 034.1]
type = PosSet
trigger1 = p2stateno =[0,9999]
Y = 0

;-------------------------------------------------------------------------------


[Statedef 9011]
type    = S
movetype= H
physics = S
juggle  = -10
ctrl = 0
velset = 0,0,0

[State 987123, 1]
type = LifesET
trigger1 = 1
value = 4

; Dizzying animation
[State 987124, 2]
type = ChangeAnim
trigger1 = AnimExist(5300)
trigger1 = Anim != 5300
value = 5300

;-------------------------------------------------------------------------------
;Shows Mercy bastardo!
[Statedef 3997]
type    = S
movetype= I
physics = S
anim = 0
ctrl = 0

;sonido de shows mercy
[State 210, 1]
type = Playsnd
trigger1 = time = 60
value = 6,2
volume = 60

;cartel de mercy
[State 181, cartel]
type = Explod
trigger1 = time = 60
ID = 200
anim = F200
pos = 156,0
postype = left
bindtime = -1
facing = 1
sprpriority = 2
ontop = 1
ownpal = 1
removetime = -2

;explod invisible, para que no se pueda hacer 2 veces la mercy
[State 181, cartel]
type = Explod
trigger1 = time = 0
ID = 3800
anim = 888
removetime = -1

;manda a custom sin control
[State 430, 31sdaa]
type = helper
trigger1 = time = 0
stateno = 3998
postype = p1

;previene fallo si tenemos poca energia
[State 9130, SetFatal]
type = lifeset
trigger1 = life < 2
value = 2

;variables de finish
[State 9130, SetFatal]
type = Varset
trigger1 = time = 0
V = 3
value = 0

[State 9130, SetFatal]
type = Varset
trigger1 = time = 0
V = 13
value = 0

[State 9130, SetFatal]
type = Varset
trigger1 = time = 0
V = 9
value = 0

[State 9130, SetFatal]
type = Varset
trigger1 = time = 0
V = 19
value = 0

[State 9130, SetFatal]
type = Varset
trigger1 = time = 0
V = 4
value = 0
;fin de cosas lokas de finish

[State 8000, sadsd]
type = BGPalFX
trigger1 = numexplod(200)=1
time = 9999
add = 0, 0, 0

;cuando termina la anim de mercy vuelve a tener control
[State 430, 31sdaa]
type = changestate
trigger1 = time > 60
trigger1 = numexplod(200)=0
value = 0
ctrl = 1

;helper que golpea a pl2
[Statedef 3998]
type    = S
movetype= A
physics = S
anim = 9000
ctrl = 0

;manda a custom (si no fallaba)
[State 1200, BoltFat]
type = HitDef
trigger1 = time = 0
attr = S, NT
hitflag = MAFD
guardflag = A
damage = -60
sparkno = -1
p2stateno = 3999

[State 430, 31sdaa]
type = destroyself
trigger1 = movehit

;custom state
[Statedef 3999]
type    = S
movetype= H
physics = S
ctrl = 0

;vuelve a tener control
[State 430, 31sdaa]
type = selfstate
trigger1 = time = 138
value = 0
ctrl = 1

; -----------------

[Statedef 3500]
type    = S
movetype= A
physics = S
;anim = 0
ctrl = 0

;arregla el bug del tiempo
[State 9873, 1]
type = AssertSpecial
trigger1 = 1
flag = timerfreeze

[State 430, 31sdaa]
type = helper
trigger1 = time = 0
stateno = 3501
postype = p1

[State 430, 31sdaa]
type = changestate
trigger1 = Time = 0;60
value = 3503

[State 430, 31sdaa]
type = NotHitBy
trigger1 = 1
value = SCA

; Golpeamos al oponente y lo mandamos al custom state sin control...
[Statedef 3501]
type    = S
movetype= A
physics = S
anim = 9000
ctrl = 0

[State 1200, BoltFat]
type = HitDef
trigger1 = p2statetype = S
attr = S, NT
hitflag = MAFD
guardflag = A
sparkno = -1
p2stateno = 3502

[State 200, 7]
type = destroyself
trigger1 = movehit

; El oponente queda sin control, la variable se pone en valor "hara kiri" y espera a que muera el otro para festejar.
[Statedef 3502]
movetype= H
ctrl = 0

[State 9130, SetFatal]
type = Varset
trigger1 = time = 0
V = 4
value = 6

[State 3105, end]
type = changeanim
trigger1 = time = 0
value = 0

[State 430, 31sdaa]
type = selfstate
trigger1 = p2life <=0
value = 0
ctrl = 1

;--- Cosas de Fatales ---

;- Para fatal de jade, classic sub-zero... -
[Statedef 6001]
type    = S
movetype= I
physics = N
anim = 888

[State 3105, queda clavado]
type = Explod
trigger1 = time = 0
anim = 6001
pos = 0,0
postype = p1
sprpriority = 1
id = 6001

[State 3105, chau explod]
type = removeExplod
trigger1 = time = 41
id = 6001

[State 2, sangre y mas sangre]
type = explod
trigger1 = time = 0
trigger2 = time = 10
trigger3 = time = 20
trigger4 = time = 30
trigger5 = time = 40
pos = -4, -51
postype = p1
anim = F80; arreglar anim de sangre
ontop = 1

[State 200, grito]
type = playsnd
trigger1 = Time = 0
value = 4,1

[State 200, 7]
type = lifeadd
trigger1 = Time = 41
value = -9999

[State 200, 7]
type = selfstate
trigger1 = Time = 41
value = 5150

;--- Para Friendship --- (queda mareandose)

[Statedef 6002]
type    = S
movetype= I
physics = N
velset = 0, 0
ctrl = 0

[State 3100, asigna anim]
type = varset
trigger1 = time = 1
v = 45
value = 5300

[State 9399, 3]
type = Lifeadd
trigger1 = Time > 150
trigger1 = animtime = 0
Value = -9999

[State 9399, 2]
type = selfstate
trigger1 = time > 150
trigger1 = animtime = 0
value = 5150

;--- Para fatales de decapitación tipo la de cage ---

[Statedef 6003];661
type    = S
movetype= H
physics = S
ctrl = 0
velset = 0,0,0
anim = 661

[State 9399, 2]
type = varset
trigger1 = time = 0
v = 45
value = 6611

[State 1200, 2at]
type = Explod
trigger1 = time = 1
trigger1 = FrontEdgeDist > 130
anim = 662
pos = 0,0
postype = p1
facing = -1
ID = 662
sprpriority  >= 2

[State 1200, 2at]
type = Explod
trigger1 = time = 1
trigger1 = FrontEdgeDist < 131
anim = 662
pos = 0,0
postype = p1
facing = 1
ID = 662
sprpriority  >= 2

[State 1200, 2at]
type = Explod
trigger1 = time = 0
anim = F16
pos = 10,-118
postype = p1
sprpriority  >= 4

[State 1200, at]
type = Explod
trigger1 = time = 5
trigger2 = time = 12
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
anim = F1
pos = 0,-105
postype = p1
;facing = 1
sprpriority  >= 3

[State 1200, at]
type = Explod
trigger1 = time = 8
trigger2 = time = 14
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
anim = F1
pos = 0,-105
postype = p1
facing = -1
sprpriority  >= 3

[State 22, round hit]
type = EnvShake
trigger1 = time = 45
trigger2 = time = 55
freq = 48
time = 10
ampl = 4

[State 1200, ound]
type = PlaySnd
trigger1 = time = 44
trigger2 = time = 55
value = F5, 17
channel = 4

[State 1200, 45ound]
type = PlaySnd
trigger1 = time = 8
trigger2 = time = 14
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
value = F5, 19

[State 9010, 0.1]
type = Sprpriority
trigger1 = time = 50
value  >= 4

[State 9399, 2]
type = Selfstate
trigger1 = Animtime = 0
value = 5150

[State 9399, 3]
type = Lifeadd
trigger1 = Time = 30
Value = -9999

[State 5150, 8]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
ctrl = 1

; --- Para fatales de decapitación tipo martillazo de Shao Kahn ---

[Statedef 6004];6612
type    = S
movetype= H
physics = S
ctrl = 0
velset = 0,0,0
anim = 661

[State 9399, 2]
type = varset
trigger1 = time = 0
v = 45
value = 6611

[State 1200, 2at]
type = Explod
trigger1 = time = 0
anim = F16
pos = 10,-117
postype = p1
sprpriority  >= 4

[State 1200, at]
type = Explod
trigger1 = time = 5
trigger2 = time = 12
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
anim = F1
pos = 0,-105
postype = p1
sprpriority  >= 3

[State 1200, at]
type = Explod
trigger1 = time = 8
trigger2 = time = 14
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
anim = F1
pos = 0,-105
postype = p1
facing = -1
sprpriority  >= 3

[State 1200, 45ound]
type = PlaySnd
trigger1 = time = 8
trigger2 = time = 14
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
value = F5, 19

[State 9010, 0.1]
type = Sprpriority
trigger1 = time = 50
value  >= 4

[State 9399, 2]
type = Selfstate
trigger1 = Animtime = 0
value = 5150

[State 9399, 3]
type = Lifeadd
trigger1 = Time = 30
Value = -9999

[State 5150, 8]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
ctrl = 1

;--- Cabeza ?
[Statedef 6005];6613
type    = S
movetype= H
physics = S
ctrl = 0
velset = 0,0,0
anim = 661

[State 9399, 2]
type = varset
trigger1 = time = 0
v = 45
value = 6611

[State 1200, 2at]
type = Explod
trigger1 = time = 0
anim = F16
pos = 10,-118
postype = p1
sprpriority  >= 4

[State 1200, at]
type = Explod
trigger1 = time = 5
trigger2 = time = 12
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
anim = F1
pos = 0,-105
postype = p1
;facing = 1
sprpriority  >= 3

[State 1200, at]
type = Explod
trigger1 = time = 8
trigger2 = time = 14
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
anim = F1
pos = 0,-105
postype = p1
facing = -1
sprpriority  >= 3

[State 22, round hit]
type = EnvShake
trigger1 = time = 45
trigger2 = time = 55
freq = 48
time = 10
ampl = 4

[State 1200, ound]
type = PlaySnd
trigger1 = time = 44
trigger2 = time = 55
value = F5, 17
channel = 4

[State 1200, 45ound]
type = PlaySnd
trigger1 = time = 8
trigger2 = time = 14
trigger3 = time = 22
trigger4 = time = 28
trigger5 = time = 34
trigger6 = time = 40
trigger7 = time = 45
trigger8 = time = 50
trigger9 = time = 55
value = F5, 19

[State 9010, 0.1]
type = Sprpriority
trigger1 = time = 50
value  >= 4

[State 9399, 2]
type = Selfstate
trigger1 = Animtime = 0
value = 5150

[State 9399, 3]
type = Lifeadd
trigger1 = Time = 30
Value = -9999

[State 5150, 8]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
ctrl = 1

[State 1200, er2at]
type = Explod
trigger1 = time = 1
anim = 6612
ID = 6612
pos = 0,-115
postype = p1
sprpriority  = 4
removetime = 5

[State 1200, er2at]
type = Explod
trigger1 = time = 3
anim = 6612
ID = 6612
pos = 0,-117
postype = p1
sprpriority  = 5
scale = 1.5,1.5
removetime = 2

[State 1200, er2at]
type = Explod
trigger1 = time = 5
anim = 6612
ID = 6612
pos = 2,-119
postype = p1
sprpriority  = 5
scale = 2,2
removetime = 2

[State 1200, er2at]
type = Explod
trigger1 = time = 7
anim = 6612
ID = 6612
pos = 4,-121
postype = p1
sprpriority = 5
scale = 2.5,2.5
removetime = 2

[State 1200, er2at]
type = Explod
trigger1 = time = 9
anim = 6612
ID = 6612
pos = 6,-123
postype = p1
sprpriority  = 5
scale = 3,3
removetime = 3

[State 1200, er2at]
type = Explod
trigger1 = time = 12
anim = 6612
ID = 6612
pos = 8,-125
postype = p1
sprpriority  = 5
scale = 3.5,3.5
removetime = 6

[State 1200, er2at]
type = Explod
trigger1 = time = 15
anim = 6612
ID = 6612
pos = 10,-128
postype = p1
sprpriority  = 5
scale = 4,4
removetime = 3

[State 1200, er2at]
type = Explod
trigger1 = time = 18
anim = 6612
ID = 6612
pos = 12,-130
postype = p1
sprpriority  = 5
scale = 4.8,4.8
removetime = 50

[State 1200, er2at]
type = Explod
trigger1 = time = 68
anim = 6612
ID = 6612
Vel = 0,7
pos = 12,-130
postype = p1
sprpriority  = 5
scale = 4.8,4.8
removetime = 60

[State 1200, er2at]
type = Explod
trigger1 = time = 16
anim = F17
pos = 12,-150
postype = p1
sprpriority  = 5
;removetime = -1

[State 1200, er2at]
type = Explod
trigger1 = time = 16
anim = F17
pos = 12,-110
postype = p1
sprpriority  = 5
;removetime = -1

[State 1200, er2at]
type = Explod
trigger1 = time = 18
anim = F10
pos = 12,-150
postype = p1
ontop = 1
removetime = -1


[State 22, roundt]
type = EnvShake
trigger1 = time = 18
freq = 88
time = 10
ampl = 7

[State 22, rndt]
type = Playsnd
trigger1 = time = 18
value = F5,21
;volume = 100

[State 22, 245t]
type = Playsnd
trigger1 = time = 18
value = F5,31
volume = 100

;--- Para quedar decapitado en el suelo ---

[Statedef 6006];6614
type    = S
movetype= H
physics = S
ctrl = 0

[State 9399, 2]
type = varset
trigger1 = time = 0
v = 45
value = 6611

[State 9399, 2]
type = Selfstate
trigger1 = time = 0
value = 5150

; Invisible al final :P
[Statedef 6007]
type    = S
movetype= H
physics = S
ctrl = 0
velset = 0,0,0

[State 9399, 2]
type = varset
trigger1 = time = 0
v = 45
value = 888

[State 9399, 2]
type = Selfstate
trigger1 = time = 0
value = 5150


;*******************************************************************


[Statedef 3000000]
type = S
movetype= A
physics = S
juggle = 1
velset = 0,0
anim = 41000
ctrl = 0
[State 3000, 1]
type = PlaySnd
trigger1 = Time = 0
value = 0,0
[State SetFatality]
type = VarSet
trigger1 = !time
var(11) = 1
[State silence]
type = StopSnd
trigger1 = !time
channel = -1
[State Tun Tun Tun]
type = PlaySnd
trigger1 = !time
value = S10000,2
channel = 3
;Screen is dark(optional).
[State 3000, 2]
type = BGPalFX
trigger1 = Time >= 63
time = 99999
add = 0,0,0
mul = 0,0,0
;Stand comes back.
[State 3000, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
[State 3010, 1]
type = HitDef
trigger1 = AnimElem =12
trigger1 = P2StateType != A
attr = S, SA
damage = 99,99
animtype = Heavy
hitflag = MFA
guardflag = A
priority = 7
pausetime = 0,3
sparkxy = 0,0
sparkno = -1
gurad.sparkno = -1
hitsound = -1
guardsound = -1
ground.type = High
ground.slidetime = 0
ground.hittime = 0
ground.velocity = 0
air.velocity = 0
air.fall = 1
fall = 0
numhits = 0
p2stateno = 200010
[State 3010, 2]
type = Destroyself
trigger1 = AnimTime = 0
;-----------------------------------
;Custom do P2 durante Moonlight Death
[Statedef 200010]
type = A
movetype = H
physics = N
ctrl = 0
Anim = 200010
velset = 0,0
[State 200010,Corpo contado Direita ]
type = Explod
trigger1 = Time = 0
anim = 200010
ID = 200010
pos = 140,0
postype = p2
bindtime = -1
sprpriority = -600
ownpal = 1
removetime = -2
[State 200010,Corpo contado esquerda ]
type = Explod
trigger1 = Time = 0
anim = 200010
ID = 200010
pos = 140,0
postype = p2
bindtime = -1
sprpriority = 600
ownpal = 1
removetime = -2
[State 200010, Shake]
type = envshake
trigger1 = Time = 0
time = 20
ampl = -5
[State 50031, some]
type = PosSet
trigger1 = 1
y = 9999
[State 200010, 2]
type = LifeSet
trigger1 = time = 0
value = 0
[State 200010, 2]
type = SelfState
trigger1 = Time = 100
value = 5150
ctrl = 1

;==============================================================
================================================================
====================================ARRANCAR MIEMBROS

[Statedef 3000]

type = S

movetype= A

physics = S

juggle = 1

anim = 0

Velset = 0, 0

ctrl = 0




[State 430, 31sdaa]

type = changeanim

trigger1 = Time = 45

value = 660





[State 22, round hit]

type = EnvShake

trigger1 = animelem = 14

freq = 78

time = 10

ampl = 6



[State 810, Bind 7]

type = TargetBind

trigger1 = movehit

pos = 65, 0





[State 1200, BoltFat]

type = Hitdef

trigger1 = AnimElem = 5

velocity = 8, 0

attr = S, NT

animtype = Hard

air.animtype = Back

air.fall = 1

fall.recover = 0

guardflag = HL

pausetime = 0,0

p2stateno = 3001;6006;6614

guard.sparkno = -1

guardsound = s4,17

ground.type = High

kill = (Var(9) = 0)

fall.kill = (Var(9) = 0)

guard.kill = (Var(9) = 0)



[State 200, 7]

type = changestate;Selfstate

trigger1 = AnimTime = 0

trigger1 = anim = 660

value = 0

ctrl = 1


[Statedef 3001];6614

type = S

movetype= H

physics = S

ctrl = 0

velset = 0,0,0

anim = 8184







[State 181, 6]

type = Explod

trigger1 = time = 0

anim = 8183

pos = 0,0

postype = p2

facing = 1

sprpriority = 3

ownpal = 1



[State 9010, 0.1]

type = Sprpriority

trigger1 = time = 30

value >= 4



[State 9399, 2]

type = Selfstate

trigger1 = Animtime = 0

value = 6006



[State 9399, 3]

type = Lifeadd

trigger1 = Time = 30

Value = -9999



[State 5150, 8]

type = NotHitBy

trigger1 = 1

value = SCA

time = 1

ctrl = 1

Odb718

So it seems that
v = 45
value = 6611
Is probably setting what animation State 5150 is using at the end of the round. 

But in your state 3001, you can see it SelfStates to 6006.
Para quedar decapitado en el suelo
or
To be decapitated on the ground
Which is exactly what we see.
I personally wouldn't try to make an all new SelfState. Unless you're working with a full game and will edit ALL of your characters to have the new state.
Go through the states and animations you have and try to find a blank one so a 2nd body doesn't pop on screen.
Look in scorpion's State 5150 and look to see if it uses a variable to pick the animation. Look for a ChangeAnim with var(45) or something similar. You may be able to just set the var to become a blank animation and have it work.

One thing you need to add is the scream. The fatality is missing a lot without it! It's looking awesome!
vVv Gouken718 vVv SabreTooth718 vVv


odinus sinistro


man... I got it!!!!!!, thanks...so much for your help, you are the only one who help me to make my fatality succeded  :yuno:
i erased it



honesty I am a begginer about programing I just know to edit sprites and sound, but programing I suck, i have 10 years trying to understand mugen programing, i read all the document the entired 80 pages, I have watched videotutorials and NOTHING, but I was trying and trying until a Got it  :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
THANKS SO MUCH, IF YOU NEED SOMETHING I CAN HELP YOU IN MUGEN IF I CAN, I WOULD DO ANYTHING you ask me

i have a lot of fatalities i have created in video editing programs but i want to pass to mugen... i will be trying until to got it












adriano gt

odinus sinistro, I saw and followed all your effort
congratulations, man



Odb718

vVv Gouken718 vVv SabreTooth718 vVv


odinus sinistro