trigger_changesky

From Sven Co-op
Revision as of 18:36, 12 February 2023 by Erty (talk | contribs) (Created trigger_changesky page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
trigger_changesky
Type

point

Status

supported

 


Allows changing the rendered sky on-the-fly.

1 Keyvalues

Sky Name : skyname

Name of the sky to switch to (for example desert).

Color : color

New sky color to be used. This is the color of the "direct" light from the sky and affects the color of entity models (such as players and monsters). It's a serverside effect and as such the Update server (4) flag must be set to use this.

2 Flags

1 : All players

Affect all players instead of just the activator.

2 : No clients

Do not change the sky for players (sky color may still be changed setting the Update server flag).

4 : Update server

Change sky-related convars and sky color on the server.