Creating Portal Vacuum Tubes: Difference between revisions
No edit summary |
|||
Line 38: | Line 38: | ||
{{clr}} | {{clr}} | ||
== | ==Movement== | ||
{{todo|Finish the rest of the guide | ===Horizontal Movement=== | ||
Create brushes with the <code>[[Tool_textures#trigger|Trigger]]</code> texture 32 units high and 80 in width, the length will depend on how long your tube is. | |||
[[File:Portal vacuum tubes trigger push.png|thumb|left|300px|Vacuum Tube Collision]] | |||
{{clr}} | |||
Tie each individual brush to a <code>[[trigger_push]]</code> entity and enter the following properties: | |||
Enter the following properties: | |||
{| class=standard-table | |||
! Property Name || Value | |||
|- | |||
| Speed of Push || 350 | |||
|} | |||
Tick the <code>Clients</code> flag and set its <code>Push Direction</code> to the direction your tube will go. | |||
===Horizontal Movement=== | |||
If your pipes require you to move up, you need to create an 80w*80l*16h brush with the <code>Invisible</code> texture, tie it to a <code>[[func_door]]</code> entity and enter the following properties: | |||
{| class=standard-table | |||
! Property Name || Value | |||
|- | |||
| Name || door_push_up_pipe | |||
|- | |||
| Speed|| 200 | |||
|- | |||
| 1|| | |||
|- | |||
| Forced Closed|| Yes | |||
|- | |||
| Move Direction|| -90 0 0 | |||
|} | |||
Under flags, untick <code>Touch Opens</code> and tick <code>Door Silent</code>. | |||
{{todo|Finish the rest of the guide}} | |||
== See Also == | == See Also == |
Revision as of 00:44, 11 April 2022
Introduction
This guide will teach you how to create Vacuum Tubes.

Setting Up
Put prop_static
entities. Set their model to these:
- Straight Tube - clear_tube_straight.mdl
- Mutli-Directional Tube - clear_tube_tjoint.mdl
- Broken Tube - clear_tube_broken.mdl
- 90 Degree Tubes - clear_tube_90deg.mdl
Enter the following properties:
Property Name | Value |
---|---|
Collisions | Not Solid |
Create your path with the models.
Walls
Create walls with the nodraw
texture, texture the inside faces or visible faces with metal/metalwall_bts_006a
. Create orange pits as well.
Simple Collisions
Put brushes around the tubes with the invisible texture. Turn all of these brushes to a func_detail
. The wall brushes should be 24 units in Width and the ceiling and floor brushes should be 32 units in width.
Movement
Horizontal Movement
Create brushes with the Trigger
texture 32 units high and 80 in width, the length will depend on how long your tube is.
Tie each individual brush to a trigger_push
entity and enter the following properties:
Enter the following properties:
Property Name | Value |
---|---|
Speed of Push | 350 |
Tick the Clients
flag and set its Push Direction
to the direction your tube will go.
Horizontal Movement
If your pipes require you to move up, you need to create an 80w*80l*16h brush with the Invisible
texture, tie it to a func_door
entity and enter the following properties:
Property Name | Value |
---|---|
Name | door_push_up_pipe |
Speed | 200 |
1 | |
Forced Closed | Yes |
Move Direction | -90 0 0 |
Under flags, untick Touch Opens
and tick Door Silent
.