Prop weighted cube

From Valve Developer Community
Revision as of 08:36, 27 May 2011 by Barracuda (talk | contribs) (Added cube types image)
Jump to navigation Jump to search
Types of the Aperture Science Weighted Storage Cube.

Template:Portal2 point

Entity description

The various kinds of Weighted storage cubes, including the Weighted Pivot Cube (also known as Discouragement Redirection Cubes) that redirects Thermal Discouragement Beams. Not to be confused with the Frankenturrets.

Keyvalues

Skin (OLD) ([todo internal name (i)]) <choices>
Cube skin, old method. Probably deprecated.
  • 0 : Standard
  • 1 : Companion
  • 2 : Standard Activated
  • 3 : Reflective
  • 4 : Sphere
  • 5 : Antique
Cube Type ([todo internal name (i)]) <choices>
Cube model type.
  • 0 : Standard
  • 1 : Companion
  • 2 : Reflective
  • 3 : Sphere
  • 4 : Antique
Skin Type ([todo internal name (i)]) <choices>
Cube model skin variant.
  • 0 : Clean
  • 1 : Rusted
Paint Power ([todo internal name (i)]) <choices>
The paint power of the cube.
  • 0 : Bounce
  • 2 : Speed
  • 3 : Portal
  • 4 : None
Use new skins ([todo internal name (i)]) <boolean>
Use the values in the Cube Type and Skin Type fields instead of the Skin(OLD) field.
Allow Portal Funneling ([todo internal name (i)]) <boolean>
Whether or not this object should auto-funnel into a portal.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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.
Render in Fast Reflections (drawinfastreflection) <boolean> (in all games since Portal 2)
If enabled, this entity will render in fast water reflections (i.e. when a water material specifies $reflectonlymarkedentities) and in the world impostor pass.

Inputs

Reflection:

DisableDrawInFastReflection  (in all games since Portal 2)
Turns off rendering of this entity in reflections when using $reflectonlymarkedentities in water material.
EnableDrawInFastReflection  (in all games since Portal 2)
Turn on rendering of this entity in reflections when using $reflectonlymarkedentities in water material.

Outputs

OnFizzled
Fired when a cube is fizzled.
OnOrangePickUp
Orange picked up the cube.
OnBluePickUp
Blue picked up the cube.
OnPlayerPickup
Player picked up the cube.
OnPhysGunDrop
Player dropped the cube.
OnPainted
Cube got painted.