diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-03 23:51:02 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-03 23:51:02 +0100 |
| commit | 95b5be2299b332917ae63c45252cb9744a3460cd (patch) | |
| tree | 1da6d89d8ddf9f724368738a4969f8dd308cbcce /src/studio.cpp | |
| parent | AI: treat scripted NPCs as neutral; Lamarr neutral (diff) | |
| download | hl2h-95b5be2299b332917ae63c45252cb9744a3460cd.tar.gz hl2h-95b5be2299b332917ae63c45252cb9744a3460cd.zip | |
World: add skybox changer
New Visuals -> Skybox card with a runtime sv_skyname override using the same
mechanism as the stock skybox_swapper entity. The choice list is the HL2
skybox set extracted from the game VPKs.
The map's own sky is captured from loaded materials (SkyBox group, parsing
skybox/<name>... face names) before the first override, so turning the
feature off or picking "Map default" restores it; a level change restores it
implicitly. Sky changes invalidate the world tint so new sky materials are
tinted as well.
GUI: add a CK_CHOICE control (value box with < / > zones).
Diffstat (limited to 'src/studio.cpp')
0 files changed, 0 insertions, 0 deletions
