CreaturesZone
Description
CreaturesZone spawns animals or infected in configured areas when the mission starts. A spawned creature is replaced after it dies or is removed alive, using its original class and assigned area while the module is enabled.
Configuration
Default configuration
CreaturesZone.json
json
{
"m_Enable": 0,
"m_Creatures": [
{
"m_Class": [
"ZmbM_MotobikerFat_Black",
"ZmbM_MotobikerFat_Beige",
"ZmbM_MotobikerFat_Blue"
],
"m_Interval": 10,
"m_Quantity": 5,
"m_Positions": [
{
"m_N": "Airfiled",
"m_X": 4625.677734,
"m_Y": 10341.076172,
"m_R": 10
},
{
"m_N": "Airfiled",
"m_X": 4640.604980,
"m_Y": 10285.461914,
"m_R": 10
}
]
},
{
"m_Class": [
"ZmbM_HikerSkinny_Yellow",
"ZmbM_HikerSkinny_Green",
"ZmbM_HikerSkinny_Blue"
],
"m_Interval": 10,
"m_Quantity": 10,
"m_Positions": [
{
"m_N": "Airfiled",
"m_X": 4674.279297,
"m_Y": 10297.242188,
"m_R": 10
}
]
}
]
}Options
| Option | Type | Description |
|---|---|---|
m_Enable | bool | With 1, enables spawning and replacement. With 0, disables the feature. |
m_Creatures | array<object> | Groups of creatures to spawn. |
m_Creatures[]
| Option | Type | Description |
|---|---|---|
m_Class | array<string> | Animal or infected classes. Each initially spawned creature uses a random entry. |
m_Interval | int | Delay in seconds before replacing a creature. |
m_Quantity | int | Number of initial spawn attempts for the group. |
m_Positions | array<object> | Candidate areas. Each initially spawned creature is assigned a random area. |
m_Creatures[].m_Positions[]
| Option | Type | Description |
|---|---|---|
m_N | string | Name identifying the zone. |
m_X | float | X coordinate in meters. |
m_Y | float | Horizontal Z coordinate in meters. The creature spawns at ground level. |
m_R | float | Radius in meters. |
