Allows to simplify process of installing and managing custom skyboxes on your server.
About DD:
Spoiler
Plugin partially supports "Delayed Downloader" (DD) technology.
It means, if you installed DD (which removes all downloadables for players who is connecting in mid-game time), newly connected players will see a default skybox, instead of pink texture.
Technical details
Detection is not perfect, it just wait 30 seconds since map started and apply default skybox for everybody who joined the server after this time elapsed.
The main reason: because there are no ideal (or any normal) way at the moment to differentiate skyboxes for players at a run time, dispite of games like CS:GO. It is only possible at a connection-stage by changing global ConVar. However during connection, it's not so simple to verify is it a transitioned player.
Features:
Auto-changing skyboxes on each map (randomly or consequentially)
Auto-detection of custom skyboxes. You don't even need to specify their names.
Auto-detection of all skybox files, required to be added in download list (you don't more need to create list manually)
Ability to temporarily "lock" skybox to use it for the next map.
Ability to forbid using specific skybox on specific map (because not all custom skyboxes looks good on all maps).
Menu to select desired skybox
Settings (ConVars):
Can be found in cfg/sourcemod/l4d_skybox.cfg
PHP Code:
// Select skybox in random order? (1 - Yes, 0 - No, change sequentially)
l4d_skybox_random "0"
Data files:
Forbidden skybox list: data/sky_forbidden.txt
Commands:
PHP Code:
// Show current sky name, and show menu to select skybox for the next map
sm_sky
// Make skybox to not change on the next map
sm_skylock
Dependency:
- You must understand where to find (or how to create your own) custom skybox.
- You must copy skybox files in materials/skybox folder of BOTH - ftp-server and content-server.
- (optionally) Black Screen Fix aka Delayed downloader by BHaType
1.1 beta (26-Mar-2020)
- Added support for all games.
- No need to define default skybox anymore. It is detected automatically.
- No need to list all default skyboxes. They are detected automatically.
1.2 beta (18-Oct-2021)
- No need to list the names of custom skyboxes. They can be detected automatically.
- Added Convar "l4d_skybox_random" - Select skybox in random order? (1 - Yes, 0 - No)
- Added ConVar "l4d_skybox_autoadd" - Add the list of custom skyboxes automatically? (1 - Yes, 0 - You must specify each skybox name manually)
1.3 beta (20-Nov-2021)
- Added "sm_skylock" command to lock current skybox for using on the next map.
- Added menu on "sm_sky" allowing to select an arbitary skybox to load on the next map.
1.4 beta (28-Jan-2022)
- Tidy up the code a little bit.
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
Just idea what to add.
Opportunity to change fog and background colors for specific skybox.
Maybe something like Silvers did in his Weather Control with data cfg.