moonsense715 Posted February 13, 2015 Report Share Posted February 13, 2015 Author: Jonwil, moonsense715 Skill level: 2 Jonwil has just added a feature to scripts (4.2, 4.3 and 5.0) that lets you have custom sky colors on any map, in case you can not get what you want by changing the time of day in LevelEdit. For example you can not get a full red or green sky normally. ATTENTION! Using this feature will completely overwrite all the sky/sun/etc. color settings set by LevelEdit. If you want to change anything in the list, prepare that you will have to set everything yourself, not just the parts you wish to alter. 1. Preparation So let's say you want custom sky, sun, moon, etc colors for a map named: TS_Mars.mix. Get a scripts build that supports this feature from here. Copy its content to your game folder (not Data) and overwrite all. Create a file named TS_Mars_map.ini. Inside this ini file write/copy this section: [SkyColors] OverrideSkyColors=true ; Warm sky color - Clouded sky's additional color around the sun ; Normally changes with set time of day and is a transition color inbetween the sun/halo and Cold sky colors WarmSkyColorRed=230 WarmSkyColorGreen=230 WarmSkyColorBlue=230 ; Cold sky colors - Clouded sky's additional color everywhere else + Fog color (bottom skydome) ; Fog color in LE is affected by cloud gloominess and time of day, copy the fog color with no gloominess applied ColdSkyColorRed=230 ColdSkyColorGreen=230 ColdSkyColorBlue=230 ; Sun color; - Normally changes with set time of day SunColorRed=75 SunColorGreen=75 SunColorBlue=75 ; Sun halo color; - Normally changes with set time of day SunHaloColorRed=100 SunHaloColorGreen=100 SunHaloColorBlue=100 ; Moon halo color MoonHaloColorRed=255 MoonHaloColorGreen=255 MoonHaloColorBlue=255 ; Sky color (top skydome); - Normally changes with set time of day SkyColorRed=112 SkyColorGreen=146 SkyColorBlue=176 ; Cloud gloominess color GloominessColorRed=255 GloominessColorGreen=255 GloominessColorBlue=255 ; Star field transparency, 255 - Stars appear (good for clear sky night time); 0 - No stars StarfieldAlpha=0 The comments in the code should help you understand what affects what exactly.This setup is 99% similar to what the sky looks like with the default map time setting in LevelEdit (15:00 / 3:00 pm). 2. Customize the colors Change the colors to suit your taste. For example you can have a red sky around the sun and blue fog. I don't recommend going overboard with the colors as it can look wierd. I suggest adding little color additions only; except if it's an extreme map. Here's an example that you should never do, (but can do): Here's the code for it too: [SkyColors] OverrideSkyColors=true ; Warm sky color - Clouded sky's additional, color around the sun ; Normally changes with set time of day and is a transition color inbetween the sun/halo and Cold sky colors WarmSkyColorRed=230 WarmSkyColorGreen=0 WarmSkyColorBlue=0 ; Cold sky colors - Clouded sky's additional color everywhere else + Fog color (bottom skydome) ; Fog color in LE is affected by cloud gloominess and time of day, copy the fog color with no gloominess applied ColdSkyColorRed=0 ColdSkyColorGreen=0 ColdSkyColorBlue=230 ; Sun color; - Normally changes with set time of day SunColorRed=175 SunColorGreen=75 SunColorBlue=75 ; Sun halo color; - Normally changes with set time of day SunHaloColorRed=250 SunHaloColorGreen=100 SunHaloColorBlue=100 ; Moon halo color MoonHaloColorRed=255 MoonHaloColorGreen=255 MoonHaloColorBlue=255 ; Sky color (top skydome); - Normally changes with set time of day SkyColorRed=112 SkyColorGreen=146 SkyColorBlue=176 ; Cloud gloominess color GloominessColorRed=255 GloominessColorGreen=255 GloominessColorBlue=255 ; Star field transparency, 255 - Stars appear (good for clear sky night time); 0 - No stars StarfieldAlpha=0 3. Finish Export your map with this new ini file included in it and enjoy the new colors! Note: you have to restart the map (but not the game) for any color changes in the ini file to take effect, if you have the ini file in the Data folder during color testing. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.