Left 4 Dead 2

Left 4 Dead 2

[VScript] Witches Spawn Off of the Main Path
 This topic has been pinned, so it's probably important
Witch  [developer] 2 Jul @ 3:12pm
Settings
TooCloseRadius = 150

The radius a witch will detect the main path in. If you don't know what a radius is, check the preview screenshots.

PotentialNewSpotRadius = 750

The radius in which the witch will look for a new spawnpoint. Don't worry about her spawning behind, as the survivors automatically "clear" areas as they move through the map, making witches unable to spawn behind them.

PotentialNewFarSpotRadius = 1500

The last resort. If a witch somehow can't find a spawnpoint with PotentialNewSpotRadius, use this larger radius instead.

RelocateChance = 1

The chance of moving a witch that's too close to the main path. It works like a "1 out of (number)" chance. The script has to roll 1 in order to move her. So, setting the chance to 1 is effectively a 100% chance, 2 is 50%, etc.

AllowWanderingRelocation = 0

Allow Wandering Witches to be moved if spawned right in the main path? Set to 1 to enable.

AllowBrideRelocation = 0

Allow Bride Witches to be moved if spawned right in the main path? Set to 1 to enable.
Last edited by Witch; 2 Jul @ 3:13pm