Adding Spawners
How to add zombie spawners
Option 1: Ground Spawners
TL;DR
script_struct
| Key | Value |
|---|---|
| targetname | Your Zone Spawners Name |
| script_noteworthy | riser_location |
| script_string | find_flesh |
- Add a
script_structwhere you want the zombies to spawn - Set the
targetnameKVP to the name of your zone the target set in your zone - Add KVP
script_noteworthyand set it toriser_location
riser_location can also be spawn_location, faller_location, or even custom_spawner_entry
- Add KVP
script_stringand set it tofind_flesh
Option 2: Barricade Spawners
Note: one spawner can only target one barricade
TL;DR
misc_prefab
| Key | Value |
|---|---|
| script_string | Barricade Unique Identifier |
script_struct
| Key | Value |
|---|---|
| targetname | Your Zone Spawners Name |
| script_noteworthy | riser_location |
| script_string | Barricade Unique Identifier |
- Add a barricade prefab from
_prefabs/zm/zm_core/and position it - Add the KVP
script_stringand set it to your zone name followed by_bfollowed by a unique number, for example:start_zone_b1 - Add a
script_structwhere you want the zombies to spawn - Set the
targetnameKVP to the name of your zone the target set in your zone - Add KVP
script_noteworthyand set it toriser_location
riser_location can also be spawn_location, faller_location, or even custom_spawner_entry
- Add KVP
script_stringand set it to the same KVP as the barricade