Skamp, ага)Добавлено (20.03.2012, 14:07)
---------------------------------------------
Помогите с кодом огня???
;---------------------------------------------------------------------------
[Statedef 760]
type = S ;State-type: S-stand, C-crouch, A-air, L-liedown
movetype = I ;Move-type: A-attack, I-idle, H-gethit
physics = S ;Physics: S-stand, C-crouch, A-air
juggle = 1 ;Number of air juggle points move takes
velset = 0,0 ;Set velocity (x,y) (Def: no change)
ctrl = 0 ;Set ctrl (Def: no change)
anim = 760 ;Change animation (Def: no change)
poweradd = -10 ;Power to add (Def: 0)il facem stiu ma
sprpriority = 2
[State 0, Helper]
type = Helper
trigger1 = animelem = 1
helpertype = normal
name = "Katon"
ID = 761
stateno = 761
pos = 20,-43
postype = p1 ;p2,front,back,left,right
facing = 1
keyctrl = 1
ownpal = 0
[State 0, PowerAdd]
type = PowerAdd
trigger1 = command != "hold_c"
value = -10
[State 0, ChangeState]
type = ChangeState
trigger1 = command != "hold_c"
trigger2 = power = 0
value = 0
ctrl = 1
;---------------------------------------------------------------------------
[Statedef 761]
type = S ;State-type: S-stand, C-crouch, A-air, L-liedown
movetype = I ;Move-type: A-attack, I-idle, H-gethit
physics = S ;Physics: S-stand, C-crouch, A-air
juggle = 1 ;Number of air juggle points move takes
velset = 0,0 ;Set velocity (x,y) (Def: no change)
ctrl = 0 ;Set ctrl (Def: no change)
anim = 761 ;Change animation (Def: no change)
poweradd = -10 ;Power to add (Def: 0)il facem stiu ma
sprpriority = 2
[State 0, HitDef]
type = HitDef
trigger1 = time > 0
attr = S,NA ;SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT si stai sa punem o chestie
hitflag = MAF ;HLAFD+-
guardflag = MA ;B,E,F
animtype = light ;light,medium,hard,back,up,diagup
air.animtype = light
damage = 1,1
sparkno = S2004
guard.sparkno = S2004
sparkxy = 0,0
hitsound = S1,0
guardsound = S2,0
ground.type = High
ground.velocity = 0,0
air.velocity = 0,0
sprpriority = 5
p1getp2facing = 0
fall = 0
fall.yvelocity = -4.5
fall.recover = 1
fall.recovertime = 4
fall.damage = 0
down.bounce = 0
hitonce = 1
kill = 1
guard.kill = 1
fall.kill = 1
numhits = 1
palfx.time = 20
palfx.mul = 255,255,255
palfx.add = 200,75,0
palfx.sinadd = 150,100,50,5
[State 0, PowerAdd]
type = PowerAdd
trigger1 = command != "hold_c"
value = -10
;ignorehitpause =
;persistent =
[State 0, ChangeState]
type = ChangeState
trigger1 = parent,command != "hold_c"
value = 762
;---------------------------------------------------------------------------
[Statedef 762]
type = S ;State-type: S-stand, C-crouch, A-air, L-liedown
movetype = I ;Move-type: A-attack, I-idle, H-gethit
physics = S ;Physics: S-stand, C-crouch, A-air
juggle = 1 ;Number of air juggle points move takes
velset = 0,0 ;Set velocity (x,y) (Def: no change)
ctrl = 0 ;Set ctrl (Def: no change)
anim = 762 ;Change animation (Def: no change)
poweradd = -10 ;Power to add (Def: 0)il facem stiu ma
sprpriority = 2
[State 0, DestroySelf]
type = DestroySelf
trigger1 = animtime = 0