Firesmoke: Difference between revisions
Jump to navigation
Jump to search

Important:Since
, this entity does not precache the fire assets on its own, so it won't be visible unless at least one env_fire exists elsewhere in the map. The fire sprites are properly precached in
and
.
SirYodaJedi (talk | contribs) |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
{{CD|CFireSmoke|file1=fire_smoke.cpp}} | {{CD|CFireSmoke|file1=fire_smoke.cpp}} | ||
{{this is a|point entity|name=_firesmoke}} This is the group of particle effects created by an {{ent|env_fire}}, including the flames. It does no damage. If a fire shouldn't damage things, or is unable to, this entity could be used directly to save an [[edict]]. <code>env_fire</code> does however allow much more control over the flame. | {{this is a|point entity|name=_firesmoke}} This is the group of particle effects created by an {{ent|env_fire}}, including the flames. It does no damage. If a fire shouldn't damage things, or is unable to, this entity could be used directly to save an [[edict]]. <code>env_fire</code> does however allow much more control over the flame. | ||
{{important| | {{important|Since {{src07}}, this entity does not precache the fire assets on its own, so it won't be visible unless at least one env_fire exists elsewhere in the map. The fire sprites ''are'' properly precached in {{src04}} and {{src06}}. }} | ||
== Keyvalues == | == Keyvalues == | ||
Line 10: | Line 10: | ||
==FGD Code== | ==FGD Code== | ||
_firesmoke point class. | _firesmoke point class. In-editor sprite is based upon "classic" (pre-Orange Box) fire. | ||
{{ExpandBox| | {{ExpandBox| | ||
<pre> | <pre> |
Revision as of 09:42, 30 November 2024


![]() |
---|
CFireSmoke |
![]() |
_firesmoke
is a point entity available in all Source games. This is the group of particle effects created by an env_fire, including the flames. It does no damage. If a fire shouldn't damage things, or is unable to, this entity could be used directly to save an edict.
env_fire
does however allow much more control over the flame.




Keyvalues
- 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
FGD Code
_firesmoke point class. In-editor sprite is based upon "classic" (pre-Orange Box) fire.
@PointClass sprite("sprites/fire1.vmt") base(Targetname, Parentname) = _firesmoke : "A purely visual flame effect." []