ctf_overrides
{
	when-cvar teamplay equals 256
	replace info_player_deathmatch info_runespawn
}

dmc_overrides
{
	replace trigger_teleport dmc_trigger_teleport
}

qdm_tweaks
{
	when-serverinfo *bspversion equals 0
	replace func_button q1_func_button
}

hldm_weapons
{
	when-serverinfo *bspversion equals 30

	replace weapon_crowbar weapon_axe 
	replace weapon_357 weapon_nailgun 
	replace weapon_python weapon_nailgun 
	replace weapon_9mmAR weapon_supernailgun 
	replace weapon_mp5 weapon_supernailgun 
	replace weapon_crossbow weapon_lightning 
	replace weapon_egon weapon_lightning 
	replace weapon_gauss weapon_lightning 
	replace weapon_handgrenade weapon_grenadelauncher 
	replace weapon_hornetgun weapon_grenadelauncher 
	replace weapon_rpg weapon_rocketlauncher 
	replace weapon_satchel item_rockets 
	replace weapon_shotgun weapon_supershotgun 
	replace weapon_snark item_rockets 
	replace weapon_tripmine item_rockets 
	replace ammo_357 item_nails 
	replace ammo_9mmAR item_nails 
	replace ammo_9mmbox item_nails 
	replace ammo_9mmclip item_shells 
	replace ammo_ARgrenades item_rockets 
	replace ammo_buckshot item_shells 
	replace ammo_crossbow item_cells 
	replace ammo_gaussclip item_cells 
	replace ammo_rpgclip item_rockets 
}

q3a_entities
{
	when-serverinfo *bspversion equals 46

	replace target_speaker info_null
	replace misc_model info_null
	replace func_timer info_null
	replace misc_portal_surface info_null
	replace misc_teleporter_dest info_null
	replace misc_portal_camera info_null
	replace target_delay info_null
	replace info_camp info_null
	replace info_player_intermission info_null
	replace holdable_teleporter info_null
	replace item_armor_shard info_null
	replace item_haste info_null
	replace info_spectator_start info_null
	replace info_thirdplace info_null
	replace info_secondplace info_null
	replace info_firstplace info_null
	replace target_relay info_null
	replace trigger_always info_null
	replace func_static info_null
	replace target_remove_powerups info_null
	replace target_give info_null
	replace item_regen info_null
	replace shooter_grenade info_null
	replace holdable_medkit info_null
	replace func_bobbing info_null
	replace item_flight info_null
	replace target_push info_notnull
	replace target_position info_notnull
	replace target_location info_notnull

	replace ammo_belt item_nails
	replace ammo_bfg item_cells
	replace ammo_bullets item_nails
	replace ammo_cells item_cells
	replace ammo_grenades item_rockets
	replace ammo_lightning item_nails
	replace ammo_mines item_rockets
	replace ammo_nails item_nails
	replace ammo_rockets item_rockets
	replace ammo_shells item_shells
	replace ammo_slugs item_shells

	replace item_armor_body item_armor1
	replace item_armor_combat item_armor2
	replace item_quad item_artifact_super_damage
	replace item_enviro item_artifact_envirosuit
	replace item_invis item_artifact_invisibility

	replace item_health_large q3_item_health_large
	replace item_health_mega q3_item_health_mega
	replace item_health_small q3_item_health_small

	replace team_CTF_blueflag item_flag_team2
	replace team_CTF_blueplayer info_player_team2
	replace team_CTF_bluespawn info_player_team2

	replace team_CTF_redflag item_flag_team1
	replace team_CTF_redplayer info_player_team1
	replace team_CTF_redspawn info_player_team1

	replace weapon_bfg weapon_lightning
	replace weapon_chaingun weapon_supernailgun
	replace weapon_machinegun weapon_nailgun
	replace weapon_plasmagun weapon_supershotgun
	replace weapon_railgun weapon_lightning
	replace weapon_shotgun weapon_supershotgun
}