item_sodacan
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 ItemSoda.Bounce soundscript should also be provided, which plays every time the soda can thinks.
Note:Still exists in
Black Mesa, but is deprecated by prop_soda.
Note: See Model entity/Generic Keyvalues, Inputs and Outputs for keyvalues and inputs that affect model rendering.
Note that the following keyvalues are unavailable due to being overridden by game code:
model, solid
It may still be possible to use their associated inputs or AddOutput them.
![]() |
---|
CItemSoda |
![]() |
item_sodacan
is a model 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

Note that the following keyvalues are unavailable due to being overridden by game code:
model, solid
It may still be possible to use their associated inputs or AddOutput them.
- 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
- 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.
See also
FGD Code
Add the following entry to the bottom of base.fgd to place soda cans directly in the map: