Screen (Portal 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 8: Line 8:
==Step 1==
==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.
Make an entity (See [[Creating_a_brush_entity]] for help). Change the entity into the [[func_monitor]] class. Name the entity monitor1.


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

Revision as of 16:17, 11 July 2012

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). Change the entity into the func_monitor class. Name the entity monitor1.

Step 2

point_camera used to show wheatley's monitor

Make a point_camera with the name monitor_camera. It should look like this when you put it in your map. Make sure it is in the right position so the monitor will show clearly the thing you want to be showed up in the func_monitor

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

The texture that is needed to be used

Texture the face you want the screen to appear to "dev_tvmonitor1a. You should also click the button "Fit" for a better quality.