The Mugen Fighters Guild

Help => M.U.G.E.N Configuration Help => Topic started by: Charles_2011 on June 29, 2022, 04:37:54 am

Title: Add Aura effect
Post by: Charles_2011 on June 29, 2022, 04:37:54 am
Hello.

How can I add an effect like this:

https://www.youtube.com/watch?v=ncIwzXNfBCg&list=WL&index=69

Could you help me please? Is there a tutorial?
Title: Re: Add Aura effect
Post by: testament on July 04, 2022, 06:03:14 am
i'm not sure, but ...
create the aura fire animation ( anim = 16123 for example
and insert it in a state like -2 or command list,
type = Explod
trigger = gametime 2% or 3%
postype P1
and randomise position and velocity

Code:
[code][State 0, Explod]
type = Explod
;triggerall = palno = [7,12];  <=====If you want a some palette
trigger1 = gametime%2 = 0 && gethitvar(isbound) = 0
anim = 16123
pos = -4,-80 +40*(statetype = C) -10*(statetype = A) +75*(statetype = L||stateno = 5150)*(numexplod(3777) = 0)
postype = p1
facing = 1-2*(random%2)
vfacing = 1-2*(random%2)
bindtime = 3
vel = 0.2*(random%6-random%6),-1.4
accel = 0,0.01
random = 6+80*(statetype = L||stateno = 5150)*(numexplod(3777) = 0), 60-20*(statetype = C)-50*(statetype = L||stateno = 5150)*(numexplod(3777) = 0)
removetime = -2
scale = 1,1 ; <=====OR scale = ifElse(Random < 500, 0.5, -0.5), ifElse(Random < 500, 0.5, -0.5)
sprpriority = 3-4*(random%3=0)+3*(statetype = L|| stateno = 5150)
ownpal = 1
removeongethit = 0
; trans = sub  ;<=== if you want  a subtration animation, purple or black aura in this case, in the char in the video he is using two explods, one with trans and one without
ignorehitpause = 1

Title: Re: Add Aura effect
Post by: Charles_2011 on July 04, 2022, 07:56:07 am
Hello.

Thank you so much, Testament, It work perfectly, here:

https://streamable.com/mb6p0o