Setting Starting Weapons, Armor and Start/Max Health
Coliseum2 allows server admins to determine which weapons players join the game with, if any, and also to determine what weapon the player has ready in hand, if any. This feature is useful for setting up a weapon specific server like Rail Arena where all players join with only the rail gun.
Giving Weapons To Player Inventory
Each weapon is represented by a bit flag and server admins can determine what weapon(s) a player has in their inventory by adding the values of the desired weapon together and assigning the sum to g_giveweapons.
CVAR: g_giveweapons
Weapon Bit Flag Value Gauntlet 1 Machine-gun 2 Shotgun 4 Grenade launcher 8 Rocket launcher 16 Lightning gun 32 Rail gun 64 Plasma gun 128 BFG weapon 256
The default value is 3, which is the gauntlet and machine-gun (1 + 2 = 3).
For example, to spawn players with just the rail gun, set g_giveweapons "64".
Setting Weapon Ready In Hand
From the available weapon the player has in their inventory when joining, the server admin may also which weapon is ready in hand, if any, by setting the variable to any of the weapon bit flag listed above. If the variable tries to set in hand a weapon that was not given to inventory, the player will start with no weapon ready in hand.
CVAR: g_startweapon
The default value is 2 which is the machine-gun in hand.
For example, if the player was given the rail run and the server wants to have that weapon in hand, set g_startweapon "64".
Setting Start Armor
The Coliseum2 server admin also has the power to determine how much armor a player has when joining, if any. The max armor that a player may have is the same as the max health.
CVAR: g_startarmor
Default is zero(0).
Setting Start Health
The Coliseum2 server admin also has the power to determine how much health a player has when joining, if any. The handicap that a player may choose is treated as a percentage of this value.
CVAR: g_starthealth
Default is 125.
For example, if a player joins with a handicap of 80, then the starting health for that player is 106 based on a starting health of 125.
Setting Max Health
Server admins may also determine the maximum health a player may attain by picking up healths during the game. The max health here, is separate from the max heath from the Vampire and Regeneration runes. The handicap that a player may choose is treated as a percentage of this value. The max armor will be the same as the max health (adjusted for hanidcap).
CVAR: g_maxhealth
Default is 100.
For example, if a player joins with a handicap of 80, then the max health for that player is 160 based on a max health of 200.
Table of Contents | Banning/Replacing | Deathmatch Flags (dmflags) |