Weapon CVARs

From No Quarter Wiki

Jump to: navigation, search

Contents

[hide]

g_missileGravity

Description
Sets gravity on Panzer and Bazooka rockets. This is not a bitmask.
Parameters
Type: [0|1|2]
1 Strong gravity
2 Weak gravity (realistic)
Default: 0


g_missileHealth

Description
Sets the amount of health a panzer/bazooka missile has. Set this to 0 to make missiles indestructible.
Parameters
Type: integer
Default: 5


g_missileSpeed

Description
Sets the speed a panzer/bazooka missile travels at. Set to 0 or 2500 to enable default speed. Values over 300 are ignored if Guided Rockets are enabled.
Parameters
Type: integer
Default: 0


g_mortarBBox

Description
Puts a bounding box (hitbox) around mortar shells, to prevent them from going through small windows and other narrow gaps.
Parameters
Type: boolean
Default: 0


g_weaponScriptsDir

Description
Defines the directory that weapon scripts will be placed to edit how weapons behave in NQ. Read more about this in the Weapon Scripting section.
Parameters
Type: string
Default: ""


g_weapons

Description
Various flags to set different weapon behaviors
Parameters
Type: bitmask
1 Field Ops do not spawn with binoculars if they have level 0 Battle Sense
2 Syringes work underwater
4 Pliers work underwater
8 "Too many airstrikes requested/Insufficient fire support" will restore used charge bar
16 "Too many airstrikes requested/Insufficient fire support" will restore half of used charge bar
32 Restore lost helmets with ammo packs
Default: 0


team_maxLandmines

Description
Sets the maximum number of landmines a team can have planted at any given time. Values higher than 1023 are not shown correctly on the client side. 1.0.4 and 1.0.2 use g_maxTeamLandmines
Parameters
Type: integer
Default: 10


team_maxFlamers

team_maxMG42s

team_maxMortars

team_maxPanzers

team_maxRifleGrenades

team_maxShotguns

team_maxVenoms

Description
These are to cap the maximum ammount of respective weapons per team. Value -1 means no limit.
NOTE: team_maxPanzers includes bazookas and team_maxMG42s includes browning MG's.
NOTE 2: jp_insanity 256 (Venom Mode) needs to be enabled for team_maxVenoms to have any effect.
Parameters
Type: integer
Default: -1

team_panzerrestriction (New in 1.2.0)

Description
%team value to enable panzer. If set to 10 on 20 player slot server up to 2nd player panzer is enabled. If limit is undershot during gameplay panzer is dropped and player is forced to use secondary weapon.
Parameters
Type: [0-100]
Default: 0
Personal tools