Comp trigger p2 goo: Difference between revisions
Jump to navigation
Jump to search

(→Flags) |
mNo edit summary |
||
Line 3: | Line 3: | ||
{{Entity|comp_trigger_p2_goo|type=e1|game=Portal 2: Community Edition}} It is a trigger that bundles together the typical functions of normal {{portal2|3}} goo, such as killing the player, removing physics objects, and loading a desired save. | {{Entity|comp_trigger_p2_goo|type=e1|game=Portal 2: Community Edition}} It is a trigger that bundles together the typical functions of normal {{portal2|3}} goo, such as killing the player, removing physics objects, and loading a desired save. | ||
==Keyvalues== | == Keyvalues == | ||
{{KV|Enable Fade|intn=enablefade|integer|Use a player_loadsaved to fade out the view as the player falls/drowns. Otherwise, just kill the player with a trigger_hurt.}} | {{KV|Enable Fade|intn=enablefade|integer|Use a player_loadsaved to fade out the view as the player falls/drowns. Otherwise, just kill the player with a trigger_hurt.}} | ||
{{KV|Fade Color - Preset|intn=fadepreset|color255|Use a preset color for the fade.}} | {{KV|Fade Color - Preset|intn=fadepreset|color255|Use a preset color for the fade.}} | ||
Line 14: | Line 14: | ||
{{KV Targetname}} | {{KV Targetname}} | ||
==Flags== | == Flags == | ||
{{Fl trigger}} | {{Fl trigger}} | ||
==Inputs== | == Inputs == | ||
{{I Trigger}} | {{I Trigger}} | ||
{{I Trigger Chaos}} | {{I Trigger Chaos}} | ||
==Outputs== | == Outputs == | ||
{{O Trigger}} | {{O Trigger}} | ||
==See Also== | == See Also == | ||
*{{ | * {{Ent|trigger_hurt}} |
Revision as of 04:18, 14 March 2023


Template:Entity It is a trigger that bundles together the typical functions of normal Portal 2 goo, such as killing the player, removing physics objects, and loading a desired save.
Keyvalues
- Enable Fade (enablefade) <integer>
- Use a player_loadsaved to fade out the view as the player falls/drowns. Otherwise, just kill the player with a trigger_hurt.
- Fade Color - Preset (fadepreset) <color255>
- Use a preset color for the fade.
- Fade Color - Custom (fadecolor) <color255>
- Specify your own fade color instead.
- Fade Time (fadetime) <integer>
- The number of seconds the fade takes to fully occur.
- Physics Offset (phys_offset) <integer>
- The distance below the hurt trigger to place the dissolving trigger. This ensures objects are hidden by the goo/fog before being destroyed.
- Failsafe delay (failsafe_delay) <integer>
- Delay after which non-cube entities will be killed
- Physics Filter (dissolve_filter) <targetname>
- Set to filter entity to prevent certain entities from dissolving.
|
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
|
Inputs
|
StrataEngine:
- Touch (only in
Strata Source games)
- Behaves as if
!caller
has touched the trigger volume
Outputs
|