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) m (→FGD Code) |
m (Add size() so it can be selected in 3d view, move base cause it's almost always first) |
||
| Line 13: | Line 13: | ||
{{ExpandBox| | {{ExpandBox| | ||
<pre> | <pre> | ||
@PointClass sprite("sprites/fire1.vmt" | @PointClass base(Targetname, Parentname) size(-4 -4 -4, 4 4 4) sprite("sprites/fire1.vmt") = _firesmoke : "A purely visual flame effect." [] | ||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 04:11, 1 December 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.
parentnameortarget).
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) flame effect.
@PointClass base(Targetname, Parentname) size(-4 -4 -4, 4 4 4) sprite("sprites/fire1.vmt") = _firesmoke : "A purely visual flame effect." []