Banning/Replacing: Weapons, Ammo, Armor/Health/Items and Powerups

Coliseum2 server admins may choose to ban any items from their servers or replace them with a more desirable item.  This feature is useful for setting up a weapon specific game like Pro-Rocket or Rail Arena.

Banning/Replacing Weapons

Each weapon is represented by a bit flag and the appropriate variable may be set with the a bit flag to make it spawn as another weapon.  To ban a weapon, set the variable of that weapon to zero(0).

CVAR Name Default   Description (Set to another weapon flag to replace)
g_spawngauntlet 1 Spawn indicator for gauntlet.
g_spawnmgun 2 Spawn indicator for machine-gun.
g_spawnsgun 4 Spawn indicator for shotgun.
g_spawnglaunch 8 Spawn indicator for grenade launcher.
g_spawnrlaunch 16 Spawn indicator for rocket launcher.
g_spawnlightning 32 Spawn indicator for lightning gun.
g_spawnrail 64 Spawn indicator for rail gun.
g_spawnplasma 128 Spawn indicator for plasma gun.
g_spawnbfg 256 Spawn indicator for BFG weapon.

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

Example:  To spawn all grenade launchers with the lightning gun, set g_spawnglaunch "32".  To ban the BFG, set g_spawnbfg "0".

 

Banning/Replacing Ammo

Each ammo is represented by a bit flag and the appropriate variable may be set with the a bit flag to make it spawn as another ammo.  To ban an ammo, set the variable of that ammo to zero(0).

CVAR Name Default   Description (Set to another ammo flag to replace)
g_spawnbullets 1 Macnine-gun ammo.
g_spawnshells 2 Shotgun ammo.
g_spawngrenades 4 Grenade launcher ammo.
g_spawnrockets 8 Rocket launcher ammo.
g_spawncells 16 Plasma gun ammo.
g_spawnbattery 32 Lightning gun ammo.
g_spawnslugs 64 Rail gun ammo.
g_spawnbfgammo 128 BFG ammo.

Ammo Bit Flag Value
Bullets 1
Shells 2
Grenades 4
Rockets 8
Cells 16
Duracell 32
Slugs 64
BFG ammo 128

Example:  To spawn all bullets as rockets, set g_spawnbullets "8".  To ban the BFG ammo, set g_spawnbfgammo "0".

 

Banning/Replacing Armor, Health & Items

Armor, health and items bit flags have been combined into one set so that server admins may have more flexibility.  Each item is represented by a bit flag and the appropriate variable may be set with the a bit flag to make it spawn as another item.  To ban an item, set the variable of that item to zero(0).

CVAR Name Default   Description (Set to another item flag to replace)
g_spawnshard 1 Spawn indicator for armor shards.
g_spawnarmorcombat 2 Spawn indicator for combar armor.
g_spawnarmorbody 4 Spawn indicator for body armor.
g_spawnhealthsmall 8 Spawn indicator for small health.
g_spawnhealth 16 Spawn indicator for regular health.
g_spawnhealthlarge 32 Spawn indicator for large health.
g_spawnhealthmega 64 Spawn indicator for mega health.
g_spawnteleporter 128 Spawn indicator for teleporter.
g_spawnmedkit 256 Spawn indicator for medikit.

Item Bit Flag Value
Armor shard 1
Combat armor 2
Body armor 4
Health, small 8
Health, regular 16
Health, large 32
Health, mega 64
Teleporter 128
Medikit 256

Example:  To spawn all armor shards as body armor, set g_spawnshard "4".  To ban the Teleporter, set g_spawnteleporter "0".

 

Banning/Replacing Powerups

Each powerup is represented by a bit flag and the appropriate variable may be set with the a bit flag to make it spawn as another powerup.  To ban a powerup, set the variable of that powerup to zero(0).

CVAR Name Default   Description (Set to another powerup flag to replace)
g_spawnpwquad 1 Quad powerup
g_spawnpwbattle 2 Battlesuit powerup
g_spawnpwhaste 4 Haste powerup
g_spawnpwinvis 8 Invisibility powerup
g_spawnpwregen 16 Regeneration powerup
g_spawnpwflight 32   Flight powerup

Powerup Bit Flag Value
Quad powerup 1
Battlesuit powerup 2
Haste powerup 4
Invisibility powerup 8
Regeneration powerup 16
Flight powerup 32

Example:  To spawn all Quad powerups as Regen, set g_spawnpwquad "16".  To ban the Invisibility, set g_spawnpwinvis "0".

 


Table of Contents Setting Respawn Times Setting Starting Weapons, Armor and Max Health