Func door rotating: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: Don't disrespect ma doors. They're people too. Ehm.)
Line 2: Line 2:


==Entity Description==
==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.
A brush entity for use as a rotating player-useable door. (For a sliding door, use [[func_door]] instead.) Normally [[Source]] games will use [[prop_door_rotating]] entities using special ''door models''. This entity is only suitable if no such model exists for the door. Either its brush can be shaped into a door with a door texture, or, if a non-door model exists, a [[prop_dynamic]] using the model can be parented to a little nodrawed func_door_rotating at the rotating origin.
 
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'''.
To make a pair of doors open and close together, give them the same '''targetname'''.

Revision as of 18:05, 13 September 2006

Template:Wrongtitle

Entity Description

A brush entity for use as a rotating player-useable door. (For a sliding door, use func_door instead.) Normally Source games will use prop_door_rotating entities using special door models. This entity is only suitable if no such model exists for the door. Either its brush can be shaped into a door with a door texture, or, if a non-door model exists, a prop_dynamic using the model can be parented to 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

Inputs

Outputs

See Also