Weapon deagle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(cleanup)
Line 1: Line 1:
{{DISPLAYTITLE:weapon_deagle}}
[[Image:weapon_deagle.PNG|thumb|right|200px]]
{{css point|weapon_deagle}}
{{css point|weapon_deagle}}


[[Image:Deserteagle.jpg|thumb|right|200px|Desert Eagle]]
== Entity description==
== Entity description==
The '''[[Wikipedia:Desert Eagle|Desert Eagle .50C]]''' (aka Night Hawk .50C, Deagle) is a pistol available to both teams. It uses [[ammo_50ae]] ammunition.
The [[Wikipedia:Desert Eagle|Desert Eagle .50C]] is a pistol available that uses [[ammo_50ae]] ammunition.
 
{{BasicCSSweapon}}
{{BasicCSSweapon}}
[[Category:Counter-Strike: Source Entities]]
[[Category:Counter-Strike: Source Entities]]
[[Category:Weapons]]
[[Category:Counter-Strike: Source Weapons]]

Revision as of 14:53, 2 January 2014

Weapon deagle.PNG

Template:Css point

Entity description

The Desert Eagle .50C is a pistol available that uses ammo_50ae ammunition.

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.