Zombie Defense Prefab - Prefab for the gamemode made for MC20
This is the prefab used to make the map Sarex and I submitted for the 20th Microcontest. The gamemode is basically asymmetric Arena (only RED team has one life), combined with A/D (BLU team are zombies who only have access to melee that can win by capping one of two points).
Troubleshooting and dos and don'ts:
This is the prefab used to make the map Sarex and I submitted for the 20th Microcontest. The gamemode is basically asymmetric Arena (only RED team has one life), combined with A/D (BLU team are zombies who only have access to melee that can win by capping one of two points).
Troubleshooting and dos and don'ts:
- If triggers have missing textures, just replace them with the regular trigger texture. It doesn't affect anything.
- Both teams MUST NOT have resupply lockers. RED because they are playing Arena and BLU because it breaks the logic. For red, you can include resupply lockers, but BE SURE TO RENAME THE FUNC_REGENERATE "red_respawnroom" (so it is killed once the round starts).
- I recommend NOT changing the times (setup time, round duration, capture time for the point).
- The prefab doesn't include a setup door for BLU. You can simply add an output on the team_round_timer (if you can't find it, it's named "game_timer"): "OnSetupFinished <door name> Open"
- Take all the logic in the sky and put it in an out-of-bounds area (players shouldn't be able to access it from gameplay space)
- Put the triggers around the spawnpoints in the prefab, around the spawnpoints in your map. EITHER USE THE RESPAWNROOM IN THE PREFAB OR RENAME THE RED FUNC_RESPAWNROOM "red_respawnroom". Otherwise, red players will be able to respawn and change classes after the start of the round.
- Place the control points where you want them to be. You can rescale the trigger_capture_area but be sure to only use what comes in the prefab.
- Place the giant trigger all around your map (It makes people respawn instantly during setup).
- You're done!
- RED players can respawn in their spawn/change classes!
- Redo step 2
- BLU players are not in melee-only!
- Redo step 2
- Triggers have missing textures!
- Replace those textures with the regular trigger texture
- Zombies don't win when they cap a point!
- Redo step 3
- If I change classes outside of the spawn room/dies during setup as RED, I don't respawn!
- Redo step 4
- If I join after the round starts as RED, I get killed!
- This is normal. The logic emulates Arena and so disallows players from joining mid-round for RED.
- I have another issue!
- Send it in the discussion of this download/ping me on the Discord