Prop static: Difference between revisions
Jump to navigation
Jump to search
m (→Entity Description: typo) |
(Inserted studiomodel.) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=prop_static}} | {{wrongtitle|title=prop_static}} | ||
==Entity Description== | ==Entity Description== | ||
A prop that doesn't move and doesn't animate. This entity is built into its designated lump in the map and is not networked. '''This entity cannot be placed into the map during runtime!''' | A prop that doesn't move and doesn't animate. This entity is built into its designated lump in the map and is not networked. '''This entity cannot be placed into the map during runtime!''' | ||
Line 6: | Line 7: | ||
* {{kv angles}} | * {{kv angles}} | ||
* {{kv dxlevelchoice}} | * {{kv dxlevelchoice}} | ||
* | * {{kv studiomodel}} | ||
* '''solid''' | * '''solid''' | ||
: <choices> Collisions - using other values may give undesired results | : <choices> Collisions - using other values may give undesired results | ||
Line 21: | Line 19: | ||
| 6 || Use VPhysics | | 6 || Use VPhysics | ||
|} | |} | ||
* '''screenspacefade''' | * '''screenspacefade''' | ||
: {{boolean}} The method by which the fading distance should be determined. If off, the fade distances is the distance from the player's view to the object, in inches. If on, the fade distance is the size of the object onscreen, in pixels. | : {{boolean}} The method by which the fading distance should be determined. If off, the fade distances is the distance from the player's view to the object, in inches. If on, the fade distance is the size of the object onscreen, in pixels. | ||
* '''fademindist''' | * '''fademindist''' | ||
: <float> Distance at which the prop starts to fade (-1 = use fademaxdist). If 'Screen Space Fade' is selected, this represents the number of pixels wide covered by the prop when it starts to fade. | : <float> Distance at which the prop starts to fade (-1 = use ''fademaxdist''). If ''Screen Space Fade'' is selected, this represents the number of pixels wide covered by the prop when it starts to fade. | ||
* '''fademaxdist''' | * '''fademaxdist''' | ||
: <float> Maximum distance at which the prop is visible (0 = don't fade out). If 'Screen Space Fade' is selected, this represents the *minimum* number of pixels wide covered by the prop when it fades. | : <float> Maximum distance at which the prop is visible (0 = don't fade out). If ''Screen Space Fade'' is selected, this represents the *minimum* number of pixels wide covered by the prop when it fades. | ||
* '''fadescale''' | * '''fadescale''' | ||
: <float> If you specify a fade in the worldspawn, or if the engine is running under dx7, then the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances. | : <float> If you specify a fade in the worldspawn, or if the engine is running under dx7, then the engine will forcibly fade out props even if ''fademindist''/''fademaxdist'' isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances. | ||
* '''lightingorigin''' | * '''lightingorigin''' | ||
: <target_destination> Select an info_lighting to specify a location to sample lighting from, instead of using this entity's origin. | : <target_destination> Select an [[info_lighting]] to specify a location to sample lighting from, instead of using this entity's origin. | ||
==See Also== | ==See Also== | ||
* [[Prop Types Overview]] | * [[Prop Types Overview]] | ||
[[Category:Entities]] | [[Category:Entities]] |
Revision as of 07:24, 14 March 2006
Entity Description
A prop that doesn't move and doesn't animate. This entity is built into its designated lump in the map and is not networked. This entity cannot be placed into the map during runtime!
Keyvalues
- <choices> Collisions - using other values may give undesired results
Literal Value Description 0 Not Solid 2 Use Bounding Box 6 Use VPhysics
- screenspacefade
- <boolean> The method by which the fading distance should be determined. If off, the fade distances is the distance from the player's view to the object, in inches. If on, the fade distance is the size of the object onscreen, in pixels.
- fademindist
- <float> Distance at which the prop starts to fade (-1 = use fademaxdist). If Screen Space Fade is selected, this represents the number of pixels wide covered by the prop when it starts to fade.
- fademaxdist
- <float> Maximum distance at which the prop is visible (0 = don't fade out). If Screen Space Fade is selected, this represents the *minimum* number of pixels wide covered by the prop when it fades.
- fadescale
- <float> If you specify a fade in the worldspawn, or if the engine is running under dx7, then the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances.
- lightingorigin
- <target_destination> Select an info_lighting to specify a location to sample lighting from, instead of using this entity's origin.