The Ship Basics: Interactions: Difference between revisions
Jump to navigation
Jump to search
Note:For the sake of this article,
Note:For the sake of this article,
mNo edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
== Creating Cabinet/Wardrobe == | == Creating Cabinet/Wardrobe == | ||
{{ | {{alias|#|any arbitrary number}} | ||
== 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]] | |||
##Set its Parent keyvalue and Target Entity keyvalue to Door_# | |||
##Set its Context Sensitive Interface Menu to Door | |||
##Set its Default Action to Open | |||
[[Category:The Ship]] | [[Category:The Ship]] | ||
== Creating Cabinet/Wardrobe == | |||
<code>May not Work all the time just figuring it out :|</code> | |||
#Create a [[Ship_container]] and choose the world model as some sort of container (e.g a dresser) | |||
#Name It Dresser_# | |||
#Select the Ship_container and go to class info | |||
##Set Container Capacity To preferred setting | |||
##Set Inventory menu title to correspond with the model | |||
#Place in a Cube with the material <code>tools/toolsinteractive</code> so that it covers where u want it to be able to open | |||
#Colour all sides other then the main face that u see with <code>tools/toolsnoninteractive</code> | |||
#Select The Interactive cube and open | |||
##Set the Target Entity To Dresser_# | |||
##Set The Context Sensitive Interface Menu to Container | |||
## Set Default Action to Open | |||
You should have a working Cabinet | |||
P.s thank you to whomever fixed this up and made it look good |
Revision as of 00:14, 27 December 2006

#
represents any arbitrary number.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
tools/toolsinteractive
- Select the brush and make it a ship_base_interaction
- Set its Parent keyvalue and Target Entity keyvalue to Door_#
- Set its Context Sensitive Interface Menu to Door
- 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

#
represents any arbitrary number.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
tools/toolsinteractive
- Select the brush and make it a ship_base_interaction
- Set its Parent keyvalue and Target Entity keyvalue to Door_#
- Set its Context Sensitive Interface Menu to Door
- Set its Default Action to Open
Creating Cabinet/Wardrobe
May not Work all the time just figuring it out :|
- Create a Ship_container and choose the world model as some sort of container (e.g a dresser)
- Name It Dresser_#
- Select the Ship_container and go to class info
- Set Container Capacity To preferred setting
- Set Inventory menu title to correspond with the model
- Place in a Cube with the material
tools/toolsinteractive
so that it covers where u want it to be able to open - Colour all sides other then the main face that u see with
tools/toolsnoninteractive
- Select The Interactive cube and open
- Set the Target Entity To Dresser_#
- Set The Context Sensitive Interface Menu to Container
- Set Default Action to Open
You should have a working Cabinet
P.s thank you to whomever fixed this up and made it look good