surf_completedonlyzone - BB-Games/surf-mapping-configuration GitHub Wiki
surf_completedonlyzone
surf_completedonlyzone is a brush entity which allows players who have completed the map to access restricted areas. If a player has not completed the map they will instead be teleported or be forced to respawn, depending on gamemode logic.
Key / Value pairs
- msg - An optional message to display to the player as to why they cannot access this area.
- Some gamemodes may override this logic and instead present a default message, or no message at all.
- telepos - A hammer-formatted vector in which to suggest to the gamemode where to move the player to if they haven't completed the map.
Key information
- This entity will only work in the event the gamemode facilitates or has a mechanism for detecting if a player has completed a map and the gamemode supports such a concept.
Best Practises
In most cases gamemodes already support the concept of "bonus" stages and offer a teleport for those who have already completed the map. This zone should generally not be required unless for some reason you're providing a player the ability to access areas prematurely.