set g_start_ammo_cells 0
set g_start_ammo_plasma 0
set g_start_ammo_fuel 0
-set g_num_random_start_weapons 0
+set g_random_start_weapons_count 0
set g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
set g_random_start_shells 15
set g_random_start_bullets 80
set g_start_ammo_cells 0
set g_start_ammo_plasma 0
set g_start_ammo_fuel 0
-set g_num_random_start_weapons 0
+set g_random_start_weapons_count 0
set g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
set g_random_start_shells 15
set g_random_start_bullets 80
set g_start_ammo_cells 0
set g_start_ammo_plasma 0
set g_start_ammo_fuel 0
-set g_num_random_start_weapons 0
+set g_random_start_weapons_count 0
set g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
set g_random_start_shells 15
set g_random_start_bullets 80
set g_start_ammo_cells 0
set g_start_ammo_plasma 0
set g_start_ammo_fuel 0
-set g_num_random_start_weapons 0
+set g_random_start_weapons_count 0
set g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
set g_random_start_shells 15
set g_random_start_bullets 80
set g_start_ammo_cells 0
set g_start_ammo_plasma 0
set g_start_ammo_fuel 0
-set g_num_random_start_weapons 0
+set g_random_start_weapons_count 0
set g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
set g_random_start_shells 15
set g_random_start_bullets 80
set g_start_ammo_cells 0
set g_start_ammo_plasma 0
set g_start_ammo_fuel 0
-set g_num_random_start_weapons 0
+set g_random_start_weapons_count 0
set g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
set g_random_start_shells 15
set g_random_start_bullets 80
set g_start_ammo_cells 0
set g_start_ammo_plasma 0
set g_start_ammo_fuel 0
-set g_num_random_start_weapons 0
+set g_random_start_weapons_count 0
set g_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator"
set g_random_start_shells 15
set g_random_start_bullets 80
this.health = start_health;
this.armorvalue = start_armorvalue;
this.weapons = start_weapons;
- GivePlayerRandomWeapons(this, num_random_start_weapons,
+ GivePlayerRandomWeapons(this, random_start_weapons_count,
cvar_string("g_random_start_weapons"), random_start_shells,
random_start_bullets, random_start_rockets, random_start_cells,
random_start_plasma);
start_ammo_cells = cvar("g_start_ammo_cells");
start_ammo_plasma = cvar("g_start_ammo_plasma");
start_ammo_fuel = cvar("g_start_ammo_fuel");
- num_random_start_weapons = cvar("g_num_random_start_weapons");
+ random_start_weapons_count = cvar("g_random_start_weapons_count");
random_start_shells = cvar("g_random_start_shells");
random_start_bullets = cvar("g_random_start_bullets");
random_start_rockets = cvar("g_random_start_rockets");
float start_ammo_cells;
float start_ammo_plasma;
float start_ammo_fuel;
-int num_random_start_weapons;
+/// \brief Number of random start weapons to give to players.
+int random_start_weapons_count;
+/// \brief Amount of shells to give with a shell-based random start weapon.
float random_start_shells;
+/// \brief Amount of bullets to give with a bullet-based random start weapon.
float random_start_bullets;
+/// \brief Amount of rockets to give with a rocket-based random start weapon.
float random_start_rockets;
+/// \brief Amount of cells to give with a cell-based random start weapon.
float random_start_cells;
+/// \brief Amount of plasma to give with a plasma-based random start weapon.
float random_start_plasma;
float start_health;
float start_armorvalue;