weapon_glock

From Valve Developer Community
Revision as of 15:29, 26 September 2025 by Void2000 (talk | contribs)
Jump to navigation Jump to search

weapon_glock is a point entity available in Cry of Fear Cry of Fear. A pistol based off the Glock 17. The weapon's mag holds 15 rounds and up to 10 mags can be carried. A mag can be placed with ammo_glock.

In-game viewmodel.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.
Delay before trigger (delay) <integer>
Delay in seconds before firing the targeted entity.
Killtarget (killtarget) <targetname>
Entity to remove when activated.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Gallery