Discouragement Field
Jump to navigation
Jump to search
The Death Field is a special energy field in Portal 2 which kills any player touching it, but not destroying other objects. It can be considered as the counterpart to the Emancipation Grid.
Tutorial
- Create two prop_static entities
- set their world-model to
props/fizzler.mdl
. - set their skin to
2
- set their world-model to
- Position the models at either side of where you want the Discouragement Field to be.
- Create a brush between the models, with a depth of 2 hammer units. (There are little notches in the fizzler.mdl - 2 units fits the notch perfectly).
- Set the brush's texture to
tools/toolsnodraw
. - Set the texture of the 2 faces either side of the Discouragement Field to
effects/laserplane
- Turn this brush into the func_brush entity, call it laserfield_brush.
- Set the brush's texture to
- Create a new brush the same size as laserfield_brush.
- Set it's texture to
tools/toolstrigger
- Convert it into the brush entity,
trigger_hurt
and name it laserfield_hurt.- Set it's "Damage" to
999
- Set it's "Damage Cap" to
999
- Set it's "Damage" to
- Set it's texture to
- Create a logic_relay with the name lasergrid_off
- Set the following outputs:
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnTrigger | laserfield_brush | Disable | <none> | 0.00 | No |
![]() |
OnTrigger | laserfield_hurt | Disable | <none> | 0.00 | No |
- Create a logic_relay with the name lasergrid_on
- Set the following outputs:
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnTrigger | laserfield_brush | Enable | <none> | 0.00 | No |
![]() |
OnTrigger | laserfield_hurt | Enable | <none> | 0.00 | No |
- Turn the Discouragement Field on or off via the
Trigger
input of lasergrid_on and lasergrid_off.