Weapon CVARs

From No Quarter Wiki

Jump to: navigation, search

Contents

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_maxFlamers

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: Flamethrower and Flammenwerfer
Parameters
Type: integer
Default: -1


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.
Parameters
Type: integer
Default: 10


team_maxLMGs (New since 1.2.7)

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: BAR and STG44
Parameters
Type: integer
Default: -1


team_maxMG42s

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: Browning and MG42
Parameters
Type: integer
Default: -1


team_maxMortars

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: Mortar
Parameters
Type: integer
Default: -1


team_maxPanzers

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: Bazooka and Panzerfaust
Parameters
Type: integer
Default: 3


team_maxRifleGrenades

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: M1 Garand (+ M7 Rifle Grenade) and K43 (+ GPG40 Rifle Grenade)
Parameters
Type: integer
Default: -1


team_maxScopes (New since 1.2.7)

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: M1 Garand Scoped, K43 Scoped and FG42 Paratroop Rifle
Parameters
Type: integer
Default: -1


team_maxShotguns

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Affected weapons: Winchester Model 1897 Shotgun
Parameters
Type: integer
Default: -1


team_maxVenoms

Description
Cap the maximum amount of respective weapons per team. A value -1 means no limit, a value of 0 disables the weapon completely.
Note: jp_insanity 256 (Venom Mode) needs to be enabled for team_maxVenoms to have any effect!
Affected weapons: Venom
Parameters
Type: integer
Default: -1


team_panzerrestriction (New since 1.2.0)

Description
Enables an X amount of panzers (or bazookas), based on a given percentage weighed against the amount of players on the server. If set to 10(%) on a 20 player slot server, up to 2 panzers per team max. are enabled. If the threshold is undershot during gameplay, the panzer is dropped and the player is forced to use his secondary weapon.
Parameters
Type: [0-100]
Default: 0