Trigger weapon dissolve: Difference between revisions
Jump to navigation
Jump to search

Bug:The game will crash if a weapon targeted for dissolving by this entity is removed by other means. [todo tested in ?]
In code, it is represented by the
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a| | <!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|brush entity|name=trigger_weapon_dissolve|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch}} | ||
{{sensor brush}} | {{sensor brush}} | ||
Revision as of 17:06, 17 May 2024


trigger_weapon_dissolve
is a brush entity available in Half-Life 2,
Half-Life 2: Episode One,
Half-Life 2: Episode Two, and
Half-Life 2: Deathmatch.
Entity description
A brush entity trigger that dissolves weapons forcefully dropped by trigger_weapon_strip within its volume. It is used by the Confiscation Field in both Half-Life 2 and Episode One to dissolve all the player's weapons except the Gravity Gun, supercharging it instead.
For proper functionality, both brush entities must be used.
This entity in Half-Life 2: Deathmatch cannot start it's supercharging sequence of the Gravity Gun, as the gun removes itself even when dropped by trigger_weapon_strip.


CTriggerWeaponDissolve
class, defined in thehl2_dll\hl2_triggers.cpp
file.
Keyvalues
- Emitter Name ([todo internal name (i)]) <targetname>
- Name of a single or multiple entities to use as the basis for the emitted effects.
|
Flags
|
Inputs
- StopSound
- Stops all sounds.
|
Outputs
- OnDissolveWeapon
- Fires when one weapon is starting to dissolve in the trigger volume.
- OnChargingPhyscannon
- Fires when the trigger begins to charge the physcannon.
|
Categories:
- TODO rewrite lang to LanguageBar
- Brush entities
- Half-Life 2 entities
- Half-Life 2 brush entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One brush entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two brush entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch brush entities
- Sensor Brush Entities
- Pages with uncategorized bugs