Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#1 Old 26th Oct 2011 at 11:30 PM Last edited by simsample : 20th Sep 2012 at 2:27 PM.
Default Sea, Sky and Light parameters- let's learn!
One of the top things on my 'to do' lists for CAW has long been to learn about controlling the sea, sky and light parameters in The Sims 3.

We've had threads about this previously- here is one which gives some details:
Bridgeport Water Colour

So I thought that it would be a good idea to make a new thread where we could collate everything we've learned, try things out and gather enough information for a tutorial.

So please, go ahead and share what you know!

Atavera has given me some interesting information about having CAW automatically export these files with a world; please click here for information.

cmomoney has made a mod which allows you to switch between weathers in your game. So, you can test out your colour ramps and ini files in-game mor quickly, without having to wait for the skies to cycle normally. Get it here!


Note on Supernatural Moon Phases: The moon phases aren't affected by editing the weather files, as covered in this thread. However, if you wish to use a custom moon texture then you should be aware that this is affected by the moon phases, and you should see this thread for resources for the moon alphas.
Advertisement
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#2 Old 26th Oct 2011 at 11:31 PM Last edited by simsample : 28th Feb 2024 at 2:08 PM.
This is information I've gained by experimenting in-game and also by learning from what other people have reported.

Basegame files:

[Game Install Location]\Electronic Arts\The Sims 3\GameData\Shared\NonPackaged\Ini

This folder contains the ini files which have the sea, sky and light information for the game.

Weather types

There are five weather types:
Clear
Custom
Overcast
Partly Cloudy
Stormy


Note- the names are just what EA have chosen to call the files, it doesn't mean that a custom world must have these weather types!

In the basegame files, there are five files for each weather type to govern the parameters of the weather.

They are:
Sky_[Type]1.ini
Sky_[Type]2.ini
Sky_[Type]Light.ini
Sky_[Type]Sea.ini
Sky_[Type]Sky.ini

So, for example- for stormy, we have Sky_Stormy1.ini, Sky_Stormy2.ini and so on.

Sky_[Type]1.ini: Contains 'Tunable Parameters Related to Clouds'. Cloud cover, cloud colour, cloud appearance and cloud direction/speed for cloud layer 1 (the lower layer) are determined here. '[TextureOffsetChangeRate]' Negative numbers will cause the clouds to travel in a different direction.

Sky_[Type]2.ini: As above, but for cloud layer 2 (the upper layer).

atra-virago has some great pictures of how the various cloud parameters affect the sky in this post.

Sky_[Type]Light.ini: 'Color of the directional light in the sky'- sun and moon light parameters, ambient colour and fog thickness/ distance are determined here.

Sky_[Type]Sea.ini: 'Base water color before the sun and sky reflection are added'. Water colour and sun/moon sea reflection colour are determined here.

Sky_[Type]Sky.ini: 'Sky Shader Parameters'. Star brightness, streetlight brightness, bloom, sun colours, sky colours (not clouds, the actual sky!) and horizon colours are all determined here. The probability of this particular weather type appearing is also specified in this file.
Probability weightings:
Clear 0.2
Custom 0.0
Overcast 0.0
Partly Cloudy 0.35
Stormy 0.0
It seems that the higher this number (0 to 1) the more probable it is for that weather to appear. Zero means seldom seen.

In the above files, all colours which are specified are given in RGB values. This can be seen in this tutorial, where it is discussed how to change those values.

Sea and Sky files

As well as the weather parameters, there are also the following files in the basegame INI folder:
Sea.ini
SkyCommon.ini

Sea.ini: 'Tunable Parameters Related to Sea'. Texture scales, water speed and wave appearance are determined here.No water colour is specified in this file, but there is an important figure- WaterDepthFactor. This determined how clear or murky the water is- how deep you have to go before the water is coloured. In Sunset valley the murk is blue, in Bridgeport grey. There are also refraction and shore blending figures here.

SkyCommon.ini: 'Tunable Parameters Related to Sky'. Sun/moon size, sun/moon path, moon reflectivity, sunrise time and duration, sun bloom are all determined here. There is also a figure for choosing how often a new weather type is chosen (default set to 8 hours).


INI files in EA worlds

The following worlds contain custom INI files, so they have weather/sea/sky parameters that override the basegame INI files.They also have custom colour ramp files (images) that override the weather/sea/sky colours specified in the basegame INI files.

The INI files are different to the basegame files in format- whereas the basegame files each deal with a specific aspect of the sea/sky/weather, the world ini files contain this information merged into a single file for each weather. However, the colour information is not contained in the ini file, it is instead contained in the colour ramps. So, a texture is used instead of the colours being specified in figures.

The worlds that have custom weather parameters are:
Bridgeport
Twinbrook
Appaloosa Plains
France
Egypt
China

Sunset Valley, Riverview, Hidden Springs and Barnacle Bay do not have any custom sky parameters, and so use the defaults.

