Weapon 30cal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added Category: Weapons)
No edit summary
Line 1: Line 1:
[[File:30cal_deployed.jpg|right|150px|thumb|The Allied .30 cal MG deployed while prone]]
[[File:30cal_deployed.jpg|right|150px|thumb|The Allied .30 cal MG deployed while prone]]
{{dods point|weapon_30cal}}
{{dods point|weapon_30cal}}


==Entity Description==
==Entity description==
The '''weapon_30cal''' is a [[Wikipedia:M1919 Browning machine gun|Browning M1919]], an American machinegun used by the Allied [[DODS/Mg class|Mg class]].
The '''weapon_30cal''' is a [[Wikipedia:M1919 Browning machine gun|Browning M1919]], an American machinegun used by the Allied [[DODS/Mg class|Mg class]].
 
{{BasicCSSweapon}}
== Weapon statistics ==
{| style="width:375px; text-align:left"
!Recoil
|None (depolyed) / Very high (undeployed)
|-
!Damage
|High
|-
!Accuracy
|High (deployed) / Very low (undeployed)
|-
!Range
|Very high (deployed) / Very low (undeployed)
|-
!Rate of fire
|High
|}
 
== Attack modes ==
== Attack modes ==
* +attack will set the Machine Gun to fire.
* +attack will set the Machine Gun to fire.

Revision as of 09:03, 13 June 2011

The Allied .30 cal MG deployed while prone

Template:Dods point

Entity description

The weapon_30cal is a Browning M1919, an American machinegun used by the Allied Mg class.

KeyValues

CS:S Weapon:

Ammo (ammo) <integer> (only in Counter-Strike: Source)
Amount of reserve ammo to be added. Fallback value is 0. !FGD


Flags

Start Constrained : [1]
Prevents the model from moving.
Deny Player Pickup : [2] !FGD
Prevents player from being able to pick up the weapon.


Outputs

CS:S Weapon:

OnPlayerUse
Fires when a player +uses this weapon (!activator is the player.). Does not fire if the weapon is picked up successfully.
OnPlayerPickup
Fires when a player picks this weapon up (!activator is the player.).
OnCacheInteraction  !FGD
When dropped, fires every tick on player touch (!activator is the player.).
OnNPCPickup  !FGD
Fires when an NPC picks up this weapon (!activator is the NPC). Bots are considered players, so this output has no functionality.
Counter-Strike: Source Hostages might be NPCs, but they don't pick weapons up.

Attack modes

  • +attack will set the Machine Gun to fire.
  • +attack2 will deploy the Machine Gun on any surface suitable. The surface can be a brush or a model.

Other information

  • The .30 caliber Machine Gun can be used in any map.
  • Servers can limit the .30 cal MG by using this cvar mp_limit_allies_mg X. where X is the maximum desired number of MG players

See also

External links