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
mNo edit summary
Line 2: Line 2:
{{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|name=item_sodacan|e0|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.}}


== See also ==
== See also ==

Revision as of 19:48, 15 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 an e0 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