Weapon 30cal: Difference between revisions
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 | ==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}} | |||
{ | |||
== 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
Entity description
The weapon_30cal is a Browning M1919, an American machinegun used by the Allied Mg class.
KeyValues
CS:S Weapon:
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.
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
. whereX
is the maximum desired number of MG players