Env sprite: Difference between revisions
Jump to navigation
Jump to search
Note:The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame, World Space Glow and Alpha Add !FGD.
Bug:When choosing a sprite from the sprite browser, the name it provides does not contain the required
Note:This entity may also use
(noting env_glow) |
No edit summary |
||
Line 3: | Line 3: | ||
==Entity description== | ==Entity description== | ||
It creates a [[sprite]] in the world. Sprites always face the player, unless they are restricted to rotating on certain axes as specified in the [[VTF]] compile parameters (in which case you should be using [[env_sprite_oriented]]). | It creates a [[sprite]] in the world. Sprites always face the player, unless they are restricted to rotating on certain axes as specified in the [[VTF]] compile parameters (in which case you should be using [[env_sprite_oriented]]). | ||
{{note|The only [[Render Modes|render modes]] that render sprite transparency are ''Glow'', ''Additive'', ''Additive Fractional Frame'' | {{note|The only [[Render Modes|render modes]] that render sprite transparency are ''Glow'', ''Additive'', ''Additive Fractional Frame'', ''World Space Glow'' and ''Alpha Add'' {{not in FGD}}.}} | ||
{{bug|When choosing a sprite from the sprite browser, the name it provides does not contain the required <code>.spr</code>/<code>.vmt</code> file extension. While the sprite preview can find the sprite, the extension needs to be typed in by hand for the engine to be able to find the sprite in-game. (Fixed in Source 2009 engine version.)}} | {{bug|When choosing a sprite from the sprite browser, the name it provides does not contain the required <code>.spr</code>/<code>.vmt</code> file extension. While the sprite preview can find the sprite, the extension needs to be typed in by hand for the engine to be able to find the sprite in-game. (Fixed in Source 2009 engine version.)}} |
Revision as of 08:57, 27 September 2018
Entity description
It creates a sprite in the world. Sprites always face the player, unless they are restricted to rotating on certain axes as specified in the VTF compile parameters (in which case you should be using env_sprite_oriented).


.spr
/.vmt
file extension. While the sprite preview can find the sprite, the extension needs to be typed in by hand for the engine to be able to find the sprite in-game. (Fixed in Source 2009 engine version.) [todo tested in ?]
env_glow
for the classname.