]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
Lyberta created page: Random start weapons
authorLyberta <lyberta@lyberta.net>
Sun, 24 Sep 2017 02:22:16 +0000 (02:22 +0000)
committerLyberta <lyberta@lyberta.net>
Sun, 24 Sep 2017 02:22:16 +0000 (02:22 +0000)
Random-start-weapons.md [new file with mode: 0644]

diff --git a/Random-start-weapons.md b/Random-start-weapons.md
new file mode 100644 (file)
index 0000000..065528b
--- /dev/null
@@ -0,0 +1,37 @@
+You can specify weapons which will be randomly given to player during spawn. The code will try to make sure that these weapons are not duplicates. If a player receives a weapon but has no ammo for it, they will be given some ammo.
+
+## Server settings
+```
+g_random_start_weapons_count 0
+```
+Number of random start weapons that will be given to the player.
+
+```
+g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
+```
+Names of potential random start weapons.
+
+```
+g_random_start_shells 15
+```
+How many shells will be given with a shell-based weapon.
+
+```
+g_random_start_bullets 80
+```
+How many bullets will be given with a bullet-based weapon.
+
+```
+g_random_start_rockets 40
+```
+How many rockets will be given with a rocket-based weapon.
+
+```
+g_random_start_cells 30
+```
+How many cells will be given with a cell-based weapon.
+
+```
+g_random_start_plasma 30
+```
+How much plasma will be given with a plasma-based weapon.
\ No newline at end of file