Creating A Portal Background
Introduction
This guide will tell you how to create a background.
Camera
Create a point_viewcontrol
and enter the following properties:
Property Name | Value |
---|---|
Name | background_cam |
Entity to Look At | background_move |
Go to Flags and check Freeze Player
and Infinite Hold Time
. Uncheck Start At Player
and Follow Player
.
Camera Movement
Create a func_movelinear
with the nodraw
texture and enter the following properties:
Property Name | Value |
---|---|
Name | background_move |
Move Direction | (Your Choice) |
Speed | (Your choice, 16 is a good number.) |
Move Distance | (Your choice) |
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnFullyClosed | !self | Open | <None> | 0.00 | No |
![]() |
OnFullyOpen | !self | Close | <None> | 0.00 | No |
Go to flags and check Not Solid
Create a logic_auto
entity and enter the following outputs:
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnMapSpawn | background_move | Open | <None> | 0.00 | No |
![]() |
OnMapSpawn | background_cam | Enable | <None> | 0.00 | No |