Prop scaled cube: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Small markup improvements)
(Didn't know that there's a portal2_sixense.fgd)
Line 2: Line 2:


{{stub}}
{{stub}}
{{Ent not in fgd}}
   
   
{{portal2 point|prop_scaled_cube}} A variant of the [[prop_weighted_cube|Weighted Cube]] that can be rescaled with the Razer Hydra controller. It is part of the Sixense MotionPack DLC.
{{portal2 point|prop_scaled_cube}} A variant of the [[prop_weighted_cube|Weighted Cube]] that can be rescaled with the Razer Hydra controller. It is part of the Sixense MotionPack DLC.
{{clr}}
{{clr}}
==FGD Code==
<source lang="text">
@PointClass base(Targetname,Angles, Reflection) studio( "models/props_underground/underground_weighted_cube.mdl" ) = prop_scaled_cube : "Scalable Cube"
[
skin(choices) : "Skin (OLD)" : 0 =
[
0 : "Standard"
1 : "Companion"
2 : "Standard Activated"
3 : "Reflective"
4 : "Sphere"
5 : "Antique"
]
CubeType(choices) : "Cube Type" : 0 =
[
0 : "Standard"
1 : "Companion"
2 : "Reflective"
3 : "Sphere"
4 : "Antique"
]
SkinType(choices) : "Skin Type" : 0 =
[
0 : "Clean"
1 : "Rusted"
]
PaintPower(choices) : "Paint Power" : 4 :
"The paint power of the cube." =
[
0 : "Bounce"
2 : "Speed"
3 : "Portal"
4 : "None"
]
NewSkins(boolean) : "Use new skins" : 0 : "Use the values in the Cube Type and Skin Type fields instead of the Skin(OLD) field."
allowfunnel(boolean) : "Allow Portal Funneling" : 1 : "Whether or not this object should auto-funnel into a portal."
input  EnablePortalFunnel(void) : "Enable portal funneling behavior."
input  DisablePortalFunnel(void) : "Disable portal funneling behavior."
input  Dissolve(void) : "Dissolves the cube."
input  SilentDissolve(void) : "Kills the cube and fires its OnFizzled output."
input  PreDissolveJoke(void) : "GLaDOS make a funny about the cube."
input  ExitDisabledState(void) : "Exits the disabled state of a reflective cube."
output OnFizzled(void) : "Fired when a cube is fizzled."
output OnOrangePickUp(void) : "Orange picked up the cube."
output OnBluePickUp(void) : "Blue picked up the cube."
output OnPlayerPickup(void) : "Player picked up the cube."
output OnPhysGunDrop(void) : "Player dropped the cube."
output OnPainted(void) : "Cube got painted."
]
</source>

Revision as of 07:28, 24 August 2011

A prop_scaled_cube

Stub

This article or section is a stub. You can help by expanding it.

Template:Portal2 point A variant of the Weighted Cube that can be rescaled with the Razer Hydra controller. It is part of the Sixense MotionPack DLC.