Env sprite: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


{{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.)}}
== See also ==
* [[env_sprite_oriented]]
* [[env_fire]]
* [[env_steam]]
* [[env_lightglow]]


== Keyvalues ==
== Keyvalues ==
Line 27: Line 20:


{{O Targetname}}
{{O Targetname}}
== See also ==
* [[env_sprite_oriented]]
* [[env_fire]]
* [[env_steam]]
* [[env_lightglow]]

Revision as of 02:59, 12 November 2011

Template:Base point 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.pngNote:The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame and World Space Glow.
Icon-Bug.pngBug:When choosing a sprite from the sprite browser, the name it provides does not contain the required .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 ?]

Keyvalues

Template:KV env sprite

Flags

Template:Fl env sprite

Inputs

Template:I env sprite

Outputs

See also