Screen (Portal 2)

From Valve Developer Community
Jump to navigation Jump to search
English (en)Русский (ru)Translate (Translate)

Stub

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

Wheatley on one of his monitors.

Monitors are used mainly in the Wheatley theme where Wheatley can be displayed. They are easy to make with func_instance.

Creating monitors with func_instance

Step 1

Create a func_instance entity using the entity tool. Set its VMF filename to instances\monitors\wheatley_bigscreen.vmf. Set its fix-up name to wheatley_monitor_1. Use the clipping tool to create an opening for the monitor and move it into position.

Step 2

Create another func_instance. Set its VMF filename to instances\monitors\wheatley_studio.vmf. Place it outside your map.

Step 3

Create one more func_instance with the VMF instances\choreo\glados_gen_actor.vmf. To make Wheatley speak, fire an output like this:

  My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnTrigger @glados RunScriptCode laser_catapult_test_start() 0.00 No