A BZFlag plug-in to force players to spawn at a custom base object instead of their respective bases
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
LICENSE.md
Makefile.am
README.md
spawnAtBase.bzw
spawnAtBase.cpp
spawnAtBase.def

README.md

Spawn at Custom Base

Current Release Minimum BZFlag Version

This plug-in introduces a custom map object that allows you define spawn zones for players to spawn at after a flag capture, initial spawn, or an explicit call to bz_setPlayerSpawnAtBase; these spawn zones work exactly like a base with regards to respawning after a flag capture.

This is especially useful for maps with custom bases and require custom spawn locations without forcing the players to always spawn there with a normal zone.

Map Object

The BASESPAWNZONE map object uses the bz_CustomZoneObject, which provides the following syntax.

basespawnzone
  position 0 100 0
  size 4 4 0.1
  color 1
end

Custom Options

color - This option specifies the team color which should spawn at this location; the team colors are the same numbers as a base object. Only one color should be defined, if multiple are defined, the last definition will be the one used. Define multiple objects at the same location if multiple teams need to spawn here.

License

MIT