Prop weighted cube: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Re-arranged some fields)
Line 9: Line 9:


==Keyvalues==
==Keyvalues==
{{KV|Skin (OLD)|choices}}
{{KV|Skin (OLD)|choices|Cube skin, old method. Probably deprecated.}}
:* 0 : Standard
:* 0 : Standard
:* 1 : Companion
:* 1 : Companion
Line 16: Line 16:
:* 4 : Sphere
:* 4 : Sphere
:* 5 : Antique
:* 5 : Antique
{{KV|Cube Type|choices}}
{{KV|Cube Type|choices|Cube model type.}}
:* 0 : Standard
:* 0 : Standard
:* 1 : Companion
:* 1 : Companion
Line 22: Line 22:
:* 3 : Sphere
:* 3 : Sphere
:* 4 : Antique
:* 4 : Antique
{{KV|Skin Type|choices}}
{{KV|Skin Type|choices|Cube model skin variant.}}
:* 0 : Clean
:* 0 : Clean
:* 1 : Rusted
:* 1 : Rusted

Revision as of 07:18, 27 May 2011


Weighted Pivot 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.