Weapon usp silencer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{csgo point|weapon_usp_silencer}}
{{csgo point|weapon_usp_silencer}}
[[File:Weapon usp silencer.jpeg|thumbnail|right|The Silenced USP-S]]
==Entity Description==
The {{wiki|USP-S}} found in [[Counter-Strike: Global Offensive]]. It is a semi-automatic pistol. It uses [[ammo_45acp]] as ammunition. It holds 12 rounds in a clip and 24 in reserve. Not to be confused with [[Counter-Strike: Source]]'s [[weapon_usp]]
{{BasicCSSweapon}}
[[Category:Counter-Strike: Global Offensive Weapons]]

Revision as of 06:10, 29 April 2018

weapon_usp_silencer is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

The Silenced USP-S

Entity Description

The Wikipedia icon USP-S found in Counter-Strike: Global Offensive. It is a semi-automatic pistol. It uses ammo_45acp as ammunition. It holds 12 rounds in a clip and 24 in reserve. Not to be confused with Counter-Strike: Source's weapon_usp

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.