Creating Portal Vacuum Tubes

From Valve Developer Community
Revision as of 00:54, 11 April 2022 by Mandrew (talk | contribs) (→‎Horizontal Movement: Fixed IO icon)
Jump to navigation Jump to search
Portal Behind The Scenes Level Creation

Introduction

This guide will teach you how to create Vacuum Tubes.

Warning.pngWarning: This page is incomplete, it's recommended that you don't follow the guide until it's finished

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.

Vacuum Tube Path

Walls

Create walls with the nodraw texture, texture the inside faces or visible faces with metal/metalwall_bts_006a. Create orange pits as well.

Vacuum Tube Walls


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.

Vacuum Tube Collision

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.

Vacuum Tube Collision

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
Forced Closed Yes
Move Direction -90 0 0

Create a 29w*128l*64h brush with the trigger texture, tie this brush to a trigger_multiple and enter the following properties.

My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnStartTouch door_push_up_pipe Open <none> 0.00 No

Under flags, untick Touch Opens and tick Door Silent. Set the lip value to a negative value to move the door upwards.

Make sure there are no trigger_push brushes that interfere with the door_push_up_pipe.

Todo: Finish the rest of the guide

See Also