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.
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.
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:
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:
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!