Env beverage: Difference between revisions
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.
SirYodaJedi (talk | contribs) m (→Keyvalues) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
{{KV|Beverage Type|intn=beveragetype|choices|Which [[skin]] to use. Vanilla {{hls}} skins described below:}} | {{KV|Beverage Type|intn=beveragetype|choices|Which [[skin]] to use. Vanilla {{hls}} skins described below:}} | ||
:<ol start="0"><!-- | :<ol start="0"><!-- | ||
--><li> '''"Coca-Cola"''' - A lime green can with what appears to be half a kiwifruit pictured, labelled "HAI !" in white. <!-- | --><li> '''"Coca-Cola"''' - A lime green can with what appears to be half a kiwifruit pictured, labelled "{{mono|HAI !}}" in white. <!-- | ||
--><li> '''"Sprite"''' - A brown can with yellow droplets pictured, labelled "GLUB" in yellow. <!-- | --><li> '''"Sprite"''' - A brown can with yellow droplets pictured, labelled "{{mono|GLUB}}" in yellow. <!-- | ||
--><li> '''"Diet Coke"''' - A red/blue can with red berries pictured, labelled "GRAPE" in white. <!-- | --><li> '''"Diet Coke"''' - A red/blue can with red berries pictured, labelled "{{mono|GRAPE}}" 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. <!-- | --><li> '''"Orange"''' - A blue and green can with a lighter blue face pictured, and a label that is too pixellated to read clearly. <!-- | ||
--><li> '''"Surge"''' - A dark green can with darker coloured ends, labelled "YUCK" in white. <!-- | --><li> '''"Surge"''' - A dark green can with darker coloured ends, labelled "{{mono|YUCK}}" in white. <!-- | ||
--><li> '''"Moxie"''' - A yellow/orange can with a fiery effect, labelled "DANTE" in dark red. <!-- | --><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. | --><li> '''Random''' - One of the first 6 skins found in the MDL will be chosen at random. | ||
</ol> | </ol> |
Revision as of 12:38, 10 August 2023
![]() |
---|
CEnvBeverage |
![]() |
Template:Entity It is a Half-Life legacy entity: the beverage dispenser. This entity dispenses soda cans (item_sodacan) when +used.
These are not used for the dispensers in Half-Life 2. Those are done with a func_button and point_template.


models/can.mdl
by default.In most games except



Keyvalues
- Capacity (health) <integer>
- Number of cans in the dispenser.
- Beverage Type (beveragetype) <choices>
- Which skin to use. Vanilla
skins described below:
- "Coca-Cola" - A lime green can with what appears to be half a kiwifruit pictured, labelled "HAI !" in white.
- "Sprite" - A brown can with yellow droplets pictured, labelled "GLUB" in yellow.
- "Diet Coke" - A red/blue can with red berries pictured, labelled "GRAPE" in white.
- "Orange" - A blue and green can with a lighter blue face pictured, and a label that is too pixellated to read clearly.
- "Surge" - A dark green can with darker coloured ends, labelled "YUCK" in white.
- "Moxie" - A yellow/orange can with a fiery effect, labelled "DANTE" in dark red.
- Random - One of the first 6 skins found in the MDL will be chosen at random.
- 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
Inputs
- Activate
- Same as Use. Dispenses a can