08-08-2012, 01:46 PM
(Questo messaggio è stato modificato l'ultima volta il: 08-08-2012, 01:47 PM da friskon.)
Mini Tutorial Nazi Zombie System Script per Fpsc X9
Lo lascio in inglese, non ho tempo di tradurlo.
For the beginning I to you shall tell, that for each point the scripts work. Which points are shown below on a sreenshot:
Wow! Whether how many lines WP it is possible to get confused not so? On an example I shall show you line WP of a point 1:
[thumb]http://s57.radikal.ru/i157/1105/88/9efcc4eb49f7.jpg[/thumb]
Important!
For this purpose points and for this purpose zombie (which use this line WP) to create the fifth point at the barricade. Since It is a point of destruction of a barricade, as stated on a screenshot in a red circle.
And further not so important how many will be points WP. I have lead a line further to respawn the player.
Blocks :
[thumb]http://s007.radikal.ru/i301/1105/f2/09229695849c.jpg[/thumb]
Script zombie for Point 1:
Script of attack (Works for all points):
These scripts are written for zombie from Zombie Appocalipsys pack Slow Zombie.
Lo lascio in inglese, non ho tempo di tradurlo.
For the beginning I to you shall tell, that for each point the scripts work. Which points are shown below on a sreenshot:
Wow! Whether how many lines WP it is possible to get confused not so? On an example I shall show you line WP of a point 1:
[thumb]http://s57.radikal.ru/i157/1105/88/9efcc4eb49f7.jpg[/thumb]
Important!
For this purpose points and for this purpose zombie (which use this line WP) to create the fifth point at the barricade. Since It is a point of destruction of a barricade, as stated on a screenshot in a red circle.
And further not so important how many will be points WP. I have lead a line further to respawn the player.
Blocks :
[thumb]http://s007.radikal.ru/i301/1105/f2/09229695849c.jpg[/thumb]
Script zombie for Point 1:
Codice PHP:
;desc = Зомби (мужчина) медленный для точки 1
:varequal=game_over 1:state=999,setframe=1
:state=999:animate=1,rotateheadrandom=5
;===Бежит по ВП к баррикаде (7 точек, 5 точка разрушения баррикады, 7 - конечная)===
:state=0,waypointstate=0:waypointstart,state=1,setalphafade=100,airemove
:state=1,waypointstate=3:waypointnext,state=2
:state=2,waypointstate=3:waypointnext,state=3
:state=3,waypointstate=3:waypointnext,state=41
:state=41,waypointstate=3:waypointnext,state=4
:state=4,waypointstate=3:state=10,settargetname=door,rotatetotarget
;===Входит в игровую зону игрока===
:state=5,waypointstate=3:waypointnext,state=6
:state=6,waypointstate=3:waypointnext,state=7
:state=7,waypointstate=5:waypointstop,state=9
:state=7,plrcanbeseen:state=9,waypointstop
;===Загрузка другого скрипта===
:state=9:runfpi= [Way for a script of attack]
;===Анимация бега===
:state=1:animate=2
:state=2:animate=2
:state=3:animate=2
:state=4:animate=2
:state=41:animate=2
:state=5:animate=2
:state=6:animate=2
:state=7:animate=2
;////////////////////////////////////////////////////////////////////////////////////
;===Проверяет сломаны ли все доски (1-нет, 0-да)===
:state=10,varequal=point1_clear 1:state=5
:state=10,varequal=point1_clear 0:state=12,settargetname=door,rotatetotarget
:state=5,varequal=point1_clear 0:state=12
;===Звук атаки===
:state=12:state=11,setframe=93,sound=audiobank\station13\zombies\zombie3_attack.wav
;===Ломает доски (атака 1)===
:state=11:incframe=93
:state=11,framebeyond=93 45,plrdistwithin=70:plraddhealth=-30,state=111,addvar=point1 1,sound=audiobank\station13\survival\plank_break1.ogg
:state=11,framebeyond=93 45,plrdistfurther=70:state=111,addvar=point1 1,sound=audiobank\station13\survival\plank_break1.ogg
:state=111:incframe=93
:state=111,frameatend=93:state=10
;===Если игрок близко, то атакует его===
:state=5,plrdistwithin=40:state=20
:state=20:incframe=93
:state=20,framebeyond=93 50,plrdistwithin=70:plraddhealth=-50,state=21
:state=20,framebeyond=93 50,plrdistfurther=70:state=21
:state=21:incframe=93
:state=21,frameatend=93:state=8
Script of attack (Works for all points):
Codice PHP:
;desc = Зомби (мужчина) медленный
:varequal=game_over 1:state=999,setframe=1
:state=999:animate=1,rotateheadrandom=5
:state=0:state=1,etimerstart, ;airemove
;:state=1,plrdistfurther=100:state=5
;:state=1,plrcannotbeseen:state=5
;:state=5:runfpi=tation13\Survival Mode\mob_zombie_slow_man_FOLLOW.fpi
;:state=5:shootplr
:state=1,etimergreater=10000:sound=audiobank\station13\zombies\zombie3_moan.wav,state=0
:state=1:rotatetoplr,movefore=2,animate=2
:state=1,plrdistwithin=50:state=2
;===Звук атаки===
:state=2:state=20,setframe=93,sound=audiobank\station13\zombies\zombie3_attack.wav
:state=20:incframe=93,rotatetoplr
:state=20,framebeyond=93 50,plrdistwithin=70:plraddhealth=-50,state=21,sound=audiobank\station13\zombies\zombie_hit1.wav
:state=20,framebeyond=93 50,plrdistfurther=70:state=21
:state=21:incframe=93,rotatetoplr
:state=21,frameatend=93:state=1,setframe=2
;End of Script
These scripts are written for zombie from Zombie Appocalipsys pack Slow Zombie.