DEVIL TRIGGER LIKE EFFECT, super state

Started by germanvasquez, January 16, 2018, 12:29:40 AM

Previous topic - Next topic

germanvasquez

I want to make a custom power up state

I need ideas to code two things

1: Special red glowing effect to the character

2: How to set a timer for the power state to turn off


thanks in advance
Jesus loves you

XGargoyle

1. PalFX, AfterImage or Helper with AngleDraw are some of your options.

2. Use variables or an explod/helper with a defined removal time


XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!

Odb718

You'll also want something like this
trigger1 = power >= 3000
in the changestate.
vVv Gouken718 vVv SabreTooth718 vVv


germanvasquez

Quote from: XGargoyle on January 16, 2018, 10:03:38 AM
1. PalFX, AfterImage or Helper with AngleDraw are some of your options.

2. Use variables or an explod/helper with a defined removal time

I ve never used a var to set a removal time,

How can I code it in mugen?
Jesus loves you

altoiddealer

Let's say you change to state 1234 to power up.

You don't necessarily need to use a Var.


So in State 1234:

[State 1234, power up Effect]
type = Explod
trigger1 = Time = 0
removetime = -1
anim = 1234 ;your super awesome charge effect
id = 1234 ;set an ID so you can remove it

[State 1234, power up]
type = PowerAdd
trigger1 = 1
value = 1

[State 1234, Remove power up Effect]
type = RemoveExplod
trigger1 = command != "POWERUP" ;Whatever the button combination is that you are holding
trigger2 = power = 3000 ;whatever the max power level is
id = 1234 ;remove the effect

[State 1234, Stop powering up, go back to Stand]
type = ChangeState
trigger1 = command != "POWERUP" ;Whatever the button combination is that you are holding
trigger2 = power = 3000 ;whatever the max power level is
Value = 0
ctrl = 1



Then somewhere in State 2, in case P2 hits you out of charge up state:

[State 1234, Remove power up Effect]
type = RemoveExplod
trigger1 = StateNo != 1234
id = 1234 ;remove the effect