
ACLARATION:
This is only for aesthetic and is difficult to implement, requires especific coding for your chars. Do it only if you really want the Vega's claw and mask during your custom animations.
This is only for custom states with custom animations; custom states with standard animations should work without problems.
Midnight Bliss, Shocked, etc., could work too if standard animations numbers are used (check the Vega's animations file).
COMPATIBLITY METHOD EXPLANATION:
Vega have 126 animations with 1 frame and -1 time, 63 for claw and 63 for mask, coresponding to 63 required sprites from mugen.
The animation number starts with 1 for the claw and 2 for the mask, continues with the group number and ends with the index number from that required sprite (ends with double zero if index is 0).
For example:
; Mask (25001,0)
[Begin Action 2500100]
25001,0, 0,0, -1
; Claw (15001,10)
[Begin Action 1500110]
15001,10, 0,0, -1
To make your character compatible with Vega, you must create two explods in the P2's custom states, corresponding to the claw and the mask, for each frame of that custom animation.
If in your animation there is some frame flipped or with a position different to "0,0", you must replicate it with the explod parameters.
If your attack uses AngleDraw or other sctrl to modify the size, angle or transparency of the animation, you must replicate it too with the ModifyExplod sctrl.
Remember remove the explods at the end of the custom state, with the "removetime" parameter or RemoveExplod sctrl.
For example, if you have a basic custom state, with a basic custom animation with 1 frame (5000,10) and 5 ticks
; P2 Basic Custom Animation
[Begin Action 1234]
5000,10, 0,0, 5
You must have a coding like this in the P2 state of your char
;--- Compatibility with Vega by Fausto Mugen ---
[State 1234, Vega Claw]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41) ;Claw on/off var. On = 1, Off = 0.
trigger1 = AnimElem = 1
anim = 1500010
bindtime = -1
removetime = 5 ;Corresponding to 5 ticks from that frame.
sprpriority = 1 ;If P2 spritepriority is 0. This makes the claw appears over Vega.
[State 1234, Vega Mask]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51) ;Mask on/off var. On = 1, Off = 0.
trigger1 = AnimElem = 1
anim = 2500010
bindtime = -1
removetime = 5 ;corresponding to 5 ticks from that frame.
sprpriority = 1 ;If P2 spritepriority is 0. This makes the mask appears over Vega.
;--- Compatibility with Vega by Fausto Mugen ---
Other example: to make the Kung Fu Man's throw compatible with Vega, try this codes.
Copy this code in the state 820 of Kung Fu Man.
Spoiler, click to toggle visibilty
;--- Compatibility with Vega by Fausto Mugen ---
[State 820, Vega Claw (AnimElem = 1)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 1
anim = 1500000
bindtime = -1
removetime = 2
sprpriority = 1
[State 820, Vega Mask (AnimElem = 1)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51)
trigger1 = AnimElem = 1
anim = 2500000
bindtime = -1
removetime = 2
sprpriority = 1
[State 820, Vega Claw (AnimElem = 2 and 5)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 2
trigger2 = AnimElem = 5
anim = 1501000
bindtime = -1
removetime = 3
sprpriority = 1
[State 820, Vega Mask (AnimElem = 2 and 5)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51)
trigger1 = AnimElem = 2
trigger2 = AnimElem = 5
anim = 2501000
bindtime = -1
removetime = 3
sprpriority = 1
[State 820, Vega Claw (AnimElem = 3 and 4)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 3
anim = 1501010
bindtime = -1
removetime = 15
sprpriority = 1
[State 820, Vega Mask (AnimElem = 3 and 4)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51)
trigger1 = AnimElem = 3
anim = 2501010
bindtime = -1
removetime = 15
sprpriority = 1
[State 820, Vega Claw (AnimElem = 6 and 7)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 6
trigger2 = AnimElem = 7
anim = Cond((AnimElem = 6), 1506100, 1507100)
bindtime = -1
removetime = 4
sprpriority = 1
[State 820, Vega Mask (AnimElem = 6 and 7)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51)
trigger1 = AnimElem = 6
trigger2 = AnimElem = 7
anim = Cond((AnimElem = 6), 2506100, 2507100)
bindtime = -1
removetime = 4
sprpriority = 1
[State 820, Vega Claw (AnimElem = 8 and 9)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 8
trigger2 = AnimElem = 9
anim = Cond((AnimElem = 8), 1507110, 1507120)
bindtime = -1
removetime = 3
sprpriority = 1
[State 820, Vega Mask (AnimElem = 8 and 9)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen" triggerall = var(51)
trigger1 = AnimElem = 8
trigger2 = AnimElem = 9
anim = Cond((AnimElem = 8), 2507110, 2507120)
bindtime = -1
removetime = 3
sprpriority = 1
[State 820, Vega Claw (AnimElem = 10)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 10
anim = 1503100
facing = -1
vfacing = -1
bindtime = -1
removetime = 3
sprpriority = 1
[State 820, Vega Mask (AnimElem = 10)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51)
trigger1 = AnimElem = 10
anim = 2503100
facing = -1
vfacing = -1
bindtime = -1
removetime = 3
sprpriority = 1
;--- Compatibility with Vega by Fausto Mugen ---
Copy this code in the state 821 of Kung Fu Man.
Spoiler, click to toggle visibilty
;--- Compatibility with Vega by Fausto Mugen ---
[State 821, Vega Claw (AnimElem = 11)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 11
anim = 1501100
pos = 0, -40
facing = -1
vfacing = -1
bindtime = -1
removetime = 5
sprpriority = 1
[State 821, Vega Mask (AnimElem = 11)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51)
trigger1 = AnimElem = 11
anim = 2501100
pos = 0, -40
facing = -1
vfacing = -1
bindtime = -1
removetime = 5
sprpriority = 1
[State 821, Vega Claw (AnimElem = 12 and 13)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(41)
trigger1 = AnimElem = 12
trigger2 = AnimElem = 13
anim = Cond((AnimElem = 12), 1503040, 1503030)
bindtime = -1
removetime = Cond((AnimElem = 12), 5, -1)
sprpriority = 1
[State 821, Vega Mask (AnimElem = 12 and 13)]
type = Explod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = var(51)
trigger1 = AnimElem = 12
trigger2 = AnimElem = 13
anim = Cond((AnimElem = 12), 2503040, 2503030)
bindtime = -1
removetime = Cond((AnimElem = 12), 5, -1)
sprpriority = 1
[State 821, Vega RemoveExplod]
type = RemoveExplod
triggerall = Name = "Vega" && AuthorName = "Fausto Mugen"
triggerall = Vel Y > 0
trigger1 = alive
trigger1 = CanRecover
trigger1 = Command = "recovery"
trigger2 = Pos Y >= 0
;--- Compatibility with Vega by Fausto Mugen ---