Skip to content

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 ​

OptionTypeDescription
m_EnableboolWith 1, enables spawning and replacement. With 0, disables the feature.
m_Creaturesarray<object>Groups of creatures to spawn.

m_Creatures[] ​

OptionTypeDescription
m_Classarray<string>Animal or infected classes. Each initially spawned creature uses a random entry.
m_IntervalintDelay in seconds before replacing a creature.
m_QuantityintNumber of initial spawn attempts for the group.
m_Positionsarray<object>Candidate areas. Each initially spawned creature is assigned a random area.

m_Creatures[].m_Positions[] ​

OptionTypeDescription
m_NstringName identifying the zone.
m_XfloatX coordinate in meters.
m_YfloatHorizontal Z coordinate in meters. The creature spawns at ground level.
m_RfloatRadius in meters.

Released under the MIT License.