Item sodacan: Difference between revisions
Jump to navigation
Jump to search
Note:This uses 
In most games except
Half-Life: Source,
Half-Life Deathmatch: Source, and
Jabroni Brawl: Episode 3, you will need to provide your own model as this one is not present.
Additionally, the
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
{{this is a|point entity|name=item_sodacan|except=Strata}} It's a soda can that falls out of {{ent|env_beverage}}, healing 1 [[hit point]] when touched. | {{this is a|point entity|name=item_sodacan|except=Strata}} It's a soda can that falls out of {{ent|env_beverage}}, healing 1 [[hit point]] when touched. | ||
{{note|This uses {{file|models/can|mdl}} by default.<br>In most games except {{hls| | {{note|This uses {{file|models/can|mdl}} by default.<br>In most games except {{hls|2}}, {{hldms|2}}, and {{jbep3|2}}, you will need to provide your own model as this one is not present.<br>Additionally, the {{code|ItemSoda.Bounce}} [[soundscript]] should also be provided, which plays every time the soda can [[think]]s.}} | ||
== Keyvalues == | |||
{{KV Targetname}} | |||
{{KV Angles}} | |||
{{expand|title=CBaseAnimating| | |||
{{KV Studiomodel|no model=1}} | |||
}} | |||
== See also == | == See also == | ||
Revision as of 11:17, 22 September 2024
| CItemSoda |
item_sodacan is a point entity available in all
Source games except
Strata Source. It's a soda can that falls out of env_beverage, healing 1 hit point when touched.
models/can.mdl by default.In most games except
Additionally, the
ItemSoda.Bounce soundscript should also be provided, which plays every time the soda can thinks.Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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.
Shadow:
|