- Not to be confused with the $staticprop and allowstatic (Prop_data) QC commands.
prop_static is a internal point entity available in all Source games. It is used to cheaply add a model to the world. It cannot move, animate, or accept input, and in fact doesn't actually exist as an entity after the map has been compiled. The vast majority of models appearing in a typical map are prop_static.
- How the prop should interact with other objects.
- Screen Space Fade (screenspacefade)
- If enabled, the prop will fade out based on how many screen pixels it covers. The start and end fade distances come to represent the pixels that the prop covers at the start and end of its fade when this is enabled.
- Lighting Origin (lightingorigin)
- An info_lighting from which to sample lighting (instead of the model's origin). Disables per-vertex lighting.
- Disable Vertex lighting (disablevertexlighting)
- Prop will be lit uniformly with a lighting value sampled from its origin. Enable this if the entity is not shadowed by another object.
- Disable Self-Shadowing with vertex lighting (disableselfshadowing)
- Prop will not cast shadows on itself when per-vertex lighting is calculated.
- Ignore surface normal for computing vertex lighting (ignorenormals)
- A surface normal defines the direction from which each polygon is brightest-lit, and how much light is received. You can ignore this setting most of the time.
- Tip: This is usually used on tree branches and foilage. Enable this on foilage for better lighting.
- Generate (and use) lightmaps for this static prop (generatelightmaps)
- Visit tf2maps.net for more information.
- Note: Lightmapping can be also faked on static props using the Modulate shader in all games, although syncing the lighting can be difficult.
- Lightmap Resolution X (lightmapresolutionx)
- The resolution of the generated lightmap in the X (or U) direction. (Only used if Generate Lightmaps is Yes.)
- Lightmap Resolution Y (lightmapresolutiony)
- The resolution of the generated lightmap in the Y (or V) direction. (Only used if Generate Lightmaps is Yes.)
- Uniform Scaling (uniformscale)
- Evenly scales a given model along the X Y Z axis.
- Bug: In Hammer, undoing/redoing any changes (whether they are slight unit movements or scale changes) will result in the prop appearing 'normal' sized in the 3D Textured Viewport (the model only appears normal sized and the value given is still shown upon reload of the vmf).
- Disable Prop Combine (preventpropcombine)
- Prevent this static prop from combining with any other static props in vbsp.
- Enable Bounced Lighting (enablelightbounce)
- Whether VRAD should create indirect lighting from this prop.
- Some models have multiple skins. This value selects from the index, starting with 0. Tip: Hammer's model browser automatically updates this value if you use it to view different skins.
- Model Scale
- A multiplier for the size of the model.
- Disable Shadows
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a
prop_static. Does not affect shadow mapping.
- Disable ShadowDepth
- Used to disable rendering into shadow depth (for projected textures) for this entity.
- Projected Texture Cache
- Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
- 0 : Default
- 1 : No cache - render every frame
- 2 : Cache it - render only once
- Render in Fast Reflections
- If enabled, this entity will render in fast water reflections (i.e. when a water material specifies
$reflectonlymarkedentities) and in the world impostor pass.
- Note: Disable shadows applies to lightmap shadows for prop_static, not RTTs.
- Start Fade Dist
- Distance at which the prop starts to fade.
- End Fade Dist
- Max fade distance at which the prop is visible.
- If start fade is <0, the prop will disappear instantly when end fade is hit.
- If end fade is <0, the prop won't disappear at all. (This is the default behaviour.)
- The values will scale appropriately if the prop is in a 3D Skybox.
- Fade Scale
- If you specify so in worldspawn, or if the engine is running below DirectX 8 (DX7 in Ep1), props will fade out even if the fade distances above aren't specified. This value gives you some control over when this happens: 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. Using 0 turns off the forced fade altogether. See also the QC command $noforcedfade.
- Minimum DX Level
- The entity will not exist if the engine is running outside the given range of DirectX Versions. Replaced by SystemLevelChoice from onwards.
- Warning: If these are used, the object may break when the user switches their DirectX settings.
- Minimum Effect Details Level
- Maximum Effect Details Level
- Don't render for players with Effect Details levels that exceed the minimum or maximum.
cpu_levelcommand; the command Effect Details uses.
- Minimum Shader Details Level
- Maximum Shader Details Level
- Don't render for players with Shader Details levels that exceed the minimum or maximum.
gpu_levelcommand; the command Shader Details uses.
- Pitch Yaw Roll (Y Z X)
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- targetname <target_source>
- The name that ship_base_interaction entities refer to this entity by.