PDA

View Full Version : Adding a Custom Water Color (or sky colors, sun sizes, etc) to your world. (Somewhat advanced Tutorial)


Claeric
28th Jan 2010, 02:08 AM
Staff notice: Please note that this thread is unsupported, and although it contains some valid information is now slightly outdated. Current research into Sea/ Sky/ Weather parameters is being conducted in this thread (http://www.modthesims.info/showthread.php?t=459198). Please post any questions there. :!:

What you need: S3PE and notepad. That's it! Although you also need a bit of time and competence. This is a somewhat advanced tutorial and I will not hold your hand. If you try and have issues, tell me, though. This is currently considered 100% functioning. It is also REVERSIBLE!

In ProgramFiles/ElectronicArts/TheSims3/Gamedata/Shared/Nonpackaged/Ini, there are various files which manage the color of the sea.

Each one is really simple to edit: It simply lists the values (Red, Green, and Blue) for that type of sky(clear, cloudy, etc) at specific times of day. While it is a complicated process to do this PROPERLY(By default, each sky type and each time of day has different numbers, changing the water color for different times of day), you can very easily pick a single color you quite like (My initial test was Red 0, Green 0, Blue 20) and apply it to all of them. Ideally, you'd tweak the water much more than that, but for personal use it isn't too bad.

If you're comfortable with that, you can change water color while in-game. Simply load the game in windowed mode and open one of these ini files. Change the values for the type of sky your neighborhood is currently experiencing and the time of day, and your changes *should* be reflected in-game. When you're happy with the color, copy the values and put them somewhere, or write them down, and CLOSE THE FILE WITHOUT SAVING. ALTERNATIVELY, you can use a site like this:

http://web.njit.edu/~kevin/rgb.txt.html

And copy the numbers for the color you think you'd like. I don't know what the number limit is when choosing colors. Usually it is 255 for each color, but the game has no colors anywhere near that in any of the files. So I wouldn't go above 30 for now, but feel free to play around with it and see what happens if you use higher numbers. If your chosen color is 255, 100, 200, then make it 26, 10, 20, instead. Just to be safe.

1. Copy each and every ini ending in SEA. Sky_ClearSea, Sky_CustomSea, Sky_OvercastSea, Sky_PartlyCloudySea, and Sky_StormySea. Paste them into a new folder.

http://img23.imageshack.us/img23/6248/step1bj.jpg

2. Open your copied file for Sky_ClearSea. Note that there are various sections with R, G, and B, followed by a number. These are the color values for the water, for that type of sky, at that time of day. It's a tough process to keep these colors changing consistently, so for testing purposes, I simply made each and every one of these the same values(such as 0, 0, 20, instead of trying to do variations.)

http://img188.imageshack.us/img188/3526/step2cn.jpg

3. Change these values for each and every file. Doing this PROPERLY would involve, like I said, making specific changes for each time of day. But simply to test, I did not bother.

Now you're going to learn how to add these custom water colors to ONE and ONLY one world!

1. Open the world file in S3PE (Documents/ElectronicArts/TheSims3/InstalledWorlds, if already installed). BE SURE TO MAKE A BACKUP.
2. Resource -> Import from File.
3. You will import each custom ini one by one. After importing one ini, skip to step 4.

Use the following for the instance box, depending on which ini you are loading(you will load each one, one by one):
Sky_ClearSea: 0xDAA2DD455D055F37
Sky_CustomSea: 0x577758BD99619673
Sky_OvercastSea: 0x14BCC166ED42C621
Sky_PartlyCloudSea: 0x3119E691AE6018C1
Sky_StormySea: 0x03091256E1A31960

If you used any other INI files, you need to press "Tools-FNV HASH" and type in the EXACT name of that ini file(such as Sky_Common). Copy the number next to FNV64 and use that for the instance when importing that INI.

After putting in the instance, click ok.

4. Right-click the new instance(it will already be highlighted after you click ok) and choose "details". Now put 0x1F886EAD in the type box, and click ok. Now go back to step 3 and repeat for the next ini, doing steps 3-4 until you have all the ini files imported.

5. Choose file->save. Do not save as a new name. Load the world(saved games included!) and marvel at its custom water colors! These colors will not appear in any of your worlds except the one you edited!

You can also change the sun diameter, moon diameter, shadows, sky color, anything by using the Sky_Common file. That is applied in exactly the same way. This has been confirmed and tested and works flawlessly, even if the world is already installed and in-use. :D

If you wish to remove your custom settings, open the world again and arrange the information by "Type". THen find type 0x1F886EAD and delete all the files with that type. You can also copy these files and paste them into other worlds, should you want to just add the effects to another.

Have fun. :D

Default water:
http://i181.photobucket.com/albums/x294/ClaericBryant/Screenshot-103-1.jpg

0, 0, 20 water:
http://i181.photobucket.com/albums/x294/ClaericBryant/Screenshot-102-1.jpg

Note: This does change the color of water on lots. All water is dictated by these ini files, so no, you can't have a lava world with little water ponds(not that that would make sense). Pools are still blue though, as they are actually clear and their color is dictated by the walls/floors.

Thanks to Ascarrott for posting this (http://forums.modthesims.info/showthread.php?t=386817) which is the basics of how this works, and HP and Inge for helping push the idea along :D


Mod edit: There is more discussion and information regarding this here:
http://www.modthesims.info/showthread.php?t=427478

ashillion
29th Jan 2010, 03:33 PM
Is there a way to do this so only a custom world will be effected by the changes?

Inge Jones
29th Jan 2010, 04:06 PM
This is for a world at a time.

ashillion
29th Jan 2010, 04:08 PM
doh!

wow, this rocks...

Nyn
29th Jan 2010, 08:23 PM
very clever!!

Inge Jones
31st Jan 2010, 09:53 PM
I found a INI with fog settings in the Egypt world, and brought it into my custom world. It was IID 0x560C0FD7012DA7F3 and the top line starts [MiscParams]

No matter what I set the fog to, it doesn't seem to affect the world. Any ideas?

Claeric
31st Jan 2010, 09:59 PM
Egypt doesnt have ANY fog, I think. There may be a chance that said ini is there to prevent fog, not alter it.

Inge Jones
31st Jan 2010, 10:30 PM
Well it has settings in it that *say* they're meant to be to control fog. The settings for Egypt were such I can believe it would make very little fog, but I edited mine in line with what I thought would make it quite thick from a very close distance.

Claeric
31st Jan 2010, 10:32 PM
Does it say anything about it not updating "per frame" or something? I was trying to change water murkiness but it wouldnt change AT ALL, and it mentioned something about how it isn't updated "per frame" which I can only imagine means it doesnt update immediately, but it didnt even after a day...

GLachaille
26th Feb 2010, 03:06 PM
I came looking for information about creating Terrains for CAW before I tried to customize my world and I found this thread and the possibilities it presents made me more giddy than it probably should...

I have a few questions and unfortunately (or fortunately for my boss) I am no where near my Sims game at the moment. So...

#1 - can this be done on worlds while they are still in CAW or can it only be done to an exported/installed world?

#2 - Any further update/discussion on the Fog INI?

I plan to dive into this over the weekend, try out the tutorial and if all goes well, see what I can find what answers I can find on my own -- but I figured it couldn't hurt to see if folks wiser and more experienced with this than I am had any thoughts or additional information to share...

Claeric
26th Feb 2010, 05:54 PM
It can ONLY be done to an installed world, as far as I know. I think the guy making Fairview did it while still in CAW and had no issues but I really REALLY really REALLY wouldnt recommend it as it just seems unsafe.

And I havent figured out the fog ini at all. It doesnt seem to change anything, just like the water murkiness.

Akutbajsa
4th Mar 2010, 05:07 PM
Hmm. I'd really like to try changing the colour of the water in the world I'm building. Does anyone know how I could do that?

Robodl95
5th Mar 2010, 03:28 AM
*Cough* You're in the right place........

Akutbajsa
5th Mar 2010, 11:24 AM
I'm sorry, I just didn't want to start a new thread and....

It can ONLY be done to an installed world, as far as I know. I think the guy making Fairview did it while still in CAW and had no issues but I really REALLY really REALLY wouldnt recommend it as it just seems unsafe.

And I havent figured out the fog ini at all. It doesnt seem to change anything, just like the water murkiness.

I just thought that maybe someone knows how to do it.... No need to be rude.

HystericalParoxysm
5th Mar 2010, 11:29 AM
HumbleRedblue, did you read the tutorial in the first post?

Akutbajsa
5th Mar 2010, 11:31 AM
Pieces of it. But it says how to do it on an already installed world. I just wanted to know how to do it on a world that's not installed. I know it says here it's impossible but then it says that some guy had done it.

I just want to know if I have to use the same technique that's in this post or if I have to find it elsewhere.

-.-

ReMs
16th Mar 2010, 07:17 PM
Very good tutorial but it doesn't work for me when I change the values. It seems complicated and I've not the patience lol. I hope a mod to change the sky or sea colors will release one day :)

helena.coban
11th Jul 2010, 02:27 AM
Great tutorial! :)
It works great in my game. I want to make a fantasy world, and wanna have a large blue moon in the sky. I made the moon larger, but is there a way to change the colour of it? :S

