mugen chars, rare characters
Mugen | CHAT | Two Hitsparks Into One - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Two Hitsparks Into One
BabricogurlDate: Sunday, 2011-05-22, 4:22 AM | Message # 1
Hero
Group: contributor
Messages: 429
Awards: 3
Reputation: 7
Reproofs: 0%
Status: Offline

This is a simple coding process for making two hitsparks into one nice looking one.
(copy and paste into cns file).

First make sure your hitdef sparkno equals -1 (made note beside it)

[State 200, 1]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NA
damage = 23, 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 8, 8
sparkno = s-1 ;Make sure that this is set to s-1
sparkxy = -10, -10
hitsound = 1, 8
guardsound = 1, 8
ground.type = High
ground.slidetime = 5
ground.hittime = 10
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
;Y-velocity at which opponent is pushed
air.hittime = 12

Heres where you can copy and paste into your cns.(made notes beside whats really important).

:Hitspark one
[State 106, Explod]
type = Explod
trigger1 = movehit = 1
trigger1 = target,time=0
anim = **** : Your Animation/Hitspark
pos = -5,-43 : Y/X Axis Of Animation/Hitspark
postype = p2
scale = 0.4,0.4 : How Big Your Animation/Hitspark Is
sprpriority = 7 : Negative For Behind Player Or Positive For in Front
ontop = 1
ignorehitpause=1

:Hitspark two
[State 106, Explod]
type = Explod
trigger1 = movehit = 1
trigger1 = target,time=0
anim = **** : Your Animation/Hitspark
pos = -5,-43 : Y/X Axis Of Animation/Hitspark
postype = p2
scale = 0.4,0.4 : How Big Your Animation/Hitspark Is
sprpriority = 7 : Negative For Behind Player Or Positive For in Front
ontop = 1
ignorehitpause=1

Heres my end result hitsparks:

Added (2011-05-22, 4:22 Am)
---------------------------------------------


http://www.youtube.com/user/TheBabricogurl
 
sgn_15Date: Sunday, 2011-05-22, 6:28 AM | Message # 2
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
actually you can still use the one inside hitdef. but of course you cant resize it or use other functions of explod to that hitspark in hitdef

 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024 Create a free website with uCoz