Creare Videogiochi - Game Developer
aiuto script - Versione stampabile

+- Creare Videogiochi - Game Developer (https://www.making-videogames.net/giochi)
+-- Forum: Fps Creator e GameGuru Italia (https://www.making-videogames.net/giochi/Forum-Fps-Creator-e-GameGuru-Italia)
+--- Forum: Richieste di Aiuto Generiche Fps Creator GameGuru (https://www.making-videogames.net/giochi/Forum-Richieste-di-Aiuto-Generiche-Fps-Creator-GameGuru)
+--- Discussione: aiuto script (/thread-aiuto-script)



aiuto script - dido92 - 06-02-2011

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