Env extinguisherjet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(This page was actually missing the 'this is a' template so it's been added)
(Added it to the cut entities category)
Line 47: Line 47:
* {{ent|weapon_extinguisher}}
* {{ent|weapon_extinguisher}}


[[Category:Cut Entities]]
[[Category:Entities]]
[[Category:Entities]]

Revision as of 12:52, 26 June 2025

Stub

This article or section is a stub. You can help by expanding it.

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Info-red.png
This entity is not in the game by default, but still has code available for it in the SDK.
This feature is not available anymore.
C++ Class hierarchy
CExtinguisherJet
CBaseEntity
C++ extinguisherjet.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

env_extinguisherjet is a cut point entity available in Half-Life 2 Half-Life 2.

Entity description

A basic Fire Extinguisher Jet effect. Intended to be used with the cut fire extinguisher weapon, but also appears to have been intended to be used by itself in a map as it has FGD code available.

KeyValues

Length (length) <integer>
Size of jet (size) <integer>
Radius of extinguishment at impact point (radius) <integer>
Strength of the extinguisher (strength) <float>
Start On (enabled) <boolean>
  • 0: No
  • 1: Yes

Inputs

Enable
Enables the extinguisher
Disable
Disables the extinguisher
Enable
Toggles the extinguisher

FGD Code

@PointClass base(Targetname, Parentname, Angles) = env_extinguisherjet : "Fire Extinguisher Jet"
[
	length(integer) : "Length" : 128
	size(integer)	: "Size of jet" : 8
	radius(integer)	: "Radius of extinguishment at impact point" : 32
	strength(float)	: "Strength of the extinguisher" : "0.97"
	
	enabled(choices) : "Start On" : 1 =
	[
		0 : "No"
		1 : "Yes"
	]

	input Enable(void) : "Enables the extinguisher"
	input Disable(void) : "Disables the extinguisher"
	input Toggle(void) : "Toggles the extinguisher"
]

See Also