The Ship Basics: Interactions: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(format)
mNo edit summary
Line 1: Line 1:
{{alias|#|any arbitrary number}}
{{alias|#|any arbitrary number}}
== Usage of Interactive's ==
== Creating Doors ==
== Creating Doors ==
#Create a [[prop_door_rotating]] and set its World Model to a door.
#Create a [[prop_door_rotating]] and set its World Model to a door.

Revision as of 13:13, 26 December 2006

Note.pngNote:For the sake of this article, # represents any arbitrary number.

Creating Doors

  1. Create a prop_door_rotating and set its World Model to a door.
  2. Name it Door_#
  3. Place it in your doorway
  4. Make a brush that completely surrounds the door with the material tools/toolsinteractive
  5. Select the brush and make it a ship_base_interaction
    1. Set its Parent keyvalue and Target Entity keyvalue to Door_#
    2. Set its Context Sensitive Interface Menu to Door
    3. Set its Default Action to Open