LoserInc
22nd Jul 2010, 07:39 AM
This does appear to work in CAW as well, I have worked on my recent world with custom sky and water.

Helena, I don't know of any way to change the moon color yet, but still looking. I know you can change the reflection color of the sun and moon in the sea.ini files...not sure if that is what you are looking for.

missy harries
25th Jul 2010, 05:07 PM
Great tutorial! :)
It works great in my game. I want to make a fantasy world, and wanna have a large blue moon in the sky. I made the moon larger, but is there a way to change the colour of it? :S

You can change the colour and texture of the moon using s3pe but it'll affect all worlds since it'd be a default replacement.

Illyianna
3rd Oct 2010, 09:29 PM
Is it possible to keep the sky as it is but change the water to darker? My sky is great shifting and changing colors I love it but my water is too light of a blue how might I modify that?

Illyianna
3rd Oct 2010, 11:49 PM
Never mind I sort of got it

max9403
19th Nov 2010, 12:51 PM
For those who want to change the colour of the moon and sun they are at the bottom of the sea files, for fog they are at the bottom of the light files, clouds are in the something 1 or 2 files they also have time line of sunlight and other things in there aswell

wolfie_sims_94
26th Nov 2010, 10:09 PM
Does anyone know which file(s) effect the sea color of Bridgeport? o_O I've tried Sky_ClearSea, Sky_CustomSea, Sky_OvercastSea, Sky_PartlyCloudySea, and Sky_StormySea with no luck.

