This article's documentation is for anything that uses the Source engine. Click here for more information.

Item sodacan: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{ent not in fgd}}{{tabs|item_sodacan|goldsrc=1|source=1|main=source}}
{{ent not in fgd}}{{tabs|item_sodacan|goldsrc=1|source=1|main=source}}
{{CD|CItemSoda|file1=effects.cpp}}
{{CD|CItemSoda|file1=effects.cpp}}
{{this is a|name=item_sodacan|e0|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|4}}, {{hldms|4}}, and {{jbep3|4}}, you will need to provide your own model as this one is not present.}}
{{note|This uses {{file|models/can|mdl}} by default.<br>In most games except {{hls|4}}, {{hldms|4}}, and {{jbep3|4}}, you will need to provide your own model as this one is not present.}}

Revision as of 19:00, 17 May 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CItemSoda
CBaseAnimating
CBaseEntity
C++ effects.cpp

item_sodacan is a point entity available in all Source Source games except Strata Source Strata Source. It's a soda can that falls out of env_beverage, healing 1 hit point when touched.

Note.pngNote:This uses 🖿models/can.mdl by default.
In most games except Half-Life: Source Half-Life: Source, Half-Life Deathmatch: Source Half-Life Deathmatch: Source, and Jabroni Brawl: Episode 3 Jabroni Brawl: Episode 3, you will need to provide your own model as this one is not present.

See also

External links