Bridgeport and Appaloosa Plains each have ten custom INI files and 5 custom DDS colour ramp files. Twinbrook has nine custom INI files and five colour ramps.

China, Egypt and France each have six ini files and two colour ramps.

The INI files that contain the weather information are as follows:
Bridgeport, appaloosa, Twinbrook:

S3_1F886EAD_00000000_560C0FD7012DA7F3%%+_INI.ini
S3_1F886EAD_00000000_967BC6C3B3808C00%%+_INI.ini
S3_1F886EAD_00000000_FE1F6A95A24A604A%%+_INI.ini
S3_1F886EAD_00000000_2C02B3532B64EB49%%+_INI.ini
S3_1F886EAD_00000000_8DEA7AE7631A026A%%+_INI.ini


France, China and Egypt contain only the first two files. This is because they only have two specified weather patterns- one with a probability weighting of 0, one with a probability weighting of 1.

These files contain the following information- star intensity, manmade light intensity, probability weight (probability of that weather type appearing), day time bloom (how much the world 'glows' in the sun), cloud direction and speed, fog parameters.

The other ini files are as follows:

S3_1F886EAD_00000000_3EC0CF0CC4A6540F%%+_INI.ini
Contains world specific parameters such as the colour of the top of walls and which world fly through to use.

S3_1F886EAD_00000000_5E4F8E7B226066CA%%+_INI.ini
Contains tunable parameters related to lighting. Gamma, bloom, saturation.

S3_1F886EAD_00000000_5E20253AF53E517F%%+_INI.ini

Contains tunable parameters related to sky- sun/moon radius, sunset and sunrise time, sunset dimming speed. Also contains the parameter to determine how often a new weather is chosen. For Egypt, this file also contains a line regarding the heat shimmer:

HeatShimmerDistance = 600

That could be added to any custom world as required!

S3_1F886EAD_00000000_7886A7F59355762F%%+_INI.ini
This one isn't concerned with weather- it is the file that governs the camera path for the flythrough when a new game is started in the world. Tutorial for that is here!

