The Ship Basics: Interactions: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(format)
Line 1: Line 1:
{{alias|#|any arbitrary number}}
== Usage of Interactive's ==
== Usage of Interactive's ==


This is basically what I have been able to make using Interactive's . If you know how to do something or someone has made an error please edit it.
== Creating Doors ==
 
#Create a [[prop_door_rotating]] and set its World Model to a door.
 
#Name it Door_#
 
#Place it in your doorway
----
#Make a brush that completely surrounds the door with the material <code>tools/toolsinteractive</code>
 
#Select the brush and make it a [[ship_base_interaction]]
== Doors ==
##Set its Parent keyvalue and Target Entity keyvalue to Door_#
This is how you create a basic door
##Set its Context Sensitive Interface Menu to Door
:1) Spawn a entity Called Prop_door_rotating. go to World Model And search for door. Select Any door you like but it cant be a _dynamic one.
##Set its Default Action to Open
:2) Name it Door_1 Or whatever u are going to use
:3) Place it in your doorway
:4) Make a cube completely Surrounding the door
:5) Use the texture tools/toolsinteractive
:6) Select the interactive Cube and press ctrl + T
:7) Go to Parent
:8) Type in the name of your door
:9) Go to Target entity Put in the name of your door
:10) Go to Context Sensitive Interface Menu.
:11) Go to the scroll down menu and select Door.
 
You should now have a working door
 
 
----
 
== Room Name (Location Title) ==
This Is how you get the room names to work such as Corridor and First Class Cabin 1
 
:1) Make a Cube the size of the room or space u want to label
:2) Put tools/toolsshiproom as the texture and texture that cube
:3) Select the cube and press Ctrl + T
:4) Put the Name as E.g If its a corridor Corridor_X
:5) If Its a Off limits room you can change the Trespass Sentence and Trespass Fine
:6) Change The Room Deck, Room Number, Room Name, Room Type to correspond to the room you are naming
 
Test it out your room should be named now as Room name followed buy the room Number and then the room Deck

Revision as of 13:12, 26 December 2006

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

Usage of Interactive's

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