Creare Videogiochi - Game Developer
Richiesta Di Aiuto Script Zombi! - 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: Script fpi e lua FPSC GameGuru (https://www.making-videogames.net/giochi/Forum-Script-fpi-e-lua-FPSC-GameGuru)
+--- Discussione: Richiesta Di Aiuto Script Zombi! (/thread-Richiesta-Di-Aiuto-Script-Zombi)



Richiesta Di Aiuto Script Zombi! - Ferdi905 - 17-09-2014

Salve e buona sera a tutti, sono Ferdi905 e da un po che non mi faccio vivo su questo sito,ma ho avuto problemi con la scuola...
Andiamo al dunque,io dovrei creare un gioco survival una specie di slender solo che e di zombi,pero non solo uno sono tanti,devi sopravvivere e vorrei mettere gli zombi che non ti vedessero subito nel senzo che non ti vedono da lontano !!Vorrei una rispota al piu presto possibile!!!


RE: Richiesta Di Aiuto Script Zombi! - Tax78 - 18-09-2014

Ciao,
non conosco il tipo di gioco che vuoi fare, però penso di aver capito che cosa intendi dire.

Devi inserire nello script in main del tuo zombie, le condizione:
Citazione:,plrdistwithin=300
Dove 300 e la distanza di attivazione del tuo zombie, 300 corrisponde +o- a tre caselle nell'edit.

Non posso dirti dove mettere questa condizione, anche perché va valutato lo script e poi inserito nello stato giusto. Quindi o posti lo script oppure bho!!!! provi Smile

Tax


RE: Richiesta Di Aiuto Script Zombi! - Ferdi905 - 18-09-2014

quindi con questo script gli zombi non ti dovrebbero vedere da lontano? Vabbe provo!!
pero una cosa in quale posto devo mettere ,plrdistwithin=300 ??
ecco qui lo script del mio zombi che dovrei mettere 300:
desc = Random Melee Attack

;Triggers



;DETECT PLAYER AND IDLE
Confusedtate=0,plrdistfurther=300:animate=94
Confusedtate=0,plrdistwithin=300,plrcanbeseenConfusedtate=5,rotatetoplr




;CHOOSE MELEE ATTACK & RUN OR WALK
Confusedtate=5,random=6Confusedtate=1
Confusedtate=5,random=6Confusedtate=6
Confusedtate=5,random=6Confusedtate=66
Confusedtate=5,random=6Confusedtate=11
Confusedtate=5,random=6Confusedtate=12
Confusedtate=5,random=6Confusedtate=13


;MELEE ATTACK 1 (DOUBLE ARM SLASH)
Confusedtate=1,plrdistfurther=60:rotatetoplr,runfore=10,animate=92
Confusedtate=1,plrdistwithin=60:rotatetoplr,setframe=98,state=7

Confusedtate=7,framebeyond=98 40,plrdistwithin=60:plraddhealth=-5,sound=audiobank\zombie_apocalypse\malemoan3.wav,state=8

Confusedtate=7:incframe=98,rotatetoplr
Confusedtate=7,frameatend=98Confusedtate=5

Confusedtate=8,framebeyond=98 60,plrdistwithin=60:plraddhealth=-2,sound=audiobank\misc\melee.wav,state=9
Confusedtate=8:incframe=98
Confusedtate=8,frameatend=98Confusedtate=5

Confusedtate=9:incframe=98
Confusedtate=9,frameatend=98Confusedtate=5


;MELEE ATTACK 2 (OVERHEAD SLASH RIGHT)
Confusedtate=6,plrdistfurther=60:rotatetoplr,runfore=10,animate=92
Confusedtate=6,plrdistwithin=60:rotatetoplr,setframe=101,state=2

Confusedtate=2,framebeyond=101 60,plrdistwithin=60:plraddhealth=-5,state=3
Confusedtate=2:incframe=101,rotatetoplr
Confusedtate=2,frameatend=101Confusedtate=5
Confusedtate=3:incframe=101
Confusedtate=3,frameatend=101Confusedtate=5


;MELEE ATTACK 3 (SINGLE ARM SLASH)
Confusedtate=66,plrdistfurther=60:rotatetoplr,runfore=10,animate=92
Confusedtate=66,plrdistwithin=60:rotatetoplr,setframe=99,state=22

Confusedtate=22,framebeyond=99 50,plrdistwithin=60:plraddhealth=-5,sound=audiobank\misc\melee.wav,state=33
Confusedtate=22:incframe=99,rotatetoplr
Confusedtate=22,frameatend=99Confusedtate=5
Confusedtate=33:incframe=99
Confusedtate=33,frameatend=99Confusedtate=5

;MELEE ATTACK 4 (OVERHEAD SLASH LEFT)
Confusedtate=11,plrdistfurther=60:rotatetoplr,runfore=10,animate=92
Confusedtate=11,plrdistwithin=60:rotatetoplr,setframe=100,state=77

Confusedtate=77,framebeyond=100 60,plrdistwithin=60:plraddhealth=-5,sound=audiobank\misc\melee.wav,state=88
Confusedtate=77:incframe=100,rotatetoplr
Confusedtate=77,frameatend=100Confusedtate=5
Confusedtate=88:incframe=100
Confusedtate=88,frameatend=100Confusedtate=5

;RAGE ANIMATION 1
Confusedtate=12,plrdistfurther=60:rotatetoplr,runfore=10,animate=92
Confusedtate=12,plrdistwithin=60:rotatetoplr,setframe=102,state=78

Confusedtate=78,framebeyond=102 40,plrdistwithin=160Confusedound=audiobank\zombie_apocalypse\malemoan2.wav,state=89
Confusedtate=78:incframe=102,rotatetoplr
Confusedtate=78,frameatend=102Confusedtate=5
Confusedtate=89:incframe=102
Confusedtate=89,frameatend=102Confusedtate=5

;RAGE ANIMATION 2
Confusedtate=13,plrdistfurther=60:rotatetoplr,runfore=10,animate=92
Confusedtate=13,plrdistwithin=60:rotatetoplr,setframe=103,state=79

Confusedtate=79,framebeyond=103 40,plrdistwithin=160Confusedound=audiobank\zombie_apocalypse\malemoan1.wav,state=90
Confusedtate=79:incframe=103,rotatetoplr
Confusedtate=79,frameatend=103Confusedtate=5
Confusedtate=90:incframe=103
Confusedtate=90,frameatend=103Confusedtate=5


RE: Richiesta Di Aiuto Script Zombi! - Tax78 - 18-09-2014

Si, dovrebbe andare, facci sapere

Tax