[New to the forum if in wrong spot plz notify]
Pretty basic code and actually a simple trick to it...
Spoiler, click to toggle visibilty
[StateDef 808]
type = S
movetype= A
physics = S
juggle = 1
velset = 0,0
ctrl = 0
anim = 808
poweradd = 20
sprpriority = 2
[State 808, 1]
type = HitDef
trigger1 = AnimElem = 1
attr = S, NA
damage = 0
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 10
ground.hittime = 20
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
[State 808, NotHitBy]
type = NotHitBy
trigger1 = AnimElem = 1
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
;value2 = S,NA
time = 15
;ignorehitpause =
;persistent =
[State 808, PalFXWiz]
type = PalFX
trigger1 = AnimElem = 1
time = 15
add = 46,46,46
mul = 256,256,256
sinadd = 0,0,0,1
invertall = 0
color = 256
;ignorehitpause = 0
;persistent = 1
[State 808, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S206,2
volume = 50
channel = -1
;lowpriority = -1
freqmul = 1.0
loop = 0
pan = 0
;abspan =
;ignorehitpause =
;persistent =
[State 808, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
Step 1. All you have to do now is create a Animation 808 and have your character
in a guard stance then instead of adding blue collision boxes add red.
Step 2. Also change the PlaySND to your own preference.
Step 3. PalFXWiz can be changed however you like, I added it because I like the
glow in it
Step 4. Change Hitsparks to you own preference.
If you need help learning how to code it into a move, PM me otherwise enjoy!