Otosidama
ent_pic01_c.jpg
Littering Dr. Kleiner's table.
Model misc/newyear/otosidama.mdl
First Found… d1_trainstation_05

Description Keyvalues Inputs Outputs

Description

item_otosidama is the entity name for the pochibukuro envelopes found in Dr. Kleiner's Lab on New Year's Day. These will grant the player between 1 and 9000 money units for buying health and armor at aid stations and chargers, if smod_gamemode is enabled.

(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