env_static

An env_static shows a model that each player's game draws by itself, so the server doesn't send it. It isn't solid,
so players and monsters walk through it.
The model takes no model precache slot, and players download it with the map, together with its texture file and its
sequence groups. An env_static without a name also takes no entity slot.
Attributes
The entity also has these common keys:
- Position: Pitch Yaw Roll
- Appearance: all except Effects
targetnameTriggering the entity shows or hides the model for every player, as the use type says. A KillTarget hides it for good. See Common keys.
lightoriginNames an info_light_origin, and the model is lit as if it stood there.
If you leave this key empty, the model is lit by the floor under it.
modelSets the model it shows, as a path to an .mdl file. A new entity starts with models/editor/env_static.mdl, an editor model that only the editor has, a box 32 by 32 by 72 units labeled ENV STATIC whose arrow shows the yaw.
If you leave this key empty, keep the editor model, or name a file the server doesn't have, the entity is removed when the map starts.
models/editor/env_static.mdlbodySets the body group value of the model, where 0 is the first.
0skinSets the skin of the model, where 0 is the first.
0sequenceSets the number of the animation the model plays, where 0 is the first.
0framerateSets how fast the animation plays: 1 is its own speed, 2 is twice as fast and 0 holds it still.
1.0scaleSets the size of the model, so 0.5 is half and 2 is double, and 0 or 1 is the normal size.
1.0Flags
2Start invisibleThe model is hidden until you trigger the entity
4In the 3D skyThe model is in the sky room of an env_sky, and it shows in the 3D sky. Without this flag, a model in the sky room never shows
Notes
- The model is fixed when the map starts. Only its name (show, hide) and a KillTarget change it, so
trigger_changevalueand a parent do nothing - Players who join later see every model as it is at that moment
- A map shows at most 1024
env_staticmodels, and the game leaves out the others - In the 3D sky, an
env_staticcosts no network traffic, unlike anenv_modelthere. Keep it to about a hundred models, because every one is drawn each frame while the 3D sky is on
See also
env_model- an animated model with an on and an off state, which can be solidenv_sprite- a sprite or a model that you can switch on and off- Props, models and fades - models in a map
Changes since 1.38
env_staticis new in SBO 2.0.0env_statichas a new In the 3D sky flag, which shows the model in the sky room of anenv_skywithout any network cost- A Kill target on an
env_staticnow hides its model. Before, the model stayed on screen