Item ammo buckshot

From Valve Developer Community
Jump to: navigation, search
List of SE1 entities
Item ammo buckshot.png


<SiN Episodes: Emergence> This is a point entity available in Sin Episodes. It's a box of scattergun ammo for the weapon_scattergun and provides 10 in ammunition regardless of difficulty setting, even through only 8 are visible to be in the package.

Keyvalues

Targetname:

Name <string>
The targetname that other entities refer to this entity by.

Angles:

Pitch Yaw Roll (Y Z X) <angle>
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.

Shadow:

Disable shadows (disableshadows) <boolean>
Prevent the entity from creating cheap render-to-texture shadows. Does not affect shadow mapping.

Inputs

Base:

AddOutput <string>
Evaluates a keyvalue/output on this entity.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 to FireUser4
Fire the OnUser outputs; see User Inputs and Outputs.
Kill
Removes this entity and any entities parented to it from the world.
KillHierarchy
Functions the same as Kill, although this entity and any entities parented to it are killed on the same frame, being marginally faster than Kill.
EnableShadow
Allows the entity to draw a render target shadow.
DisableShadow
Prevents the entity from drawing a render target shadow.

Outputs

Item:

OnPlayerTouch
Fires when the player touches this item. !activator is the player.

Base:

OnUser1 to OnUser4
These outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.
OnUse
Fired when the Use input is given.