Hello...
I have changed the TILT limits to be able to get lower to the ground...It works very well but after doing this the 'background' sky is all black !
It looks like all battles are played out in the middle of the night...
Can i somehow change this black color to light blue in a simular way to how i changed the tile limits...
By editing one of the text files ???
Thanks !
How to change color of the sky ?
Moderator: rbodleyscott
-
- Private First Class - Opel Blitz
- Posts: 3
- Joined: Sun Dec 08, 2024 4:30 pm
-
- Site Admin
- Posts: 9881
- Joined: Wed Mar 23, 2005 10:35 pm
Re: How to change color of the sky ?
I think that if you change the fog colours in the txt files in DATA/LIGHTING then it might work, though it will likely cause some oddness with the map border, which I think is set to black in textures.
So in each file (they are used for different settings and times of day), look for this chunk:
[FOG]
COLOUR 0 0 0
START 30
END 900
Can change the COLOUR values. They are RGB values between 0 and 1, so floating point. This MIGHT work!
Be aware that it is possible for scenarios to have their own lighting files, but these can all be safely changed without affecting any MP etc.
Cheers
Pip
So in each file (they are used for different settings and times of day), look for this chunk:
[FOG]
COLOUR 0 0 0
START 30
END 900
Can change the COLOUR values. They are RGB values between 0 and 1, so floating point. This MIGHT work!
Be aware that it is possible for scenarios to have their own lighting files, but these can all be safely changed without affecting any MP etc.
Cheers
Pip
follow me on Twitter here
-
- Private First Class - Opel Blitz
- Posts: 3
- Joined: Sun Dec 08, 2024 4:30 pm
Re: How to change color of the sky ?
Thanks, Pip !
Looking through the files this morning i managed to find the file that you are refering to above...
Data/lighting.
I have tried to edit the COLOUR one in a simular way to how describe it...I thought the numbers ran from 0 to 255 though so i put in 0 0 255 to get a clear blue colour...
I tweeked the default day and steppe sections and did a test run with a steppe map...The colour did change to something primarely white....Whit a black border just as you mentioned...
I will trty and edit the files using the numbering limitations you mentioned to see if the sky turns blue...
If i can't get rid of the black border though i'm not really happy with the result...
I don't really know what else to change to get rid of it....Dont want to mess up the files to much...
As you mentioned...some other problems might show up...
Again. Thanks for your help !
Regards/ Fredrik
Looking through the files this morning i managed to find the file that you are refering to above...
Data/lighting.
I have tried to edit the COLOUR one in a simular way to how describe it...I thought the numbers ran from 0 to 255 though so i put in 0 0 255 to get a clear blue colour...
I tweeked the default day and steppe sections and did a test run with a steppe map...The colour did change to something primarely white....Whit a black border just as you mentioned...
I will trty and edit the files using the numbering limitations you mentioned to see if the sky turns blue...
If i can't get rid of the black border though i'm not really happy with the result...
I don't really know what else to change to get rid of it....Dont want to mess up the files to much...
As you mentioned...some other problems might show up...
Again. Thanks for your help !
Regards/ Fredrik
-
- Site Admin
- Posts: 9881
- Joined: Wed Mar 23, 2005 10:35 pm
Re: How to change color of the sky ?
"They are RGB values between 0 and 1"
So 0 is black, 0.5 is half that specific RGB value and 1 is full. So 0.5 0.5 0 is mid-brightness yellow, for example.
If you really want to go full sky colours, then IIRC if you open the TEX0.dds file in any of the *_base subfolders in DATA/TILES, and then edit the very bottom right tile (which is black) then I think that it might change the border colours.
Cheers
Pip
So 0 is black, 0.5 is half that specific RGB value and 1 is full. So 0.5 0.5 0 is mid-brightness yellow, for example.
If you really want to go full sky colours, then IIRC if you open the TEX0.dds file in any of the *_base subfolders in DATA/TILES, and then edit the very bottom right tile (which is black) then I think that it might change the border colours.
Cheers
Pip
follow me on Twitter here
-
- Private First Class - Opel Blitz
- Posts: 3
- Joined: Sun Dec 08, 2024 4:30 pm
Re: How to change color of the sky ?
Thanks again !
I will see if i can get this working using your tips...
/ Fredrik
I will see if i can get this working using your tips...
/ Fredrik