Discouragement Field: Difference between revisions
Jump to navigation
Jump to search
(does not instantly kill the player) |
m (More icons!) |
||
Line 1: | Line 1: | ||
[[File: | [[File:Multiplediscouragementbeamsicon.png|thumb|right]] | ||
The '''Discouragement Field''' or '''Death Field''' is a special energy field in [[Portal 2]] which blocks only the player, not other objects. It can be considered as the counterpart to the [[Emancipation Grid]]. Collision with the field has a similar effect to the discouragement beam; when touched the player takes damage and bounces away, but prolonged contact kills the player. | The '''Discouragement Field''' or '''Death Field''' is a special energy field in [[Portal 2]] which blocks only the player, not other objects. It can be considered as the counterpart to the [[Emancipation Grid]]. Collision with the field has a similar effect to the discouragement beam; when touched the player takes damage and bounces away, but prolonged contact kills the player. | ||
== | == Instance == | ||
[[File:Death field 1280.jpg|thumb|right|Death Field example.]] | |||
* Download these two instance files: [http://nuclearvelocity.com/barracuda/downloads/portal2/instances/death_field_128x128.vmf death_field_128x128.vmf] and [http://nuclearvelocity.com/barracuda/downloads/portal2/instances/death_field_256x256.vmf death_field_256x256.vmf] and put them into your instance folder under ''instances\gameplay''. (If only text comes up and you can't download it, press ctrl+A, copy it, paste it in Notepad, and save as death_field_128x128.vmf under All Files (for the 128x128 one)). | * Download these two instance files: [http://nuclearvelocity.com/barracuda/downloads/portal2/instances/death_field_128x128.vmf death_field_128x128.vmf] and [http://nuclearvelocity.com/barracuda/downloads/portal2/instances/death_field_256x256.vmf death_field_256x256.vmf] and put them into your instance folder under ''instances\gameplay''. (If only text comes up and you can't download it, press ctrl+A, copy it, paste it in Notepad, and save as death_field_128x128.vmf under All Files (for the 128x128 one)). | ||
* Create a new [[func_instance]] in your map, select ''VMF Filename'' and click ''Browse...'' on the right and select one of the two death field instances. | * Create a new [[func_instance]] in your map, select ''VMF Filename'' and click ''Browse...'' on the right and select one of the two death field instances. | ||
Line 24: | Line 25: | ||
(for deactivation) | (for deactivation) | ||
== Manual Creation == | |||
{{todo|Doing this}} | |||
[[Category:Portal 2 Level Design]] | [[Category:Portal 2 Level Design]] | ||
[[Category:Portal 2 Tutorials]] | [[Category:Portal 2 Tutorials]] |
Revision as of 12:11, 29 August 2011
The Discouragement Field or Death Field is a special energy field in Portal 2 which blocks only the player, not other objects. It can be considered as the counterpart to the Emancipation Grid. Collision with the field has a similar effect to the discouragement beam; when touched the player takes damage and bounces away, but prolonged contact kills the player.
Instance
- Download these two instance files: death_field_128x128.vmf and death_field_256x256.vmf and put them into your instance folder under instances\gameplay. (If only text comes up and you can't download it, press ctrl+A, copy it, paste it in Notepad, and save as death_field_128x128.vmf under All Files (for the 128x128 one)).
- Create a new func_instance in your map, select VMF Filename and click Browse... on the right and select one of the two death field instances.
- The Discouragement Field is now ready and active on default. If you want to activate or deactivate the field, follow these steps:
- Give the func_instance a name (Fix Up Name), for example
death_field_1
. - Create a trigger or button somewhere and give it these outputs:
- Give the func_instance a name (Fix Up Name), for example
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnTrigger | death_field_1 | instance:enable;Trigger | <none> | 0.00 | No |
(for activation)
My Output | Target Entity | Target Input | Parameter | Delay | Only Once | |
---|---|---|---|---|---|---|
![]() |
OnTrigger | death_field_1 | instance:disable;Trigger | <none> | 0.00 | No |
(for deactivation)
Manual Creation
Todo: Doing this