Corned Beef
ent_pic01_c.jpg
Sitting aside some sankaba on Dr. Kleiner's desk.
Model misc/foods/cornedbeef.mdl
First Found… d1_trainstation_05

Description Keyvalues Inputs Outputs

Description

food_cornedbeef is the entity name for one of two new food items found in SMOD that will grant the player 10 points of health and battery power each, even if those are already maxed out. Food like this is found sporadically throughout the beginning chapters of the Half-Life2 campaign.

(DBDB: Could use some new shots when able.)

Keyvalues

  • targetname <string>
    Assigns the entity a targetname, used by other entities to refer to this entity. Can be shared by other entities.
  • origin <X Y Z>
    Sets the position of the entity within the world. See Coordinates.
  • angle <X Y Z>
    Sets the angular positioning (Pitch, Yaw, Roll) of the entity.
  • model <string>
    Sets the model of the entity.
  • fademindist <float>
    Sets the distance at which the entity model starts to fade. (0 : use fademaxdist)
  • fademaxdist <float>
    Sets the maximum distance at which the entity model is visible. (0 : don't fade out)
  • fadescale <float>
    The scale factor that gives some control over fading. Using 0 turns off the forced fade values.

Inputs

  • Kill
    Deletes the entity.
  • KillHierarchy
    Deletes the entity along with any children it may have.
  • AddOutput <key> <value> OR <output name> <entity>: <input>: <parameter>: <delay>: <fire only once?>
    Evaluates a keyvalue/output on this entity. Not guaranteed to work and can cause problems so handle with care.

Outputs

  • OnPlayerTouch
    Fires when the player touches this object.
  • OnCacheInteraction
    This output fires when the player proves they have 'found' this item. Fires when the player bumps into the item, picks it up, or manipulates it with the Gravity Gun.



Entities

Foods Corned BeefSoy BeansSankaba
Usable/Other Justaway DollMiniature Item CrateOtosidamaPower Pill
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License