Hey All,
I've recently been teaching myself how to script, and I thought it's about time to put what I've learnt to the test. So, as I've seen many "How do I make Nazi Zombies?!?" threads around, I decided i'm going to try and create all the scripts needed to make one. I will update this thread whenever I make another script.
NOTE: These Scripts WILL Require V1.19 BETA 4 Onwards.
NOTE: ALL scripts posted will have been tested and 100% working.
Scripts
Weapons Limit
Sets the maximum number of weapons allowed.
;Artificial Intelligence Script by RR3
;Header
desc = Nazi Zombie System Setup
;Triggers
:state=0:setmaxweapons=2
;End of Script
Place in a Trigger Zone.
Points System Setup
Sets up the Points System. You will probably want to create your own HUD and script that in.
;Artificial Intelligence Script by RR3.
;Header
desc = Setup Points System.
;Triggers
:state=0:dimvar=Points,state=1
:state=1:incvar=Points 500,state=2
;End of Script
Place in a Trigger Zone.
Regenerating Health + "Game Over" Scenario Setup
Sets up the regenerating health, and starts off a "Game Over" scenario. You will want to script in HUDs and the actual scenario, this is just a template.
;Artificial Intelligence Script by RR3.
;Header
desc = Regenerate Health Setup
;Triggers
:state=0,plrhealthless=500:state=1
:state=1,plralive=0:state=999
:state=1:timerstart,state=2
:state=2,timergreater=3000:plraddhealth=50,state=3
:state=2,plrhealthgreater=450:state=0
:state=3,timergreater=4000:plraddhealth=50,state=4
:state=3,plrhealthgreater=450:state=0
:state=4,timergreater=5000:plraddhealth=50,state=5
:state=4,plrhealthgreater=450:state=0
:state=5,timergreater=6000:plraddhealth=50,state=6
:state=5,plrhealthgreater=450:state=0
:state=6,timergreater=7000:plraddhealth=50,state=7
:state=6,plrhealthgreater=450:state=0
:state=7,timergreater=8000:plraddhealth=50,state=8
:state=7,plrhealthgreater=450:state=0
:state=8,timergreater=9000:plraddhealth=50,state=9
:state=8,plrhealthgreater=450:state=0
:state=9,timergreater=10000:plraddhealth=100,state=0
:state=9,plrhealthgreater=450:state=0
;Here, remove "destroy" just script what you would like to happen when it's "Game Over"
:state=999:destroy
;End Of Script
Place in a Trigger Zone.
RR3,