Template:KV Sprite: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{APH}}")
Tag: Replaced
 
(13 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.
; Sprite Name <code><string></code>
: The material to draw. Default is "<code>sprites/glow01.spr</code>". {{note|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 Hammer does not mind, you must add the extension for the engine to find the sprite.}}
; Scale <code><[[float]]></code>
: Scale multiplier of the sprite. {{bug|Hammer's default sprite scale <code>0.25</code>, but the engine's is <code>1.0</code>. To synchronise the values, set this keyvalue to something.}}
; 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.
; HDR color scale <code><float></code>
: Float value to multiply sprite color by when running in HDR mode.
{{ScrollBox|{{#if:{{{angles|}}} | {{KV Angles}} }}
{{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.