EDIT: I'm doing this wrong! I thought you just had to edit the files in Notepad and save, but you have to use s3pe to apply them to the world... my bad. :faceslap: One question with that, though: s3pe keeps crashing to the desktop for me. Is it not compatible with LN or something? :blink:

HugeLunatic
26th Nov 2010, 11:30 PM
wolfie - Please report any issues with s3pe at the download site. And yes, it is compatible with LN if you updated it.

diamond12345
28th Nov 2010, 10:04 AM
Thank you! :D
I am in progress creating a world, now I had bit turquoise sea! :D

zera0820
6th Dec 2010, 12:35 AM
I have LN version 6.1.

I am fine through steps 1 and 2, but when I try to open the installed world in Documents/ElectronicArts/TheSims3/InstalledWorlds - I have no installed worlds. I've checked and the entire folder is empty. Right now I only have 2 save game files - one in Sunset Valley and one in Bridgeport.

I'm trying to give Bridgeport the colors from Claeric's original mod. Help would be greatly appreciated!!

*edit*

I searched around and found a .world file for Bridgeport but it wasn't in the path Claeric gave in the tutorial... I found my file in Program Files/Electronic Arts/The Sims 3 Late Night/Game Data/Shared/NonPackaged/Worlds.

Is this right?

*edit2*

Okay, I used that and followed the rest of the directions. It appeared to be successful in S3PE, but when I loaded my save game, it hadn't changed! :cry:

simsample
6th Dec 2010, 01:07 AM
I hope you backed up that file first, your game will check that file when you patch. :)

Try deleting your caches- you may also need to (backup and) remove the Bridgeport.objectCache file from Electronic Arts\ The Sims 3 Late Night\ Caches.

zera0820
6th Dec 2010, 10:42 AM
Yep, I backed everything up.

I tried deleting my caches, but no luck. Has anyone been able to successfully edit the Bridgeport world water? And if so, is the water structure different from Sunset Valley's? It looks perhaps... clearer??

*edit*

There is definitely something funky with Bridgeport's water. Claeric's default mod for "all worlds" only works in Sunset Valley for me, and not in Bridgeport. I took his mod out, edited the ini files to create my own default (ProgramFiles/ElectronicArts/TheSims3/Gamedata/Shared/Nonpackaged/Ini), and yep, they only change the water in Sunset Valley. :help:

What is going on?? :!:

vgbookworm
23rd Jan 2011, 03:02 AM
Has this thread died out, or are there still people around who might know how to help? Cause i have a question

simsample
23rd Jan 2011, 02:10 PM
zera0820, I've seen that others have had difficulty editing Bridgeport's water, too. There must be something we are missing regarding this!

ETA: Pease see here for new discoveries regarding the Bridgeport water:
http://www.modthesims.info/showthread.php?t=427478

vgbookworm, yes- you can still ask a question, I think the last poster just didn't get answered because no-one really knows the solution. :)

beccahart
12th Feb 2011, 11:12 PM
definitely interested in changing bridgeport's water color..it is ugly!!!! if anyone has any insights...that would be fabulous.

playful
23rd Feb 2011, 04:04 AM
*Sigh* me too would love this. I have been using his water package religiously since it was released and quite can't get comfy in Bridgeport without it. If anyone has a clue on editing the water color don't be shy, please inform us. :help:

Mitch100degrees
4th Jun 2011, 05:57 AM
You'll want to open bridgeport.world and have a look at instance number 0xD89F9D186B7BB372 - at the bottom there's some setting called WaterDepthFactor that seems to control the murkiness. I haven't played with it so it's up to you to try it out. I don't quite see a setting to change the color but perhaps the murkiness is whats controlling the color.

