DayZ
PvZmoD_TheDarkHorde
 This topic has been pinned, so it's probably important
Liven  [developer] Feb 26, 2020 @ 8:44am
Movement types
The "2" value in the json file allow admin to choose the type of movement of the horde.
Here are details for these movements.

Value 0 : Total random movements
The horde will spawn at a random position in the map limits then it will move randomly.
The map limits are set in Pvz_DarkHorde_TerrainLimites.c file.
How often the horde change direction is set by the "16" and "17" value in the json

Value 1 : Random zone List
When the horde need to spawn, a line is randomly chose in the list in Pvz_DarkHorde_StartPoints.c file.
Then the horde will move randomly in the radius of the line chosen (third value in the line).

Value 2 : Waypoints
The horde will follow the coordinate list in Pvz_DarkHorde_Waypoints.c file.
When the horde reach the last waypoint, it will go back directly to the first.
The "18" allow to change the first waypoint. If this value is set to 0 the horde will choose a random starting waypoint in the list.
If the "19" value is set to 1, the waypoint order will be randomly chosen. This feature allow a « hotspot » feeling instead of a « circuit » feeling.

Value 3 : Fixed start/end points
The horde will spawn at the coordinate define by "20" / "21" coordinates and go to the "22" / "23" coordinates. Then it come back to the first coord, then to the second coord...

Value 4 : Fixed start then random move
When the horde need to spawn, it will use the coordinate define by "20" / "21" coordinates. Then it will move randomly in the map limits.
This have no effect until the horde need to spawn
Remember that the horde respawn only if an admin press Numpad 9 reset shortcut or a player defeat the horde or the server restart while persistance "3" is set to 0.

Value 5 : Fixed end position then random move
The horde will go to the "22" / "23" coordinates then will move randomly in the map limits.
This option is useful if you want to move the horde in a zone but don't want to reset it

Value 6 : Go to closest player position
The horde will spawn at a random position then will go to the nearest player position.
The horde will move randomly if there is no player on the server
The horde will be lead by the horde master if players are close (closer than "50" value in json)

Persistence
If the value "3" is set to 0 the horde will be reset at each server restart.
If the value "3" is set to 1 the horde will keep its position when server restart. In this case the only ways to reset the horde is to defeat it or to press Numpad9 reset shortcut (for admins).