Env grass sprite (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{entity|env_grass_sprite|<!--sprite=1-->|type=point|engine=gldsrc|game=Paranoia}} is a point entity for create random grass sprites. The installation of the automatically sca...")
 
Line 3: Line 3:


==Keyvalues==
==Keyvalues==
{{KV Sprite}}
*Sprite Name (model) <sprite>
:: The material to draw.
*Radius (m_fRadius) <integer>
::Distance from the player after which they disappear (e.g. 800)
*Density (m_iDensity) <integer>
::Number of sprites inside this radius (f.e. 200)
*Sprite Scale (m_fScale) <integer>
:: The same as scale in env_sprite (by the way, the scale varies a little by random)
*Sprite orientation (m_iMode) <choices>
::0: ''"Screen parallel"''
::1: ''"Facing player"''
::2: ''"Fixed"''
::3: ''"Model"''
 
 


[[Category:Paranoia Entities]]
[[Category:Paranoia Entities]]

Revision as of 09:15, 30 July 2023

Template:Entity is a point entity for create random grass sprites. The installation of the automatically scattered grass on the map involves the usage of a point entity called env_grass_sprite. The location where the entity will be placed holds the same importance as the rain_settings. Imagine that the grass initially appears at the same height as the env_grass_sprite entity and then appears to fall to the ground. Therefore, it is recommended to place these entities somewhere in the sky to ensure that they are positioned above the entire ground.

Keyvalues

  • Sprite Name (model) <sprite>
The material to draw.
  • Radius (m_fRadius) <integer>
Distance from the player after which they disappear (e.g. 800)
  • Density (m_iDensity) <integer>
Number of sprites inside this radius (f.e. 200)
  • Sprite Scale (m_fScale) <integer>
The same as scale in env_sprite (by the way, the scale varies a little by random)
  • Sprite orientation (m_iMode) <choices>
0: "Screen parallel"
1: "Facing player"
2: "Fixed"
3: "Model"