Skip to content

A BZFlag plug-in to force players to spawn at a custom base object instead of their respective bases

License

Notifications You must be signed in to change notification settings

allejo/spawnAtBase

Repository files navigation

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

About

A BZFlag plug-in to force players to spawn at a custom base object instead of their respective bases

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published