Item weapon glock lh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd|nolink=1|because=it doesn't give {{ent|weapon_glock_lh}} due to missing code for it}} right | 160px {{this is a|model entity|name=item_weapon_glock_lh|game=Black Mesa (mod)}} Unused pickup entity which gives one 9mm ammo clip and attempts to give cut entity {{ent|weapon_glock_lh}}. As the name suggests, the weapon itself is (probably) a glock, which is located in the npc_human_assassin|assassi...")
 
No edit summary
Line 1: Line 1:
{{ent not in fgd|nolink=1|because=it doesn't give {{ent|weapon_glock_lh}} due to missing code for it}}
{{ent not in fgd|nolink=1|because=it doesn't give {{ent|weapon_glock_lh}} due to missing code for it}}
[[File: item_weapon_glock_bms12.png | right | 160px]]
[[File: item_weapon_glock_bms12.png | right | 160px]]
{{this is a|model entity|name=item_weapon_glock_lh|game=Black Mesa (mod)}} Unused pickup entity which gives one [[item_ammo_glock|9mm ammo clip]] and attempts to give cut entity {{ent|weapon_glock_lh}}. As the name suggests, the weapon itself is (probably) a glock, which is located in the [[npc_human_assassin|assassin]]'s left hand ({{ent|weapon_assassin_glock}} is used for this purpose). The only possible use of this entity is glock that gives ammo with no weapon. Most inputs, outputs and properties are same as [[CBaseAnimating]].
{{this is a|model entity|name=item_weapon_glock_lh|game=Black Mesa (mod)}} Unused pickup entity which gives one [[item_ammo_glock|9mm ammo clip]] and attempts to give cut entity {{ent|weapon_glock_lh}}. As the name suggests, the weapon itself is (probably) a glock, which is located in the [[npc_human_assassin|assassin]]'s left hand ({{ent|weapon_assassin_glock}} is used for this purpose). The only possible use for this entity is glock that gives ammo with no weapon. Most inputs, outputs and properties are same as [[CBaseAnimating]].


==Keyvalues==
==Keyvalues==

Revision as of 09:00, 20 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it doesn't give weapon_glock_lh due to missing code for it.
Item weapon glock bms12.png

item_weapon_glock_lh is a model entity available in Black Mesa (mod) Black Mesa (mod). Unused pickup entity which gives one 9mm ammo clip and attempts to give cut entity weapon_glock_lh. As the name suggests, the weapon itself is (probably) a glock, which is located in the assassin's left hand (weapon_assassin_glock is used for this purpose). The only possible use for this entity is glock that gives ammo with no weapon. Most inputs, outputs and properties are same as CBaseAnimating.

Keyvalues

Model (model) <model path>
Model to use for this entity.

Outputs

OnPlayerDenied <void>
Fires if the player has not picked it up when touched.
OnPlayerPickup <void>
Fires if the player picked it up.

Inputs

AttachTo <void>
Attaches this entity to !activator, the entity becomes impossible to pick up.
Fall <void>
Doesn't seem to work.

Flags

Start Asleep : [1]
Motion Disabled : [2]