Weapon usp: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				 (-added class hierarchy, see also)  | 
				||
| Line 1: | Line 1: | ||
{{CD|CWeaponUSP|base=CWeaponCSBaseGun_cs}}  | |||
[[File:weapon_usp.PNG|thumb|right|200px]]  | [[File:weapon_usp.PNG|thumb|right|200px]]  | ||
{{distinguish|weapon_usp_silencer}}  | {{distinguish|weapon_usp_silencer}}  | ||
| Line 4: | Line 5: | ||
==Entity Description==  | ==Entity Description==  | ||
The {{Wiki|Heckler & Koch USP}} is a semi-automatic pistol that uses   | The {{Wiki|Heckler & Koch USP}} is a semi-automatic pistol that uses {{ent|ammo_45acp}} ammunition.  | ||
{{BasicCSSweapon|usp}}  | {{BasicCSSweapon|usp}}  | ||
== See Also ==  | |||
* {{ent|ammo_45acp}}  | |||
Revision as of 04:01, 2 July 2024
| CWeaponUSP | 
Not to be confused with weapon_usp_silencer.
 weapon_usp  is a   point entity  available in 
 Counter-Strike: Source.
Entity Description
The 
 Heckler & Koch USP is a semi-automatic pistol that uses ammo_45acp ammunition.
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.