Creating Portal Doors: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 61: Line 61:
{{clr}}
{{clr}}


Select the Left face, set the Texture Shift X value to 16 and set the Texture Shift Y value to 88.
Select the Top face, set the Texture Shift X value to 16 and set the Texture Shift Y value to 88.
[[Image:Portal_Handle_Doors_Top_Face.png|thumb|left|300px|Top Face Texturing]]
[[Image:Portal_Handle_Doors_Top_Face.png|thumb|left|300px|Top Face Texturing]]
{{clr}}
{{clr}}

Revision as of 23:33, 25 April 2022

Portal Behind The Scenes Level Creation


Introduction

This guide will show you how to open doors with handles that can be opened with the use key.

Note.pngNote:This guide will assume you have Toggle Face Alignment active, this will be necessary for when we modify the textures.

Door

Create a prop_door_rotating and enter the following properties:

Property Name Value
Name d1
World Model models/props_c17/door01_left.mdl
Skin 5
Disable Shadows Yes
Rotating Distance 110
Fully Open Sound Doors.FullOpen1
Fully Closed Sound Doors.FullClose1
Move Sound Doors.Move1

Door Frame

Create 2 4w*4l*112h brushes with the nodraw texture.


Create a 4w*48l*4h brush with the nodraw texture.


Select all the brushes and tie them to a func_detail


Move these brushes around the door and texture all visible faces with metal/metaldoor_white01

Select the Face Edit Sheet, select the front faces and set the Texture Shift X value to 16.

Front Faces Texturing

Select the back faces, set the Texture Shift X value to 16 and set the Alignment to World.

Back Faces Texturing

Select the Right face, set the Texture Shift X value to 216.

Right Face Texturing

Select the Left face, set the Texture Shift X value to 25.

Left Face Texturing

Select the Top face, set the Texture Shift X value to 16 and set the Texture Shift Y value to 88.

Top Face Texturing

Areaportal


Create a 2w*56l*112h brush with the Areaportal texture.


Center this brush with the Door Frame.


Tie this entity to a func_areaportal entity and enter the following properties:

Property Name Value
Name of Linked Door d1
Initial State Closed
Note.pngNote: If your door starts open, set the Initial State Property to Open.

Implementation

Place the door in a suitable area, these doors are typically connected to Observation Hallways.

See Also