Document the commands added by YQ2.

This commit is contained in:
Yamagi 2019-10-12 16:39:42 +02:00
parent e3c3875bda
commit d4a914644c
2 changed files with 17 additions and 0 deletions

View file

@ -20,6 +20,7 @@ The documentation is split into several documents:
* [Installation Guide](020_installation.md) * [Installation Guide](020_installation.md)
* [Configuration Guide](030_configuration.md) * [Configuration Guide](030_configuration.md)
* [List Of All New Console Variables](040_cvarlist.md) * [List Of All New Console Variables](040_cvarlist.md)
* [List Of All New Commands](050_commands.md)
* [Multiplayer Server Configuration](060_multiplayer.md) * [Multiplayer Server Configuration](060_multiplayer.md)
* [Packaging Guide For Maintainers](070_packaging.md) * [Packaging Guide For Maintainers](070_packaging.md)
* [Contributing Guide](080_contributing.md) * [Contributing Guide](080_contributing.md)

16
doc/050_commands.md Normal file
View file

@ -0,0 +1,16 @@
# Yamagi Quake II Commands
This list explains all commands added by Yamagi Quake II. All of the
original clients (Vanilla Quake II) commands are still in place.
* **cycleweap <weapons>**: Cycles through the given weapons. Can be used
to bind several weapons on one key.
* **listentities <class>**: Lists the coordinates of all entities of a
given class. Possible classes are `ammo`, `items`, `keys`, `monsters`
and `weapons`. Multiple classes can be given, they're separated by
whitespaces. The special class `all` lists the coordinates of all
entities.
* **teleport <x y z>**: Teleports the player to the given coordinates.