ZombieVolume: Max Distance From Player?

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

diendwar

FNG / Fresh Meat
Jul 17, 2009
10
0
0
Hey all,
I was thinking about making a rather large map, and I was wondering (knowing nothing about unrealscript etc.) if it was possible to make a property under ZombieVolume that would set the maximum distance it could be from the player in order to spawn zeds?

Cheers,
Diend
 

rallfo

FNG / Fresh Meat
Jun 12, 2009
194
1
0
www.rallfo.com
Create a subclass and override RateZombieVolume() adding the new variable and specifically changing the test on line ~ 592 to something like:

Code:
else if( (dist<MinDistanceToPlayer) || (dist>MaxDistanceToPlayer) )
Hope this helps ;)