Template:KV Sprite: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Replaced content with "{{APH}}")
Tag: Replaced
 
(15 intermediate revisions by 10 users not shown)
Line 1: Line 1:
; Framerate <code><[[string]]></code>
{{APH}}
: Rate at which the sprite should animate, if at all. Default is 10 fps.
; Sprite Name <code><string></code>
: The material to draw. Default is "<code>sprites/glow01.spr</code>". {{warning|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.}}
; Scale <code><[[float]]></code>
: Scale multiplier of the sprite. {{note|The sprite preview doesn't display sprites at the right scale. The sprite preview scale is preset to <code>0.25</code>, while sprite scale in-game is preset to <code>1.0</code>. To correct the preview scale, set this keyvalue to any value.}}
; Size of Glow Proxy Geometry <code><float></code>
: Size of the glow to be rendered for visibility testing. Must be larger than the distance from the sprite center to empty space.  So if this glow is inside geometry (like a light bulb), set this value to be bigger than the bulb's radius. Any time a sphere of this radius would be visible (poking through any nearby geometry), the glow will be rendered. Default is 2.0.
; HDR color scale <code><float></code>
: Float value to multiply sprite color by when running in HDR mode. Default is 1.0.
{{ScrollBox|
{{KV DXLevelChoice}}
{{KV RenderFields}}
{{KV Parentname}}
{{KV Targetname}}
}}

Latest revision as of 04:24, 1 October 2024

Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.