https://github.com/allejo/dodgeball
A BZFlag plugin introducing the "Dodgeball" game mode
https://github.com/allejo/dodgeball
bzflag bzflag-plugin
Last synced: 3 months ago
JSON representation
A BZFlag plugin introducing the "Dodgeball" game mode
- Host: GitHub
- URL: https://github.com/allejo/dodgeball
- Owner: allejo
- License: mit
- Created: 2016-05-21T04:29:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T15:26:58.000Z (about 5 years ago)
- Last Synced: 2025-01-15T03:05:20.341Z (5 months ago)
- Topics: bzflag, bzflag-plugin
- Language: C++
- Homepage:
- Size: 282 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dodgeball
[](https://github.com/allejo/dodgeball/releases/latest)

[](LICENSE.md)Dodgeball is a BZFlag plug-in that introduces a deathmatch-like game mode. Each time a player is killed, they respawn in a "jail" and the only way to escape from jail is to kill an enemy tank while you're in jail. The team that wins the round is the one that manages to place the rest of the enemy team in jail.
![]()
![]()
![]()
## Requirements
- BZFlag 2.4.14+
- C++11## Usage
### Loading the plug-in
This plug-in does not take any configuration options at load time.
```
-loadplugin dodgeball
```### Custom Map Objects
This plug-in introduces the `JAIL` map object which supports the traditional `position`, `size`, and `rotation` attributes for rectangular objects and `position`, `height`, and `radius` for cylindrical objects.
```text
# Rectangle
jail
position
size
rotation
color
end
``````
# Cylinder
jail
position
height
radius
color
end
```- `color` - The team color that will spawn inside of this jail. Supported values:
- 1 - Red Team
- 2 - Green Team
- 3 - Blue Team
- 4 - Purple Team## License
- Plug-in: [MIT](LICENSE.md)
- Map: [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)