Chasing Laser: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 41: | Line 41: | ||
==Bugs== | ==Bugs== | ||
* When you walk up to the laser it can't damage you |
Revision as of 10:46, 30 November 2011
Chasing Lasers are a custom element that is not shipped with Portal 2. It's basically a Thermal Discouragement Beam that follows the player wherever he goes.
Creating Chasing Lasers
0.Create a new map with a basic room
1. Create a box with the minimum width and height of 64 x 64 and make it a func_tank with the following settings:
Property Name Value Name Tank Pitch Rate 30 Pitch Range 90
2. Create an env_portal_laser and apply with the following settings:
Property Name Value Parent Tank
3. Create a logic_auto and give it the following Outputs:
Property Name Value My Output Target Entity Target Input Parameter Delay Only Once OnMapSpawn Tank SetTargetEntity !player o.oo No
4.Done
Theory
In the last steps you created a laser spawn and "welded" it onto a brush that is following the player everywhere around. The Tank will follow the player even he can't be seen. The laser is non-lethal, but that can be changed in the env_portal_laser settings
Bugs
- When you walk up to the laser it can't damage you