The Ship Basics: Interactions: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:
##Set its Context Sensitive Interface Menu to Door
##Set its Context Sensitive Interface Menu to Door
##Set its Default Action to Open
##Set its Default Action to Open
[[Category:The Ship]]
Hopefully this sheds some light on how interactions work; to be more productive, use the door prefabs included in [[The Ship SDK]].


== Creating Cabinet/Wardrobe ==
== Creating Cabinet/Wardrobe ==
 
{{wip}}
{{Hello}}
[[Category:The Ship]]

Revision as of 22:31, 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

Hopefully this sheds some light on how interactions work; to be more productive, use the door prefabs included in The Ship SDK.

Creating Cabinet/Wardrobe

Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.