Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Unfortunately, for a 'sunset' skybox image, you have to lower the sun's position, which stretches the shadows out, and they don't like being stretched out.
The skybox is really just that, a static box with 6 HDR images seamlessly* stitched together to give the illusion of a sky, ... with a sun (static light source), and a little ambient (fog) light thrown in.
You can change the sun's (light source) position to almost anywhere you want using math to get the right numbers. You can change source's intensity. You can change the ambient light color, or 'fog' to almost any color too, ... that's about all this mod can change; skybox, light direction and intensity, and the ambient or fog color.
* Ha!, close enough.
The game's engine does not look for additional skyboxes nor does it have any mechanism to move or turn on/off the light direction during the game.
"Unless the developers rewrite the game engine code for a Day-Night skybox, it can never, ever be done by creating or modifying .lua and .blob files."
The main problem or obstacle is that the light emitter for the Sun (or Moon) is not animated, it has no code for it to change direction during gameplay, therefore it just can not be done based on the current game code:
runFn = function (settings)
game.config.environment.light.direction = { math.cos(math.rad(60.0)),
math.sin(math.rad(60.0)), math.tan(math.rad(30.0)) }
game.config.environment.light.refBrightness = 4.0
game.config.environment.fog.color = { 1.05, 0.65, 0.25 }
As you can see, there is nothing there for animation, just the light direction, brightness, and fog color.
The trick is finding the mods in the "446800" folder as they are all given a "Steam Workshop Serial Number" designator and are not named. So if you have, lets say, a 100 or so mods, searching through them can be a bit of a PIA.
*except maybe a few locomotives and even then the light does not actually "shine" on anything.
If you would like to see how this looks, a "night" mod was done by homie4ever and is contained in his mod package here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=945646496
The obstacle I ran into for the Sunset and Sunrise mods was that when you adjust the shadow angles, they tend to "flicker" when you scroll around the map, that is why I gave up on any further skybox mods.
Clarification: This mod does not have "snow" textures, only Skybox textures. The screenshots illustrate the Sunset mod as it appears in other environments.
Do you do graphic design? Any tips for me? I could use some.
... and 谢谢!
@Hoodlock: I could , but there is already a mod that does that, and such a mod wouldn't really add very much as the in-game models are not set up for lighting.
Currently, there are two other Skybox mods that I am working on, plus a couple of other mods.
-the Skybox is a static 6-sided box, it is not animated.
-light models are needed for vehicles, streetlights and town buildings, currently the game does not have these.
-vehicle metadata needs to include speed and traction variables that the game engine would recognize.
-current performance issues need to be solved.
[sigh] mods can only take you so far until you reach the limitations of the game engine, still, it would be a cool feature.