ok i modified my topic whi the code. it just needs to get your spawner to trigger the closer one to the player
The zombies die and the round doesn't end but the zombies also don't respawn even when standing In a zone how would I make the spawners trigger when a player gets close to them?
if you look in the script theres a part in which i mentioned you somehow have to acquiare the spawners and then check distance :l emm can you show me your spawners kvps? Post Merge: May 28, 2014, 05:44:25 amlol i should make a tut on how to do this after it gets finished xD
The KVP's are the normal zombie KVP's here are the targetnames for them "targetname" "initial_zone_spawner" "targetname" "zone1_spawner" "targetname" "zone2_spawner" the number goes up from there
Here's my progress on my version of the respawn which I've coded into the round_spawning under zombiemode think with additional functions to making this work.
For testing I set the distance to 1000 and so far there seems to be no glitches in the process however I did this without playable_area also so I need to also make sure zombie deaths by distance don't spawn powerups.
Here's my progress on my version of the respawn which I've coded into the round_spawning under zombiemode think with additional functions to making this work.
For testing I set the distance to 1000 and so far there seems to be no glitches in the process however I did this without playable_area also so I need to also make sure zombie deaths by distance don't spawn powerups.
Update, All issues I was having before are fixed and powerups don't spawn on zombie deaths from distance. Just going to do a hard test on it before sending it out.
I've done a hard test on this script with zombie spawn delays of 0.1 and wait between rounds as 5 seconds and all worked really well.
I've harshly modified the round_spawning feature which delayed me putting this out for a little while because if round_spawning was to bug out in higher waves it could go terribly wrong so it shouldn't do this.
I won't put this up as a tutorial for now until it's properly tested so consider it as a beta.
Open up _zombiemode.gsc and search for `level.overridePlayerDamage = ::player_damage_override;` around line 103. Below add the following; Next find `round_spawning()` around line 1435. Replace the whole round_spawning() function with this;
Below the end of the round_spawning function, Add these 4 functions in;
Save the _zombiemode.gsc and then open up your _zombiemode_spawner.gsc Search for `zombie_can_drop_powerups( zombie )` and replace the function with this;