S3_1F886EAD_00000000_D89F9D186B7BB372%%+_INI.ini
(Not contained in Twinbrook or the vacation worlds)
Contains tunable parameters related to sea, including the figure for water transparency and refraction.
In the Bridgeport version of this file, the part that defines the water clarity looks like this:
Code:
; Defines the water depth at which murkiness completely takes over.  0 is always clear(refractively) and any depth above this
; value will be dominated by the Sea Water Color defined by the weather timeline (unless it's being reflective due to fresnel).
; Lower numbers mean murkier water.
; Note that this value gets baked into the verts at geometry generation time, and currently is not getting re-applied per-frame.
WaterDepthFactor = 1.0

In the basegame files, the waterdepthfactor is set to 10. Warning: If you set this figure low as in Bridgeport, you could find that parts of the map edge will show beneath the water. This is not so apparent if the water is deep, but where the water is shallow it could be undesirable



Colour Ramps

The colour ramps look a bit like this:


Not all of them have the figures underneath, but this one is useful as it shows the hour of the day. So, where the six is, that is the part of the colour ramp used for 6am. You can see quite clearly the orange coloured bits to make sunrise and sunset look nice!

Each strip of colour on that image corresponds to a different aspect of the sea/ sky. So, one colours the sea murk, one colours the sun reflection on the water, one colours the clouds, one colours the sun halo and so on.

We don't have a definitive list of what each line of the colour ramps affects. However, some people have done some research into this:
A description of what each line of the colour ramp affects in this post.
A labelled colour ramp in this post.
PoisonFrog has done some excellent research into colour ramp function in this post.


You can recolour the colour ramps in a photoediting program.

In the basegame INI files the hour is specified as well as an RGB colour, like this:

red = 200
green = 90
blue = 50
timeOfDay = 6

red = 100
green = 100
blue = 100
timeOfDay = 12

So colour ramps and RGB values are two different ways of achieving the same effect!

There is one colour ramp for each weather INI file- that's why there are only two colour ramps in the vacation worlds, to correspond to the two INI files. So, you could have pink fog for stormy weather, white fog when it's sunny and orange fog on a cloudy day! The only thing you have to worry about are the transitions- it may look odd if you have blue ambience suddenly changing to yellow, for example. You might want to keep the colour ramps subtle and similar to avoid obvious changes.

The colour ramp filenames are as follows:

S3_00B2D882_0076A684_ECCBBCB773C02131%%+_IMG.dds
S3_00B2D882_0076A684_7529C26EE8E2A9E6%%+_IMG.dds
S3_00B2D882_0076A684_28C841C9462BCDE0%%+_IMG.dds
S3_00B2D882_0076A684_E422CDDE7FE1F25F%%+_IMG.dds
S3_00B2D882_0076A684_F0A86F660985BF20%%+_IMG.dds




The vacation worlds contain only the first two.

Note about editing colour ramps- You should save your edited file as a 32 bit A8R8G8B8 file, no mip-maps. If the world crashes, or your colours/ world look wrong, check your alpha and mipmap settings, as if you get this wrong the game will not read the files!
Please see post #3 for more information, pictures and links to DDS utilities.


Weather and Colour Ramp correlation

Each colour ramp corresponds to a particular weather type.
Thanks to atra-virago we also know that the correlation between the basegame weather types and the EA world INI files and colour ramps.

The relationship is as follows:

Weather TypeINI fileColour Ramp
ClearS3_1F886EAD_00000000_967BC6C3B3808C00%%+_INI.iniS3_00B2D882_0076A684_7529C26EE8E2A9E6%%+_IMG.dds
Partly CloudyS3_1F886EAD_00000000_560C0FD7012DA7F3%%+_INI.iniS3_00B2D882_0076A684_ECCBBCB773C02131%%+_IMG.dds
OvercastS3_1F886EAD_00000000_8DEA7AE7631A026A%%+_INI.iniS3_00B2D882_0076A684_F0A86F660985BF20%%+_IMG.dds
StormyS3_1F886EAD_00000000_2C02B3532B64EB49%%+_INI.iniS3_00B2D882_0076A684_E422CDDE7FE1F25F%%+_IMG.dds
CustomS3_1F886EAD_00000000_FE1F6A95A24A604A%%+_INI.iniS3_00B2D882_0076A684_28C841C9462BCDE0%%+_IMG.dds

Thank you to atra-virago for the help with that!
Screenshots
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#3 Old 26th Oct 2011 at 11:31 PM Last edited by simsample : 24th Dec 2016 at 3:24 PM. Reason: Updated links
Let's Experiment!

Myself and many others have already experimented with adding custom INI files to worlds, and tweaking certain figures. However, it would be nice to be able to understand fully what each parameter does, and to find out some limits/ extremes.

Want to try it for yourself?

Here are some INI files I made for one of my worlds, which you could tweak and play with:
http://chii.modthesims.info/getfile.php?file=1324400

Here are a selection of colour ramp files, copied from the EA worlds:
http://chii.modthesims.info/getfile.php?file=1243559

The files for specific EA worlds are also attached to this post.

Download the files you would like to try.


BACKUP ANY FILES YOU CHANGE BEFORE YOU CHANGE THEM!
If you plan on importing these into a world, make a safe copy of the world. If you plan on changing the game files, backup the originals first.
This is so that if anything goes BOOM you can put the safe copy back, and no-one will cry.

To import the files:
You can either import these files into your completed, installed world (so that you can test in-game), or else you can import them into a world you are working on in CAW, to test them in CAW.

atra-virago had the idea to test in CAW, as you can use the 'Cloudiness' slider on the 'Time Of Day' panel to scroll through the five weather types. Combined with the 'Time' settings and 'Speed of Time Passage' slider, this means that you can watch your custom weather and view sunrises/ sunsets without loading the game, and with much greater control. The 'Cloudiness slider positions correspond to the weather types as follows (Left-Right):
1=Clear
2=Partly Cloudy
3=Overcast
4=Stormy
5=Custom

If you unpause the game in CAW and slide the 'Speed of Time Passage' slider to the right, you will see that the sky changes as it would in-game, choosing random weather types each interval and cycling through day/night. At any time you can pause and grab the 'cloudiness' slider, and scroll through the weather types to see what they will look like at that particular time of day (or indeed, to identify which type of weather it is that you are seeing).

BACKUP BEFORE YOU EXPERIMENT!
Make a copy of the file before you edit it.
For in-game worlds, these will be in Documents\ Electronic Arts\ The Sims 3\ Installed Worlds\.

For CAW projects, these will be in Documents\ Electronic Arts\ The Sims 3 Create A World Tool\ UserToolData\ Worlds. Don't forget that CAW projects have three files associated with each world- a .world file, a .Settings file and a folder. backup all three!
NOTE: If you then save the world in CAW, the game will discard the ini files but the colour ramps will remain. This can cause undesirable graphical glitches such as unnatural colours, unnaturally dark world, transparent water, unnatural glow or a foggy veil. Be sure to re-import the INI files again if you save the world in CAW, and again before exporting the world!

Put your backup somewhere safe, on your desktop or on a flash drive. Then, if you want to get rid of the changes you made you can just delete the world and replace it with the original- much easier than trying to find all the files you imported and deleting them!

NOTE: If you choose to edit the EA worlds, please be sure to backup these before proceeding. Be warned that future patches may need to read these files, and so you should keep an original in case.
The EA worlds are located in [Game Install Location]\ Electronic Arts\ The Sims 3 [EP Name]\ GameData\ Shared\ NonPackaged\ Worlds.

You need S3Pe:
http://www.simlogical.com/ContentUp...te/uploads/189/

Open the [worldname].world file in S3Pe. Click Resource>Import>From file and browse to the location of the extracted files. Make sure 'replace duplicates' and 'use resource name' are ticked. You can tick 'compress' too if you like!


Click Import, then File> Save. That's it! The resources are imported. You can now test your world in game.

Try: the basegame edited files alone, and then add the colour ramps.

Try: Amending the parameters in the INI files to see what happens.
You could amend the cloud cover as mentioned above, or the speed/ direction. Also play with the fog, change the start and end distances and the curve figure, for each time of day. Example below:

Code:
[FogDistance1]
start = 0
end = 500
curve = 0.75
timeOfDay = 1


If you want to experiment with a particular parameter, make ALL of the weather files the same- so make the figures in each of these identical:

S3_1F886EAD_00000000_560C0FD7012DA7F3%%+_INI.ini
S3_1F886EAD_00000000_967BC6C3B3808C00%%+_INI.ini
S3_1F886EAD_00000000_FE1F6A95A24A604A%%+_INI.ini
S3_1F886EAD_00000000_2C02B3532B64EB49%%+_INI.ini
S3_1F886EAD_00000000_8DEA7AE7631A026A%%+_INI.ini

That way, you will be sure that what you are seeing is a result of the changes you just made!

Try: Editing the colour ramp files to change the sea and sky colour.

You need NVidia DDS Utilities to do this, as the files are in DDS format:
https://developer.nvidia.com/legacy-texture-tools
Photoshop DDS Plugin here:
http://developer.nvidia.com/nvidia-...adobe-photoshop
GIMP DDS plugin here:
http://registry.gimp.org/node/70

We don't have a definitive list of what each line of the colour ramps affects. However, some people have done some research into this:
A description of what each line of the colour ramp affects in this post.
A labelled colour ramp in this post.
PoisonFrog has done some excellent research into colour ramp function in this post.


You should save your edited file as a 32 bit A8R8G8B8 file, no mip-maps. If the world crashes, or your colours/ world look wrong, check your alpha and mipmap settings, as if you get this wrong the game will not read the files!
Bakafox pointed out what this will look like in Photoshop.
First, make sure the alpha box is ticked:


Then choose '8.8.8.8 ARGB 32bpp Unsigned'. Note I have 'no mip maps' ticked!:


For GIMP it should look a bit like this:

Click 'Save as' and keep the same file extension (DDS). Then click Save.


If you have kept the filename the same as well as the extension, then click 'replace' to overwrite:


In 'Compression' choose NONE and choose RGBA8 in the 'format' box. Note, the 'Generate Mip-Maps' box is unticked:


Leave all other settings as they are, and click ok.

If you are a Photoshop user, PoisonFrog has made a Photoshop colour ramp template. Download it in this post.


Try: Opening the EA worlds in S3Pe, and exporting the following if they are there:

S3_00B2D882_0076A684_7529C26EE8E2A9E6%%+_IMG.dds
S3_00B2D882_0076A684_28C841C9462BCDE0%%+_IMG.dds
S3_00B2D882_0076A684_E422CDDE7FE1F25F%%+_IMG.dds
S3_00B2D882_0076A684_ECCBBCB773C02131%%+_IMG.dds
S3_00B2D882_0076A684_F0A86F660985BF20%%+_IMG.dds
S3_1F886EAD_00000000_560C0FD7012DA7F3%%+_INI.ini
S3_1F886EAD_00000000_967BC6C3B3808C00%%+_INI.ini
S3_1F886EAD_00000000_FE1F6A95A24A604A%%+_INI.ini
S3_1F886EAD_00000000_2C02B3532B64EB49%%+_INI.ini
S3_1F886EAD_00000000_8DEA7AE7631A026A%%+_INI.ini
S3_1F886EAD_00000000_3EC0CF0CC4A6540F%%+_INI.ini
S3_1F886EAD_00000000_5E4F8E7B226066CA%%+_INI.ini
S3_1F886EAD_00000000_5E20253AF53E517F%%+_INI.ini
S3_1F886EAD_00000000_D89F9D186B7BB372%%+_INI.ini


Then import those into your custom world.
I've uploaded the EA world ini files and colour ramps, you can get them from the following links.
Appaloosa Plains
Basegame INI files
Bridgeport
China
Egypt
France
Twinbrook
Lunar Lakes
Starlight Shores
Lucky Palms (thanks Kiwimaus!)
Sunlit Tides (thanks propackets!)
Moonlight Falls (thanks propackets!)
Twinbrook and Bridgeport have remarkably similar INI files and colour ramps!
Note: Sunlit tides, like China, Egypt and France, only contains overrides for two weather states.

Note on France and China DDS files:
One of the France dds colour ramps and one of the China dds colour ramps have no alpha, and so can sometimes result in blocky shadows on the terrain, as in this image:

To solve this, the images should be corrected to give the correct alpha channel. I have amended these color ramp and they can be downloaded here if you would like to try them:
Click here for France
Click here for China

Report your results!
Take pictures of your results, give figures, share INI files. What I'm aiming for is to be able to write a comprehensive guide about how to get exactly the weather/ sky/ light you want.

Importing Weather Parameters into Packed (Sims3Pack) worlds
If you wish to include your colour ramps and ini files in a packed world (Sims3Pack file), this can be done by importing the ini files and colour ramps into your CAW world file before you export your world to Sims3Pack.
Please note that if you then save the world in CAW, the game will discard the ini files but the colour ramps will remain. This can cause undesirable graphical glitches such as unnatural colours, unnaturally dark world, transparent water, unnatural glow or a foggy veil.
To solve this, you need to either re-import your ini files to the world after saving, or else remove the colour ramps to get rid of the custom weather altogether. The files you should remove are as follows:


As always, thanks to everyone who has contributed to this in previous threads, and thanks in advance to everyone who contributes here. Please feel free to point out any errors in my information, or to add information. I would like to know if I'm making any wrong assumptions and would like to know what you know!
Screenshots
Attached files:
File Type: zip  Custom Colour Ramps.zip (15.2 KB, 2159 downloads) - View custom content
File Type: zip  AppaloosaPlains.zip (23.0 KB, 501 downloads) - View custom content
Description: Sea/Sky files extracted from Appaloosa Plains.
File Type: zip  Basegame.zip (31.6 KB, 611 downloads) - View custom content
Description: Sea/Sky files from the basegame INI folder
File Type: zip  Bridgeport.zip (23.5 KB, 758 downloads) - View custom content
Description: Sea/Sky files extracted from Bridgeport.
File Type: zip  China.zip (13.1 KB, 373 downloads) - View custom content
Description: Sea/Sky files extracted from China.
File Type: zip  Egypt.zip (16.0 KB, 420 downloads) - View custom content
Description: Sea/Sky files extracted from Egypt.
File Type: zip  France.zip (14.0 KB, 448 downloads) - View custom content
Description: Sea/Sky files extracted from France.
File Type: zip  Twinbrook.zip (22.2 KB, 478 downloads) - View custom content
Description: Sea/Sky files extracted from Twinbrook.
File Type: zip  Lunar Lakes.zip (29.5 KB, 483 downloads) - View custom content
Description: Sea/Sky files extracted from Lunar Lakes.
File Type: zip  Starlight Shores.zip (23.1 KB, 439 downloads) - View custom content
Description: Sea/Sky files extracted from Starlight Shores.
File Type: zip  LuckyPalms.zip (21.9 KB, 1211 downloads) - View custom content
Description: Sea/Sky files extracted from Lucky Palms.
File Type: zip  France corrected 7529C26EE8E2A9E6_DDS.zip (5.6 KB, 437 downloads) - View custom content
Description: Corrected ramp for France
File Type: zip  China Corrected 7529C26EE8E2A9E6_DDS.zip (5.8 KB, 344 downloads) - View custom content
Description: Corrected ramp for China
File Type: zip  Sunlit Tides.zip (13.7 KB, 2447 downloads) - View custom content
Description: Sea/Sky files extracted from Sunlit Tides.
File Type: zip  Moonlight Falls.zip (26.5 KB, 871 downloads) - View custom content
Description: Sea/Sky files extracted from Moonlight Falls.
File Type: zip  Jericho.zip (26.5 KB, 2127 downloads) - View custom content
Description: Sea/Sky/Flythrough files for Jericho (original version)
Field Researcher
#4 Old 27th Oct 2011 at 12:09 AM
OMG I am so happy you are tackling this! I have 2 projects right now that I'd like to alter and make more gloomy in terms of weather and lighting. I shall be camping the heck out of this thread!
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#5 Old 27th Oct 2011 at 12:24 AM
Quote: Originally posted by bakafox
OMG I am so happy you are tackling this!

Um, not Me, but US! I need input, testers and information!
Lab Assistant
#6 Old 27th Oct 2011 at 12:27 AM
Quote: Originally posted by simsample
Um, not Me, but US! I need input, testers and information!

Dunno if I want to try this myself or not.
I copied the file from er Bridgeport? I'm not sure but I put it in my world file and my sea went so see through I could see right to the seabed lol
Not what I actually wanted
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#7 Old 27th Oct 2011 at 12:57 AM
Jay- hang on, I'm completing a little more. I'm putting up some test files and instructions, gimme a few minutes (or perhaps hours, I think sloooooow! )
Lab Assistant
#8 Old 27th Oct 2011 at 1:02 AM
Quote: Originally posted by simsample
Jay- hang on, I'm completing a little more. I'm putting up some test files and instructions, gimme a few minutes (or perhaps hours, I think sloooooow! )

I will hang on until someone creates a perfect (or as close to perfect) set for Hidden Springs at which point I will download those files.

Otherwise my world will end up more weirdly wonderful (yeah right) than it already is
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#9 Old 27th Oct 2011 at 1:42 AM
Can't promise that, after all your idea of perfect weather might differ from mine! But, I put a set of files up with some instructions, so that we can experiment.

Please show me what you find, and what you learn! And don't forget to share your 'perfect' weather!
Forum Resident
#10 Old 27th Oct 2011 at 8:14 AM
I've been playing with the water color ini files, trying for a murky green. My problem arises with the water reflection. If you look directly down at the water, it's green. Looking out across the water, the reflection is blue.





These are the 5 ini files I'm editing, and what I've edited.



I tried altering the "Color of sun / moon reflection for the sea", which is the second section in the Ini files, with no visible difference.

Has anyone dealt with this issue? Maybe I'm altering the wrong ones, or there are some more that need tweaking.
Screenshots
Attached files:
File Type: 7z  ini Green Water.7z (700 Bytes, 118 downloads) - View custom content
Description: These are the 5 ini files I've been working with.
Lab Assistant
#11 Old 28th Oct 2011 at 1:27 AM Last edited by Jay290783 : 28th Oct 2011 at 12:10 PM.
Right I'm going to try with a single file first.
I'm starting with the S3_1F886EAD_00000000_5E20253AF53E517F%%+_INI "Tunable Paramaters Related to Sky" file.
Will see what my little tweeks look like and get back to you.

*fingers crossed*

Would be great if it was first time lucky but will probably be an epic fail.

Edit 1: OK so it seems that although I think my sun and moon rise in more or less the same area of the sky, they seem to set at noticeably different points in the sky.
Weird!

Edit 2: Further to my previous edit, I've tracked both the sun and moon and they seem to be at almost mirror points to eachother. Should that be the case? Should the moon move anti-clockwise across the sky and the Sun move clockwise?
I'm sorry if I'm having a duh! moment but would've thought they would begin and end at the same points in the sky and follow the same path
By the way, my file, with its edits, that I have used, is here
The actual settings I've used are as follows:



Anyone have any ideas what the "Bloom is all about?
Also, slightly off topic, I would put the code in a Spoiler Button but I don't know how to. Sorry

Edit 3: Just edited the file again so that the SunRadius is 200 and the MoonRadius is 500.
God that Moon is MASSIVE!
Attached files:
File Type: rar  S3_1F886EAD_00000000_5E20253AF53E517F%%+_INI.rar (1.7 KB, 93 downloads) - View custom content
Lab Assistant
#12 Old 28th Oct 2011 at 2:23 AM Last edited by Jay290783 : 28th Oct 2011 at 3:03 AM.
*****warning!!!!!*****
*****WARNING!!!!!*****

DO NOT and I mean DO NOT try to set the MoonDegreeOffset to a negative number. I set it to -45 thinking that maybe it would move the placement of the moon.
It did.
It vanished from the sky completely so I presume it's technically underground

I would presume the same would happen to the Sun or Stars if you set them as negative numbers.
One way to have no stars at all perhaps?

Edit 1: Don't set them all at 90. Nothing happens. Both the Sun and Moon stay put permanently and the Stars never appear.
Forum Resident
#13 Old 28th Oct 2011 at 6:47 AM
I made the moon in Spooky Town incredibly large, I think 600, and it caused major lag at night. I had to roll it back to this;

[MiscSkyParams]
;; Radii of the sun, sun glow, and moon in metric arbitrary units
SunRadius = 360
SunHaloRadius = 260
MoonRadius = 400


I didn't know how to do the spoiler button either, so I opened up Simsamples, in reply mode to check the coding, then backed out of it.
Instructor
#14 Old 28th Oct 2011 at 10:17 AM
Quote: Originally posted by auntielynds
I didn't know how to do the spoiler button either, so I opened up Simsamples, in reply mode to check the coding, then backed out of it.


It's easy. For a spoiler tag:

[*spoiler*]Stuff to Hide[*/spoiler*]

but without the asterisks. Although the info button is even better, and it's used like this.

[*infobutton='Insert Title Here'*]Stuff to Hide[*/infobutton*]

Again, without the asterisks. You can also use Preview Post to be sure it shows up just the way you want it to.


More on topic to the thread, I shall be reviewing it periodically. It's very interesting stuff and should be helpful.

- Ben
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#15 Old 28th Oct 2011 at 11:47 AM
Lynds, I think you'll always get the lighter colour on top of the water to an extent, because that's the wave layer of the water. However, if you recolour the ambient light too, you won't have so much of an issue:

You can see what I mean here-

See how the colour of the sea is determined by the atmospheric colours as well as the sea murk colour.

The file you are using called 3119E691AE6018C1 is from The Sims Medieval, so it would probably be better to use a file with an FNV hash from the Sims 3 instead. What I would recommend is to try the files I supplied above, and then edit the colour ramps to get the effect you want instead of editing RGB codes for a single aspect of the world colour. If you really just want to edit the RGB colours, then try altering the fog, horizon and other colours in these files too:
Sky_[Type]1.ini
Sky_[Type]2.ini
Sky_[Type]Light.ini
Sky_[Type]Sky.ini
The one for sea colour corresponding to the medieval one you're editing is Sky_[Type]Sea.ini. It's possible that the Medieval one could override the files you have listed after it- they all deal with sea, so I'm not sure which weather type the medieval one will override.
I think I would find it easier to recolour an image than to plug in RGB colours!

Jay290783, good info! Did you notice lag like auntielynds reported when using a massive sun/ moon radius? Your findings related to the sun and moon staying stationary are great- could be useful for alien type worlds, perhaps? For the bloom, that's to do with how much things glow in the light (think, EA kitchen counters when the lights are on!).

Good work everyone!
Screenshots
Lab Assistant
#16 Old 28th Oct 2011 at 12:07 PM
Quote: Originally posted by simsample
Did you notice lag like auntielynds reported when using a massive sun/ moon radius? Your findings related to the sun and moon staying stationary are great- could be useful for alien type worlds, perhaps? For the bloom, that's to do with how much things glow in the light (think, EA kitchen counters when the lights are on!).

Good work everyone!

Yeah I did. Kept stopping and starting as I was tilting the camera trying to first fin and then follow the paths of the sun and moon.

Also, I Wouldn't recommend putting a huge number for SunHaloRadius.
I had it at er 1500 I think and you couldn't see the sun when it was near the horizon so had trouble determining where it was setting

I've got it at 500 now and that seems a nice reasonable number so I probably wouldn't recommend higher...
...unless you want an Egypt type world...
...or Tatooine in terms of Alien planet

Speaking of which...wouldn't it be cool if we could add multiple Suns and/or Moons to really make it look like an alein planet? I wonder if that's possible. Hidden Springs but in the Alpha Centauri System instead
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#17 Old 28th Oct 2011 at 4:06 PM
Hmm, it's possible to replace the moon texture, so you might be able to make a texture that looks like two moons. But making them move independantly would be something else entirely!
Top Secret Researcher
#18 Old 28th Oct 2011 at 5:09 PM
Thank you for revisiting this information, I have bookmarked this thread! I had long since given up on trying to wrap my head around the information in the older threads, but this is reviving my motivation. I last left off with a problem similar to AuntieLynds: I wanted a bright turquoise water. Editing the INIs achieved that to a degree, the color would show up when looking down at it, but the water would still always appear that same old shade of blue when looking across it.



So I had read about the color ramps and downloaded Gimp to try and play around, but with strange results, so shortly thereafter I gave up and went about building my world minus the sky and sea color I wanted.

From what I'm reading here, I need to alter two of the color bars on the color ramp, one for water color and one for murk?
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#19 Old 28th Oct 2011 at 7:26 PM
Margaret Pendragon, the only colour for the water as such is the murk- the depth at which this begins is determined by the waterdepthfactor (I added a note about that in post #2 above). However, as my images show in post #15, the ambient colours will also affect the water. So, the sun's reflection colour, the horizon fog colours, the sky colour. Try out some of the EA colour ramps and you'll see what I mean- Bridgeport and Twinbrook's are quite bland, but the ones from France and China have some colours that are quite vivid. If the sky is purple, it will affect the appearance of the sea- so you need to have the colours in agreement, unless you want some absurd alien effects!
Top Secret Researcher
#20 Old 30th Oct 2011 at 3:55 AM
Wow, this is super tedious business!

It seems that the greatest changes are accomplished using the color ramps.

First I tried a basic colorization of a color ramp, and came out with this:
Simsample, this is old news for you, but I thought I'd share for those trying to learn this. I'm not technically-inclined, so I'm proud of this!
The first image is the 'normal' coloring. The second is after I altered the color ramp.
As you can see, the full colorization worked. But, it also tinted the lighting slightly, and produced greenish shadows.

According to GloamingMerle's post (referenced in Simsample's 2nd post in this thread), the first three bars on the color ramp have to do with lighting and shadows. So I recolorized the color ramp, but left those first three bars with their original coloring. This was the result:


Next up will be figuring out the horizon coloring, so that I can recolor my sky. I haven't had much success with either INIs or color ramps yet, as far as that goes, so any pointers would be appreciated.
Field Researcher
#21 Old 30th Oct 2011 at 6:51 AM Last edited by bakafox : 30th Oct 2011 at 7:38 AM.
What clock times do 'time of days' match up with.. is 1 6am, or midnight, or what?

Also, where is the file for moon graphic/texture since I see above that it can be replaced...
e3 d3 Ne2 Nd2 Nb3 Ng3
retired moderator
Original Poster
#22 Old 30th Oct 2011 at 9:20 AM
Great results, Margaret Pendragon! It's really useful to us when we can see pictures of the effects you are getting and what parameters/ ramps you're using, so thanks for posting such clear images! I love that sea colour. See how even the sand looks a different colour- so the lighting and sky parameters really can be used to make a very different feel to a world. Will you be sharing your colour ramps?

bakafox, it's a 24 hour clock- on the colour ramps, 0/24 is midnight, 6 is 0600 hours (6am), 12 is midday, 18 is 1800 hours (6pm). For the RGB colours in the basegame inis, it's the same- if it says 4, it means 4am. If it says 16, it means 4pm. If you use the colour ramps though you don't need to worry about the RGB values.

The moon texture I'm pretty sure I found in Fullbuild0, but there's an override here you can take a look at:
http://www.modthesims.info/download.php?t=420479

More info here too about recolouring all sorts of things:
http://builders.forumotion.net/t101...-holes-emitters
Top Secret Researcher
#23 Old 30th Oct 2011 at 5:52 PM Last edited by Margaret Pendragon : 30th Oct 2011 at 6:07 PM.
bakafox, the moon image can be found from your program directory Sims files.
TheSims(TM) 3\Game Data\Shared\Packages\ and it is the FullBuild0 package like simsample said. As you can see in my screen shot, the file path may differ if you used Origin to install your games.

I opened that up in S3PE and sorted the files to find the _IMG file with the tag of "moon".

simsample, I'll be happy to share my color ramps after more tweaking. As you can see in this moon photo, my basic colorization of the color ramp even produces a teal sky at night, and that's something I want to correct.

So night sky color, and horizon color, those are the two things I need to figure out.

ETA...you can download my moon DDS from here
Top Secret Researcher
#24 Old 30th Oct 2011 at 10:24 PM Last edited by Margaret Pendragon : 30th Oct 2011 at 10:36 PM.
So, from what I've experienced thus far with color ramps is that the horizon sky color is a HUGE factor in the sea's overall color--which will be a disappointment for those of us who would love the contrast of a bright blue sea and a purple sky. (PLEASE correct me if I'm wrong, I would love to separate the colors for the two...) I'm not sure how big of an affect altering the ambient colors in the INI files would have on this?

I started using one of Egypt's color ramps, as I like Egypt's coloring in the game. Here is my altered color ramp. Using GloamingMerle's previous observations about what each bar of the color ramps do, I did observe that bars 1-3 pertain to lighting and shadow colors. I'd recommend leaving those alone, or else leaving them for last. Recoloring the entire color ramp will produce weird lighting and shadow colors, which is probably not what you want to achieve.

Bar 4 is the sea color.....but that's only the sea color when viewing the world from overhead, or from up-close. You can see from the color ramp image that I set bar 4 to a bright red, which comes out a bright pinkish-red ingame (so probably still affected somewhat by sky color and/or depth). If you're close to the edge of your map, you'll notice that the 'water color' ends at the edge of the map. GloamingMerle observed that bar 5 is the sun's reflection on the water. However, I could NOT tell any difference in my world, even when changing it to a noticeably different color. In this color ramp, I have that bar set to a lime green color, but I've seen nothing of it yet in my world. Does anyone have any input on what bar 5 affects?

Beyond the edge of the map, sea color is a mixture of the sea color and sky color. Or is this 'murk'/depth? I haven't tried altering depth factors at all yet. It only appears this way when viewed from overhead; otherwise it still depends largely on horizon color.

Finally accepting the limitations of sea color, I found it best to alter bars 8 and 9 to determine the horizon color and most of the sea color, and to set bar 4 to a similar or complementary color for a more uniform appearance.

If you want a darker night sky, blackening the edges of bars 8 & 9 is what you need to do. You'll notice it also makes the stars a lot more noticeable.

The last several bars on the color ramp are, as GloamingMerle observed, "shaders" and are quite subtle. These appear to affect the dome of the sky, which you'll mostly only see when in Camera Mode.

I'm still tweaking, but I'll share my color ramp here soon.
Lab Assistant
#25 Old 30th Oct 2011 at 11:29 PM
Finally had a go at Gimp and decided to edit the colour of the moon to a nice Smurf kind of glow as demonstrated below:

If you fancy having that moon in your own world then download the rar file below, open it up and add the S3_00B2D882_00000000_C61E627EBFF91A92_moon%%+_IMG.dds file to your world using S3PE.

Granted it could probably be a lot better, but not bad for a first try if I do say so myself
Screenshots
Attached files:
File Type: rar  S3_00B2D882_00000000_C61E627EBFF91A92_moon%%+_IMG.rar (33.9 KB, 147 downloads) - View custom content
Page 1 of 18
Back to top