YesNoOk
avatar

Add Aura effect (Read 429 times)

Started by Charles_2011, June 29, 2022, 04:37:54 AM
Share this topic:
Add Aura effect
#1  June 29, 2022, 04:37:54 AM
  • ***
    • Peru

  • Online
Re: Add Aura effect
#2  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

Last Edit: July 04, 2022, 06:10:55 AM by testament
Re: Add Aura effect
#3  July 04, 2022, 07:56:07 AM
  • ***
    • Peru

  • Online