CREAR COSMO EN CÓDIGO

View previous topic View next topic Go down

CREAR COSMO EN CÓDIGO

Post by Master-Shion on Sun Feb 08, 2015 12:51 pm

PRIMERO HAY QUE CREAR UNA ANIMACIÒN EN EL AIR LE COLOCAMOS EL NÚMERO DE ANIMACIÓN EN ESTE CASO anim = 730000

ESTO VA EN EL CMD
;Carica Cosmo / Cosmo Charge
[Command]
name = "cosmo"
command = /c
time = 1

[Command]
name = "holdcosmo"
command = /z
time = 1

ESTO VA EN EL CNS
; ricarica
[Statedef 730000]
type = S
movetype = I
physics = S
anim = 730000
velset = 0
ctrl = 0

[State 730000, Var]
type = VarSet
triggerall = var(59) = 1
trigger1 = Time = 0
v = 10
value = 1

[State 730000]
type = ChangeState
trigger1 = AnimTime= 0
value = 730001

; Charge
[Statedef 730001]
type = S
movetype = I
physics = S
anim = 735000

[State 900, voce]
type = PlaySnd
trigger1 = Time = 10
value = 55, 7

[State 730001, POLVERE]
type = Explod
trigger1 = AnimElem = 1
pos = 0,5
anim = 51
sprpriority = 1
scale= 0.8,0.8
ownpal = 1
removeongethit = 1
ID = 51

[State 730001, POLVERE]
type = Explod
trigger1 = AnimElem = 1
pos = 0,5
anim = 52
sprpriority = 0
ownpal = 1
removeongethit = 1
ID = 52

[State 730001, Cosmo]
type = Explod
triggerall = NumExplod(8046) = 0
trigger1 = 1
pos = 0,2
anim = 8046
sprpriority = -1
ownpal = 1
removeongethit = 1
ID = 8046
removetime = 30

[State 730001, Andromeda]
type = Explod
trigger1 = NumExplod(7006) = 0
postype = p1
pos = -35,-185
anim = 7006
ID = 7006
scale = 0.8,0.8
sprpriority = 1
bindtime = -1
removeongethit = 1

[State 24000,p ]
type = PowerAdd
trigger1 = (time > 5) && (timemod = 1,0)
value = 18


[state 700, 3]
type = changestate
triggerall = time >= 1
triggerall = Var(59) = 0
trigger1 = command != "cosmo"
trigger2 = command != "holdcosmo"
trigger3 = power >= 3000
value = 730002
ctrl = 1

[state 730001, End]
type = ChangeState
triggerall = time >= 1
triggerall = Var(59) = 1
trigger1 = random <= 1
trigger2 = p2movetype = A && random <= 100
trigger3 = p2bodydist X <= 100
value = 730002
ctrl = 1

[State 730001]
type = ChangeState
trigger1 = Power >= 3000
value = 730002

[State 730001]
type = ChangeState
trigger1 = AnimTime= 0
value = 730001

; Charge (Fim)
[Statedef 730002]
type = S
movetype = I
physics = S
anim = 740000

[State 730002, removeEX]
type = RemoveExplod
triggerall = NumExplod(51) >= 1
trigger1 = AnimElem = 1
ID = 51

[State 730002, removeEX]
type = RemoveExplod
triggerall = NumExplod(52) >= 1
trigger1 = AnimElem = 1
ID = 52

[State 730002, removeEX]
type = RemoveExplod
triggerall = NumExplod(8046) >= 1
trigger1 = AnimElem = 1
ID = 8046

[State 730002, removeEX]
type = RemoveExplod
triggerall = NumExplod(7006) >= 1
trigger1 = AnimElem = 1
ID = 7006

[State 730002, Var]
type = VarSet
trigger1 = Time = 0
v = 10
value = 0

[State 9200, 1]
type = EnvShake
triggerall = Power >= 3000
trigger1 = Time = 1
time = 15
persistent = 0
ignorehitpause = 1

[State 730002, Brilla]
type = PalFX
triggerAll = Power >= 3000
trigger1 = Time = 1
time = 15
add = 0,0,0
sinadd = 200,200,200,3

[State 730002]
type = PlaySnd
triggerAll = Power >= 3000
trigger1 = Time = 1
value = 20,6

[State 730002]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
;-------------------------

LA PARTE AMARILLA SE PUEDE MODIFICAR PARA CARGAR MAS RÁPIDO OMAS LENTO EL COSMO O LA ENERGÍA.

__________________________________________________
Diviértete y da en el portal del foro Very Happy.

avatar
Master-Shion
Admin
Admin

Country : MÉXICO

Zodiaco : Aries
Mensajes/ Messages : 827
Fecha de inscripción/Registration date : 2015-01-25

http://saintseiyamugen2d.foroactivo.mx

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum