Weapon galil
From Valve Developer Community
| Table of contents |
[edit]
Entity Description
The IDF Defender uses ammo_556mm ammunition.
[edit]
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- hammerid [Episode Two Update]
- <integer readonly> This id is used for debugging purposes in Hammer.
- Pitch Yaw Roll (Y Z X)
- This entity's angular orientation in the world (also used for angular effect entities).
- ammo
- <int> Amount of reserve ammo to be added. Fallback value is 0. Key must be added manually.
[edit]
Flags
- 1 : Start Constrained
- Prevents the model from moving.
[edit]
Inputs
- Kill
- Removes this entity from the world.
- Removes this entity and all its children from the world.
- AddOutput <string>
- Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
- Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
[edit]
Outputs
- Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
- !activator = activator
- OnPlayerUse
- Fires when the player +uses this weapon.
- !activator = player
- OnPlayerPickup
- Fires when a player picks up this weapon.
- !activator = player
