METHOD(HLAC, m_spawnfunc_hookreplace, Weapon(HLAC this, entity e))
{
- if (autocvar_g_allow_noncore_weapons && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
+ if (autocvar_g_weapon_noncore_allow && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
{
return WEP_CRYLINK;
}
METHOD(MineLayer, m_spawnfunc_hookreplace, Weapon(MineLayer this, entity e))
{
- if (autocvar_g_allow_noncore_weapons && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
+ if (autocvar_g_weapon_noncore_allow && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
{
return WEP_MORTAR;
}
METHOD(Rifle, m_spawnfunc_hookreplace, Weapon(Rifle this, entity e))
{
- if (autocvar_g_allow_noncore_weapons && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
+ if (autocvar_g_weapon_noncore_allow && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
{
return WEP_VORTEX;
}
METHOD(Seeker, m_spawnfunc_hookreplace, Weapon(Seeker this, entity e))
{
- if (autocvar_g_allow_noncore_weapons && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
+ if (autocvar_g_weapon_noncore_allow && !Item_IsLoot(e) && (this.spawnflags & WEP_FLAG_MUTATORBLOCKED))
{
return WEP_HAGAR;
}
int autocvar_sv_name_maxlength = 64;
bool autocvar_sv_precacheplayermodels;
bool autocvar_sv_q3acompat_machineshotgunswap;
-bool autocvar_g_allow_noncore_weapons = true;
+bool autocvar_g_weapon_noncore_allow = true;
bool autocvar_sv_servermodelsonly;
int autocvar_sv_spectate;
float autocvar_sv_spectator_speed_multiplier;
BADCVAR("capturelimit_override");
BADCVAR("fraglimit_override");
BADCVAR("gametype");
- BADCVAR("g_allow_noncore_weapons");
+ BADCVAR("g_weapon_noncore_allow");
BADCVAR("g_antilag");
BADCVAR("g_balance_teams");
BADCVAR("g_balance_teams_prevent_imbalance");
set sv_q3acompat_machineshotgunswap 0 "shorthand for swapping machinegun and shotgun (for Q3A map compatibility in mapinfo files)"
set sv_q3defragcompat 0 "toggle for some compatibility hacks (for Q3DF map compatibility)"
-set g_allow_noncore_weapons 1 "automatically replace legacy Nexuiz weapons with Xonotic counterparts, not applied when using the New Toys mutator"
+set g_weapon_noncore_allow 1 "allow non-core weapons to spawn in the map"
set g_movement_highspeed 1 "multiplier scale for movement speed (applies to sv_maxspeed and sv_maxairspeed, also applies to air acceleration when g_movement_highspeed_q3_compat is set to 0)"
set g_movement_highspeed_q3_compat 0 "apply speed modifiers to air movement in a more Q3-compatible way (only apply speed buffs and g_movement_highspeed to max air speed, not to acceleration)"