Func door rotating: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Info on making double doors function correctly) |
||
Line 2: | Line 2: | ||
==Entity Description== | ==Entity Description== | ||
A brush entity for use as a rotating player-useable door. | A brush entity for use as a rotating player-useable door. For a sliding door, use [[func_door]] instead. In [[Source]], [[prop_door_rotating]] has replaced func_door_rotating as the preferred option for most circumstances. | ||
To make a non-door model into a rotating door, make a [[prop_dynamic]] from the desired model and make its parent a little nodrawed [[func_door_rotating]] at the rotating origin. | |||
To make a | To make a pair of doors open and close together, give them the same '''targetname'''. | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 11:27, 24 February 2006
Entity Description
A brush entity for use as a rotating player-useable door. For a sliding door, use func_door instead. In Source, prop_door_rotating has replaced func_door_rotating as the preferred option for most circumstances.
To make a non-door model into a rotating door, make a prop_dynamic from the desired model and make its parent a little nodrawed func_door_rotating at the rotating origin.
To make a pair of doors open and close together, give them the same targetname.
Keyvalues
- <integer> The amount, in degrees, that the door should rotate when it's opened.
- solidbsp
- <boolean> If set, use VPhysics, otherwise use BSP.
Flags
- 1 : Starts Open
- 2 : Reverse Dir
- 4 : Non-solid to Player
- 8 : Passable
- 16 : One-way
- 32 : Toggle
- 64 : X Axis
- 128: Y Axis
- 256 :Use Opens
- 512 : NPCs Can't
- 1024 : Touch Opens
- 2048 : Starts locked
- 4096 : Door Silent