Chasing Laser: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
'''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 | {{LanguageBar}} | ||
'''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 they go. | |||
== | ==Creation== | ||
0.Create a new map with a basic room | 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 | 1. Create a box with the minimum width and height of 64 x 64 and make it a [[func_tank]] with the following settings: | ||
::{| class=standard-table | ::{| class=standard-table | ||
Line 28: | Line 29: | ||
::{| class=standard-table | ::{| class=standard-table | ||
! | ! My Output || Target Entity || Target Input || Parameter || Delay || Only Once | ||
|- | |- | ||
| OnMapSpawn || Tank || SetTargetEntity || !player || 0.00 || No | |||
| OnMapSpawn || Tank || SetTargetEntity || !player || | |||
|} | |} | ||
Line 41: | Line 40: | ||
==Bugs== | ==Bugs== | ||
* When you walk up to the laser it can't damage you | |||
[[Category:Portal 2 Level Design]] |
Latest revision as of 07:12, 2 July 2025
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 they go.
Creation
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:
My Output Target Entity Target Input Parameter Delay Only Once OnMapSpawn Tank SetTargetEntity !player 0.00 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