• Benvenuto in Making Videogames!
  • Dai sfogo alla tua fantasia!
  • Crea il tuo Videogioco!
Benvenuto ospite! Login Registrati




Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
aiuto script
#1
il difetto di questo script(jet pack) e che quando premo TAB per volare va tutto bene ..ma se lo lascio e lo ripremo mi teletrasporta nell'ultima posizione dove ho premuto TAB...[/quote]



desc = cosmic jetpack

;Triggers

Confusedtate=0:coloff,hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_0.dds,hudname=jetpackhud0,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_1.dds,hudname=jetpackhud1,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_2.dds,hudname=jetpackhud2,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_3.dds,hudname=jetpackhud3,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_4.dds,hudname=jetpackhud4,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_5.dds,hudname=jetpackhud5,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_6.dds,hudname=jetpackhud6,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_7.dds,hudname=jetpackhud7,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_8.dds,hudname=jetpackhud8,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_9.dds,hudname=jetpackhud9,hudhide=1,hudmake=display
Confusedtate=0:hudreset,hudx=90,hudy=25,hudimagefine=gamecore\huds\cosmic\jetpack_hud_10.dds,hudname=jetpackhud10,hudhide=1,hudmake=display

Confusedtate=0:localvar=1,setvar=100,state=1

Confusedtate=1,plrdistwithin=50Confusedtate=2,associateplayer,setalphafade=0,hudshow=jetpackhud0

;Confusedtate=2,plrusingaction=1:timerstart,state=3
Confusedtate=2,scancodekeypressed=42:etimerstart,state=3

Confusedtate=3:localvar=1,associateplayer
Confusedtate=3,plrhigher=20:moveup=4
Confusedtate=3,raycastup=70 100Confusedtate=4
Confusedtate=3:moveup=-2,rotatetoplr
Confusedtate=3:unassociateplayer,followplr
Confusedtate=3,etimergreater=200:etimerstart,decvar=1,state=7
Confusedtate=3,scancodekeypressed=42:associateplayer,moveup=4,loopsound=audiobank\conjured\booster.wav,state=5
Confusedtate=3,scancodekeypressed=0Confusedtopsound,state=6

Confusedtate=4:unassociateplayer,followplr,moveup-8,state=3

Confusedtate=5,random=2:hudshow=jetpackhud8,hudunshow=jetpackhud9,hudunshow=jetpackhud10,state=7
Confusedtate=5,random=2:hudshow=jetpackhud9,hudunshow=jetpackhud8,hudunshow=jetpackhud10,state=7
Confusedtate=5,random=2:hudshow=jetpackhud10,hudunshow=jetpackhud8,hudunshow=jetpackhud9,state=7

Confusedtate=6:hudunshow=jetpackhud8,hudunshow=jetpackhud9,hudunshow=jetpackhud10,etimerstart,state=2

Confusedtate=7,varequal=86:hudshow=jetpackhud1,hudunshow=jetpackhud0,state=3
Confusedtate=7,varequal=72:hudshow=jetpackhud2,hudunshow=jetpackhud1,state=3
Confusedtate=7,varequal=58:hudshow=jetpackhud3,hudunshow=jetpackhud2,state=3
Confusedtate=7,varequal=44:hudshow=jetpackhud4,hudunshow=jetpackhud3,state=3
Confusedtate=7,varequal=30:hudshow=jetpackhud5,hudunshow=jetpackhud4,state=3
Confusedtate=7,varequal=16:hudshow=jetpackhud6,hudunshow=jetpackhud5,state=3
Confusedtate=7,varequal=0:hudshow=jetpackhud7,hudunshow=jetpackhud6,etimerstart,state=8
Confusedtate=7Confusedtate=3

Confusedtate=8:unassociateplayer
Confusedtate=8,scancodekeypressed=42,random=2:associateplayer,moveup=1,hudshow=jetpackhud8,hudunshow=jetpackhud9,hudunshow=jetpackhud10
Confusedtate=8,scancodekeypressed=42,random=2:associateplayer,moveup=1,hudunshow=jetpackhud8,hudshow=jetpackhud9,hudunshow=jetpackhud10
Confusedtate=8,scancodekeypressed=42,random=2:associateplayer,moveup=1,hudunshow=jetpackhud8,hudunshow=jetpackhud9,hudshow=jetpackhud10
Confusedtate=8,scancodekeypressed=42,random=2:associateplayer,moveup=-1,hudunshow=jetpackhud8,hudunshow=jetpackhud9,hudunshow=jetpackhud10
Confusedtate=8,scancodekeypressed=0:hudunshow=jetpackhud8,hudunshow=jetpackhud9,hudunshow=jetpackhud10
Confusedtate=8,etimergreater=5000:unassociateplayer,hudunshow=jetpackhud0,hudunshow=jetpackhud7,hudunshow=jetpackhud8,hudunshow=jetpackhud9,hudunshow=jetpackhud10,runfpidefault=2


;End of Script
 
Rispondi
  


Discussioni simili
Discussione Autore Risposte Letto Ultimo messaggio
  Aiuto per vari script da aggiungere in un gioco arena Gius992010 1 1,016 25-10-2015, 01:16 PM
Ultimo messaggio: Tax78
  aiuto script elrojo93 18 1,792 10-07-2013, 10:27 AM
Ultimo messaggio: Alexb1096
  Aiuto con lo script per i dialoghi MentalAge 12 1,672 08-02-2013, 08:11 PM
Ultimo messaggio: MentalAge
  Aiuto Script alexandre96 0 498 22-10-2012, 07:35 PM
Ultimo messaggio: alexandre96
  Aiuto Script Arma Ilbotta 3 871 02-04-2011, 10:46 AM
Ultimo messaggio: Alche

Vai al forum:


Browsing: 2 Ospite(i)