This article's documentation is for the "GoldSrc" engine. Click here for more information.

env_beverage

From Valve Developer Community
Revision as of 14:52, 2 November 2025 by SirYodaJedi (talk | contribs) (→‎Key Values)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Source Engine ( General | Black Mesa )
Edit Tabs

env_beverage is a point entity available in all GoldSrc GoldSrc games. This entity dispenses soda cans when used.

Key Values

The six flavors of soft drinks in Half-Life Half-Life.

Name (targetname) <string>

The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.

Pitch Yaw Roll (Y Z X) (angles) <QAngle>

Which direction to dispense the pop.

Capacity (health) <integer>

Number of cans in the dispenser.

Beverage Type (skin) <integer choices>

Which skin to use for the spawned can. Vanilla Half-Life skins described below:
  1. "Coca-Cola" - A lime green can with what appears to be half a kiwifruit pictured, labelled "HAI !".
  2. "Sprite" - A brown can with yellow droplets pictured, labelled "GLUB".
  3. "Diet Coke" - A red/blue can with red berries pictured, labelled "GRAPE".
  4. "Orange" - A blue and green can with a lighter blue face pictured, labelled "GUTHRIE".
  5. "Surge" - A dark green can with darker coloured ends, labelled "YUCK".
  6. "Moxie" - A yellow/orange can with a fiery effect, labelled "DANTE".
  7. Random - One of the first 6 skins found in the MDL will be chosen at random.
Note.pngNote:While skin 6 cannot be selected, skins 7 and higher can. Only skins 0-5 will be used by "random", however.