Template:KV Sprite: Difference between revisions
Jump to navigation
Jump to search
Bug:Hammer's default sprite scale
m (Added {{lang}}.) |
m (Used intn parameter of Template:KV. Used <onlyinclude>.) |
||
Line 1: | Line 1: | ||
{{lang|Template:KV Sprite}} | |||
__NOTOC__ | |||
<onlyinclude> | |||
{{minititle|Sprite}} | {{minititle|Sprite}} | ||
{{KV|Sprite Name | {{KV|Sprite Name|intn=model|string|The material to draw.}} | ||
{{KV|Scale | {{KV|Scale|intn=scale|float|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.}}}} | {{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.}}}} | ||
{{KV|Framerate | {{KV|Framerate|intn=framerate|string|Rate at which the sprite should animate, if at all.}} | ||
{{KV|Starting Frame | {{KV|Starting Frame|intn=frame|nofgd=1|float|If the sprite is animated, the frame it should start animating on.}} | ||
{{KV|Size of Glow Proxy Geometry | {{KV|Size of Glow Proxy Geometry|intn=GlowProxySize|float|Size of the glow to be rendered for visibility testing. Any time a sphere of this radius would be visible (poking through any nearby geometry), the glow will be rendered.}} | ||
{{KV|HDR color scale | {{KV|HDR color scale|intn=HDRColorScale|float|Color multiplier for players using [[HDR]].}} | ||
{{KV DXLevelChoice}} | {{KV DXLevelChoice}} | ||
{{KV SystemLevelChoice}}< | {{KV SystemLevelChoice}} | ||
</onlyinclude> | |||
[[Category:Keyvalue Templates|Sprite]] |
Revision as of 15:36, 8 March 2022
Sprite:
- Sprite Name (model) <string>
- The material to draw.
- Scale (scale) <float>
- Scale multiplier of the sprite.

0.25
, but the engine's is 1.0
. To synchronise the values, set this keyvalue to something. [todo tested in ?]- Framerate (framerate) <string>
- Rate at which the sprite should animate, if at all.
- Starting Frame (frame) <float> !FGD
- If the sprite is animated, the frame it should start animating on.
- Size of Glow Proxy Geometry (GlowProxySize) <float>
- Size of the glow to be rendered for visibility testing. Any time a sphere of this radius would be visible (poking through any nearby geometry), the glow will be rendered.
- Minimum / Maximum DX Level (mindxlevel / maxdxlevel) <integer choices> (removed since
)
- The entity will not exist if the engine is running outside the given range of DirectX Versions.
Choices Warning:If these are used, the object may break when the user switches their DirectX settings.[missing string]
- 0 - Default (no bounding)
- 60 - DirectX 6 (!FGD for mindxlevel)
- 70 - DirectX 7
- 80 - DirectX 8 (GeForce4 Ti & FX 5000 series)
- 81 - DirectX 8.1 (GeForce FX 5800, 5900 & Radeon 8500/9100 and 9000/9200)
- 90 - DirectX 9 Shader Model 2
- 92 - OpenGL аналогичен DirectX 9 Shader Model 2 (using ToGL;
only) !FGD
- 95 - DirectX 9 Shader Model 3 (in all games since
)
- 98 - DirectX 9 Shader Model 3 on Xbox 360 (
only) !FGD
- Minimum / Maximum Effect Details Level (mincpulevel / maxcpulevel) <integer choices> (in all games since
)
- Don't render for players with Effect Details levels that exceed the minimum or maximum.
Choices - 0: Default ("Low" for
mincpulevel
, "High" formaxcpulevel
) - 1: Low
- 2: Medium
- 3: High
- 0: Default ("Low" for
- Minimum / Maximum Shader Details Level (mingpulevel / maxgpulevel) <integer choices> (in all games since
)
- Don't render for players with Shader Details levels that exceed the minimum or maximum.
Choices - 0: Default ("Low" for
mingpulevel
, "Very High" formaxgpulevel
) - 1: Low
- 2: Medium
- 3: High
- 4: Very High
See also: cpu_level / gpu_level convars- 0: Default ("Low" for