]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Random-start-weapons.md
Update Compiling: add libtool dependency
[xonotic/xonotic.wiki.git] / Random-start-weapons.md
1 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.
2
3 ## Server settings
4 ```
5 g_random_start_weapons_count 0
6 ```
7 Number of random start weapons that will be given to the player.
8
9 ```
10 g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
11 ```
12 Names of potential random start weapons.
13
14 ```
15 g_random_start_shells 15
16 ```
17 How many shells will be given with a shell-based weapon.
18
19 ```
20 g_random_start_bullets 80
21 ```
22 How many bullets will be given with a bullet-based weapon.
23
24 ```
25 g_random_start_rockets 40
26 ```
27 How many rockets will be given with a rocket-based weapon.
28
29 ```
30 g_random_start_cells 30
31 ```
32 How many cells will be given with a cell-based weapon.
33
34 ```
35 g_random_start_plasma 30
36 ```
37 How much plasma will be given with a plasma-based weapon.