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

Env beverage (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Reverted edits by Nescius (talk) to last revision by SirYodaJedi)
Tag: Rollback
Line 7: Line 7:
{{KV|Capacity|intn=health|integer|Number of cans in the dispenser.}}
{{KV|Capacity|intn=health|integer|Number of cans in the dispenser.}}
{{KV|Beverage Type|intn=skin|choices|Which [[skin]] to use for the spawned can. Vanilla {{hl}} skins described below:}}
{{KV|Beverage Type|intn=skin|choices|Which [[skin]] to use for the spawned can. Vanilla {{hl}} skins described below:}}
:#'''"Coca-Cola"''' - A lime green can with what appears to be half a kiwifruit pictured, labelled "{{mono|HAI !}}" in white.
:<ol start="0"><!--
:#'''"Sprite"''' - A brown can with yellow droplets pictured, labelled "{{mono|GLUB}}" in yellow.
--><li> '''"Coca-Cola"''' - A lime green can with what appears to be half a kiwifruit pictured, labelled "{{mono|HAI !}}" in white. <!--
:#'''"Diet Coke"''' - A red/blue can with red berries pictured, labelled "{{mono|GRAPE}}" in white.
--><li> '''"Sprite"''' - A brown can with yellow droplets pictured, labelled "{{mono|GLUB}}" in yellow. <!--
:#'''"Orange"''' - A blue and green can with a lighter blue face pictured, and a label that is too pixellated to read clearly.
--><li> '''"Diet Coke"''' - A red/blue can with red berries pictured, labelled "{{mono|GRAPE}}" in white. <!--
:#'''"Surge"''' - A dark green can with darker coloured ends, labelled "{{mono|YUCK}}" in white.
--><li> '''"Orange"''' - A blue and green can with a lighter blue face pictured, and a label that is too pixellated to read clearly. <!--
:#'''"Moxie"''' - A yellow/orange can with a fiery effect, labelled "{{mono|DANTE}}" in dark red.  
--><li> '''"Surge"''' - A dark green can with darker coloured ends, labelled "{{mono|YUCK}}" in white. <!--
:#'''Random''' - One of the first 6 skins found in the MDL will be chosen at random.
--><li> '''"Moxie"''' - A yellow/orange can with a fiery effect, labelled "{{mono|DANTE}}" in dark red. <!--
--><li> '''Random''' - One of the first 6 skins found in the MDL will be chosen at random.
</ol>
:{{note|While skin 6 cannot be selected, skins 7 and higher can. Only skins 0-5 will be used by "random", however.}}
:{{note|While skin 6 cannot be selected, skins 7 and higher can. Only skins 0-5 will be used by "random", however.}}

Revision as of 13:36, 1 September 2024

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

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
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.
Capacity (health) <integer>
Number of cans in the dispenser.
Beverage Type (skin) <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 !" in white.
  2. "Sprite" - A brown can with yellow droplets pictured, labelled "GLUB" in yellow.
  3. "Diet Coke" - A red/blue can with red berries pictured, labelled "GRAPE" in white.
  4. "Orange" - A blue and green can with a lighter blue face pictured, and a label that is too pixellated to read clearly.
  5. "Surge" - A dark green can with darker coloured ends, labelled "YUCK" in white.
  6. "Moxie" - A yellow/orange can with a fiery effect, labelled "DANTE" in dark red.
  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.