Screen (Portal 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 7: Line 7:


==Step 1==
==Step 1==
Make a brush with the "dev/monitor" texture and press ''ctrl + t'' and change the block into a [[func_monitor]] and call it monitor.
 
Make an entity (See [[Creating_a_brush_entity]] for help) with the texture "dev/monitor". Change the entity into the [[func_monitor]] class. Name the entity monitor1.


==Step 2==
==Step 2==

Revision as of 18:33, 15 December 2011

Stub

This article or section is a stub. You can help by expanding it.

Monitors are easy to make and they make the map more living.

Creating

Monitors are made by making a func_monitor and a point_camera.

Step 1

Make an entity (See Creating_a_brush_entity for help) with the texture "dev/monitor". Change the entity into the func_monitor class. Name the entity monitor1.

Step 2

Make a point_camera and set its name to monitor_camera.

Step 3

Go to the func_monitor’s properties and set camera name to: monitor_camera.

Step 4

Connect the camera and the monitor to a trigger and set the trigger’s output to:

My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnTrigger monitor Enable 0.00 No
Io11.png OnTrigger monitor_camera SetOn 0.00 No

Step 5

Compile and test the map.