Pagina 1 di 1
problema intro
#1
Inviato 05 February 2008 - 00:14
ho cambiato animazione all'intro ma nn riesco a regolare il tempo della nuova animazione (dura troppo poco 1 sec + o meno) :unsure:
#2
Inviato 05 February 2008 - 00:22
demongorne, su Feb 5 2008, 00:14, detto:
ho cambiato animazione all'intro ma nn riesco a regolare il tempo della nuova animazione (dura troppo poco 1 sec + o meno) :unsure:
facile,basta che cambi il tempo che ogni frame sta sullo schermo.dovresti avere una cosa come questa:
0,0, 0,0, 10 i primi 2 nr sono il gruppo e il nr l'ultimo ่ il tempo che il frame sta sullo schermo
#3
Inviato 05 February 2008 - 12:28
ci ho giเ provato ma nn funziona(quando aumento il tempo ritorna all'intro originale)
#5
Inviato 05 February 2008 - 13:43
ecco cosa ho cambiato
[Statedef 190]
type = S
ctrl = 0
anim = 190
velset = 0,0
[State 190, 1]
type = ChangeState
trigger1 = Time = 0
value = 191
;---------------------------------------------------------------------------
;Cgiสํj
[Statedef 191]
type = S
ctrl = 0
anim = 190
velset = 0,0
[State 0, PlaySnd]
type = PlaySnd
trigger1 = Animelem = 7
value = 190,0
channel = -1
[State -2, Envshake]
type = Envshake
trigger1 = AnimElem = 1
time = 30
freq = 50
ampl = 10
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
[State 0, ChangeAnim]
type = ChangeAnim
trigger1 = Roundstate = 0
value = 190
elem = 1
;ignorehitpause =
;persistent =
[State 190, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
;---------------------------------------------------------------------------
;Cgiฮ Ej
[Statedef 192]
type = S
physics = N
ctrl = 0
anim = 191
velset = 0,0
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
flag2 = noBG
[State 52, Effect]
type = PlaySnd
trigger1 = AnimElem = 4
value = 40, 0
channel = 20
[State 3001, VarSet]
type = VarSet
trigger1 = AnimElem = 1
var(6) = ceil(Pos X)
[State 901,1]
type = posset
trigger1 = AnimElem = 1
x = 20*ifelse(teamside=1,-1,1)
[State 105, 1]
type = VelSet
trigger1 = AnimElem = 4
x = -abs(Pos X - var(6))*.025
y = -9.7
[State 105, 1]
type = VelAdd
trigger1 = AnimElemTime(4) > 0
y = .5
[State 1100, StateType]
type = StateTypeSet
trigger1 = AnimElem = 4
StateType = A
physics = N
[State 1201, screenbound]
type = screenbound
trigger1 = 1
value = 1
movecamera = 0,0
[State 190, 4]
type = ChangeState
trigger1 = Pos Y >= 0 && Vel Y > 0
value = 193
;---------------------------------------------------------------------------
;Cgiฮ Ej2
[Statedef 193]
type = S
ctrl = 0
anim = 47
velset = 0,0
[State 220, Position]
type = PosSet
trigger1 = time = 0
y = 0
[State 181, 2]
type = PlaySnd
trigger1 = time = 0
value = 52, 0
[State 1000, Spark]
type = Explod
trigger1 = Time = 5
Anim = 8030
pos = 0, 0
postype = p1
ownpal = 1
sprpriority = -3
pausemovetime = -1
supermovetime = -1
scale = .5,.5
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
[State 170, 1]
type = NotHitBy
trigger1 = 1
value = SCA
[State 190, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
;---------------------------------------------------------------------------
;Cgiฮj
[Statedef 194]
type = S
ctrl = 0
anim = 192
velset = 0,0
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
[State 190, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ma l'intro dura sempre troppo poco (nn riesco a regolare il tempo) :mellow:
[Statedef 190]
type = S
ctrl = 0
anim = 190
velset = 0,0
[State 190, 1]
type = ChangeState
trigger1 = Time = 0
value = 191
;---------------------------------------------------------------------------
;Cgiสํj
[Statedef 191]
type = S
ctrl = 0
anim = 190
velset = 0,0
[State 0, PlaySnd]
type = PlaySnd
trigger1 = Animelem = 7
value = 190,0
channel = -1
[State -2, Envshake]
type = Envshake
trigger1 = AnimElem = 1
time = 30
freq = 50
ampl = 10
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
[State 0, ChangeAnim]
type = ChangeAnim
trigger1 = Roundstate = 0
value = 190
elem = 1
;ignorehitpause =
;persistent =
[State 190, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
;---------------------------------------------------------------------------
;Cgiฮ Ej
[Statedef 192]
type = S
physics = N
ctrl = 0
anim = 191
velset = 0,0
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
flag2 = noBG
[State 52, Effect]
type = PlaySnd
trigger1 = AnimElem = 4
value = 40, 0
channel = 20
[State 3001, VarSet]
type = VarSet
trigger1 = AnimElem = 1
var(6) = ceil(Pos X)
[State 901,1]
type = posset
trigger1 = AnimElem = 1
x = 20*ifelse(teamside=1,-1,1)
[State 105, 1]
type = VelSet
trigger1 = AnimElem = 4
x = -abs(Pos X - var(6))*.025
y = -9.7
[State 105, 1]
type = VelAdd
trigger1 = AnimElemTime(4) > 0
y = .5
[State 1100, StateType]
type = StateTypeSet
trigger1 = AnimElem = 4
StateType = A
physics = N
[State 1201, screenbound]
type = screenbound
trigger1 = 1
value = 1
movecamera = 0,0
[State 190, 4]
type = ChangeState
trigger1 = Pos Y >= 0 && Vel Y > 0
value = 193
;---------------------------------------------------------------------------
;Cgiฮ Ej2
[Statedef 193]
type = S
ctrl = 0
anim = 47
velset = 0,0
[State 220, Position]
type = PosSet
trigger1 = time = 0
y = 0
[State 181, 2]
type = PlaySnd
trigger1 = time = 0
value = 52, 0
[State 1000, Spark]
type = Explod
trigger1 = Time = 5
Anim = 8030
pos = 0, 0
postype = p1
ownpal = 1
sprpriority = -3
pausemovetime = -1
supermovetime = -1
scale = .5,.5
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
[State 170, 1]
type = NotHitBy
trigger1 = 1
value = SCA
[State 190, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
;---------------------------------------------------------------------------
;Cgiฮj
[Statedef 194]
type = S
ctrl = 0
anim = 192
velset = 0,0
[State 190, 2]
type = AssertSpecial
trigger1 = 1
flag = Intro
[State 190, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ma l'intro dura sempre troppo poco (nn riesco a regolare il tempo) :mellow:
#6
Inviato 05 February 2008 - 13:44
Ma non capisco.. Perch่ non te la riprogrammi invece di editarla? Te lo dissi gia tempo fa..
#8
Inviato 05 February 2008 - 16:58
Non ่ vero per niente. Quando editi il codice di un altro non sempre riesci a maneggiarlo perfettamente. E poi uno il codice se lo crea per le proprie esigenze, almeno io la penso cos์.
#10
Inviato 05 February 2008 - 17:48
Ho cancellato gli state da 190 a 194 riprogrammando solo il 190 e il 191 e inserendovi il parametro changeanim ma nn riesco a risolvere il problema infatti la nuova animazione compare solo x un istante e nn riesco ad aumentargli il time
#11
Inviato 05 February 2008 - 19:47
Ma.. il Changeanim serve per cambiare un animazione in corso con un altra.. Cmq non capisco il problema.
#12
Inviato 05 February 2008 - 21:05
Sono riuscito a risolvere il problema della durata dell'intro per๒ c'่un'altro problema :adesso ho l'intro con le palette di mr.karate arancione e quando finisce l'intro ritorna del colore selezionato. :unsure:
Problema risolto :birra:
Problema risolto :birra:
Condividi questa discussione:
Pagina 1 di 1

Aiuto