Mod Edit: please see this thread for more information:
http://www.modthesims.info/showthread.php?t=427478

Cyberrocket
21st Jun 2011, 12:37 PM
This tutorial seems not to work for me in the point of implementing a clouded sky into my custom neighborhoods. But simply changing the watercolor works though as described. I followed all the steps and tried with clean caches, newest patches etc. In finally I tried to import Bridgeport sky with clouds to my custom city which also wasn't working for me. Maybe there's some extra work needed to make clouds appearing not only skycolors. I would appreciate any help on making clouds appearing. Strange is that I can see clouds actually in the water reflections, but on the sky there are none.

simsample
21st Jun 2011, 01:11 PM
Cyberrocket, there is a lot of fog in Bridgeport, so that could be why you aren't getting the desired effect. Take a look in this thread:
http://www.modthesims.info/showthread.php?t=427478
You'll see some files that Tamlo31 modified from Sims Medieval in post #18, those have some good clouds, so you can take a look at the settings in those.

Also, China and France ini files have some beautiful clouds, if you have WA. You can look at the settings in these files and compare to your own, to see the difference. Please note that the weather ini files have a value called 'ProbabilityWeight'. The lower that number the less likely it is for that particular sky setting to be used (that's why the Bridgeport stormy weather has ProbabilityWeight = 0, so it occurs very rarely). You will need to increase the probablility weight when testing, so that you have a good chance of seeing your custom sky in action. There is also a setting in the Sky tunables for how often the weather changes (WeatherRandomizeInterval = N), I would set that to 3 or 4 when you test so that you get lots of different weather in a sim day.

The Bridgeport, Twinbrook and vacation custom settings also have associated colour ramp files, which give different tone to the water and light. You need to be aware of those during your experimenting too!

Cyberrocket
23rd Jun 2011, 01:14 PM
Thank you simsample, I did it like you said. I got all working but clouds not. Clouds won't appear even if I set frequent weather changes and ProbabilityWeight = 1. I tested with France, Egypt and Bridgeport files including this settings and with WeatherRandomizeInterval = 2. Maybe I missed something else or my color settings are wrong for the clouds. Earlier I had ProbabilityWeight = 0 and WeatherRandomizeInterval = 8 at the defaults but even changing these brings not up any single cloud during two Sim weeks. The strange thing is, that all other stuff works fine even camera flight and fogs as well egypt heat effects. In Bridgeport by default clouds appear with EA's original settings after 8 hours (at 4pm starting simulation at 7am), but in the custom neighborhood the same setup seems not to take any effects and the sky stays always clear.
Do I need to setup any DDS image for the cloud perhaps or something else? I just open my world in S3PE and import all weather INI files there with right ID and original game settings for clouds e.g. Bridgeport. Then I exchange ProbabilityWeight = 1 and WeatherRandomizeInterval = 2 and save my neighborhood which is already installed. I enter with a random Sim and start playing (and keep watching the sky for clouds). Maybe you have ready files for TS3 with right pre-made settings already (any kind of clouds would be fine) which I could try out and see the results.

Margaret Pendragon
4th Oct 2011, 05:10 AM
Has something changed in how this is done?

Margaret Pendragon
4th Oct 2011, 08:36 PM
Nevermind, I found my problem. I was doing it right, but the colors were too light so I couldn't tell any difference. I should've started with heavy colors to begin with, that would have saved me nearly 24 hours' worth of frustration.

tigerlover1993
2nd Dec 2011, 12:32 AM
This is very cool thanks;
But i have a question can you tell us how to change the sky cause i would love to make a snow world and i want the sky white in day but black at night.

but if theres already a forum i can go to, then can i get the link

Thanks :D

simsample
2nd Dec 2011, 07:45 AM
tigerlover1993, we have a new thread which attempts to explore this, and deals with the method of overriding the sky in the EA worlds (like Bridgeport and China).

http://www.modthesims.info/showthread.php?t=459198

Kathy2012
29th Jan 2012, 10:26 AM
Very cool! Thank you so much for this! :)

blakegriplingph
5th Feb 2012, 04:36 AM
What about ambient/sun lighting? Is this the same banana as with editing the timecyc.dat files in GTA?

simsample
6th Feb 2012, 05:59 PM
What about ambient/sun lighting? Is this the same banana as with editing the timecyc.dat files in GTA?
No idea, have never looked in the GTA files. If you want further information about the sky/ lighting parameters you will be better off looking in this current thread:
http://www.modthesims.info/showthread.php?t=459198

The creator of this thread is no longer a member of this site, and the information is now slightly outdted (since we have been researching more into the weather types/ sea/ sky colours in the current thread).