Item antigen dispenser: Difference between revisions
Jump to navigation
Jump to search
Bug: This does not seem to do anything. [todo tested in ?]
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
[[File: item_antigen_dispenser.png | right | 200px]] | [[File: item_antigen_dispenser.png | right | 200px]] | ||
{{this is a|point|name=item_antigen_dispenser|game=SiN Episodes}} It is a [[health]] charger which requires a [[prop_antigen_canister]] to function, gradually replenishes player health on use, until the canister is empty or the player is at full health. The dispenser can be set to either start with no canister in place or a canister with a specific percentage available for the player. The dispenser will always be able to give the amount of health points it has available, regardless of the difficulty setting. The antigen canister can be rejected from the dispenser by clicking its top display, allowing the user to replace an empty canister shell with another containing any amount of health found nearby. | {{this is a|point entity|name=item_antigen_dispenser|game=SiN Episodes}} It is a [[health]] charger which requires a [[prop_antigen_canister]] to function, gradually replenishes player health on use, until the canister is empty or the player is at full health. The dispenser can be set to either start with no canister in place or a canister with a specific percentage available for the player. The dispenser will always be able to give the amount of health points it has available, regardless of the difficulty setting. The antigen canister can be rejected from the dispenser by clicking its top display, allowing the user to replace an empty canister shell with another containing any amount of health found nearby. | ||
{{clr}} | {{clr}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV | {{KV Targetname}} | ||
{{KV|Disabled|integer| Should the dispenser be disabled?}} | {{KV|Disabled|integer| Should the dispenser be disabled?}} | ||
{{bug | This does not seem to do anything.}} | {{bug | This does not seem to do anything.}} | ||
{{KV|Antigen|float| Percentage full, if 0 then this dispenser can be loaded with an antigen container}} | {{KV|Antigen|float| Percentage full, if 0 then this dispenser can be loaded with an antigen container}} | ||
{{KV Angles}} | {{KV Angles}} | ||
==Outputs== | ==Outputs== | ||
{{ | {{O|OnCanisterInserted|Fires when an antigen canister is put into the dispenser.}} | ||
{{ | {{O|OnCanisterEjected |Fires when an antigen canister is ejected from the dispenser.}} | ||
{{ | {{O|OnUse|Fires when the <code>Use</code> input is given.}} | ||
Latest revision as of 11:21, 26 September 2024
item_antigen_dispenser
is a point entity available in SiN Episodes. It is a health charger which requires a prop_antigen_canister to function, gradually replenishes player health on use, until the canister is empty or the player is at full health. The dispenser can be set to either start with no canister in place or a canister with a specific percentage available for the player. The dispenser will always be able to give the amount of health points it has available, regardless of the difficulty setting. The antigen canister can be rejected from the dispenser by clicking its top display, allowing the user to replace an empty canister shell with another containing any amount of health found nearby.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities

- Antigen ([todo internal name (i)]) <float>
- Percentage full, if 0 then this dispenser can be loaded with an antigen container
- 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.
Outputs
- OnCanisterInserted
- Fires when an antigen canister is put into the dispenser.
- OnCanisterEjected
- Fires when an antigen canister is ejected from the dispenser.
- OnUse
- Fires when the
Use
input is given.