Template:KV Sprite

From Valve Developer Community
Jump to: navigation, search
Русский

Sprite:

Sprite Name (model) <string>
The material to draw.
Scale (scale) <float>
Scale multiplier of the sprite.
Bug: Hammer's default sprite scale 0.25, but the engine's is 1.0. To synchronise the values, set this keyvalue to something.
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.
HDR color scale (HDRColorScale) <float>
Color multiplier for players using HDR.

DXLevelChoice:

Minimum DX Level (mindxlevel) <choices>
The entity will not exist if the engine is running outside the given range of DirectX Versions. Replaced by SystemLevelChoice from <Left 4 Dead> Left 4 Dead onwards.
Warning: If these are used, the object may break when the user switches their DirectX settings.
Maximum DX Level (maxdxlevel) <choices>

SystemLevelChoice:

Minimum CPU Level (mincpulevel) <choices> (in all games since <Left 4 Dead>)
A user with a CPU level lower than this will not see this object rendered in-game. CPU levels are determined by the Effect detail setting.
Maximum CPU Level (maxcpulevel) <choices> (in all games since <Left 4 Dead>)
  • 0: Default
  • 1: Low
  • 2: Medium
  • 3: High
Minimum GPU Level (mingpulevel) <choices> (in all games since <Left 4 Dead>)
A user with a GPU level lower than this will not see this object rendered in-game. GPU levels are determined by the Shader detail setting.
Maximum GPU Level (maxgpulevel) <choices> (in all games since <Left 4 Dead>)
  • 0: Default
  • 1: Very low
  • 2: Low
  • 3: Medium
  • 4: High