SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => Tips, Tricks and Tutorials => Tutorials on Custom Content Creation => Topic started by: noahclem on April 20, 2012, 05:42:11 AM

Title: How to modify the transparency of your water
Post by: noahclem on April 20, 2012, 05:42:11 AM
I've received a few requests for a tutorial on the process of how I've created the appearance of my water in Siilijoki and thought the subject warranted a tutorial. I suggest it to my readers frequently but my tips don't do much good to players that aren't familiar with the reader. Hopefully this helps.

For a long time I was frustrated with the depth of water transparency in SC4--sure in some beautiful tropical areas you can see through clear water to view the details on the bottom, but in temperate or boreal areas it doesn't make much sense to see ~30 meters down. Making a change to a single property in my terrain mod controller file made me much happier with the appearance of my water. Here's how:

--It never hurts to make backups before you start playing around with files in the Reader--



1) To edit your water's transparency, first open up your terrain controller in Ilive's Reader.

--If you use one of CP's terrain mods the file should be called CPT_No6_MeadowShireTerrainController_Essential (if not Meadowshire than I assume replace the name "MeadowShire" with whatever other CP terrain mod you're using.

--If you use the Pyrenean Terrain Mod the file is called "zzz_TSC_Orange_PyreneanTerrainHightSnow"

--All other terrain mods will have a similar file, though with a different name. I'll likely edit that information in later.

2) If you don't normally use the reader you may have to right-click and manually select the reader as the program to open it with.

3) Once you've opened the file in the reader click "fill the list" if you don't have auto-fill enabled.

4) Next, click on the first exemplar file (light highlight in the left column in the following picture, circled in red). **For PTM users select the second exemplar file**

5) Then choose the "WaterDepthForMaxAlpha" property highlighted and circled in red at right here by double-clicking.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi779.photobucket.com%2Falbums%2Fyy77%2Fnoahclem%2Fselect_wmfda_red.jpg&hash=28bde7f29aa269358a3a2bdf3539e0ed230bb801)

After double-clicking you should see something like this:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi779.photobucket.com%2Falbums%2Fyy77%2Fnoahclem%2Fchange_number.jpg&hash=6e0f5d3254731171afd85730e020ad3b75ae498e)

6) Change the value in the box circled in red with a "1" next to it to whatever you desire. I use 9 meters (as you can see in my picture), but anything in that area should provide a similar result (9 just happens to be my favorite number but also just about perfect for my purposes)--you may want to experiment to find what you most prefer.

7) Next, click the "apply" buttons, first the one circled next to the "2", then the one circled next to the "3".

8) Now, go to "file" and "save" and choose "yes" to overwrite the old file.

9) Go ahead and quit reader, fire up SC4, and you should be able to see the changes you've made in your water  :thumbsup:


I use Drunk Apple's darkblue water mod (see my "frequently requested links" for a link) but this technique will look nice with a very wide variety of water mods.

Here are examples of what editing the my water's transparency have allowed me to do:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi779.photobucket.com%2Falbums%2Fyy77%2Fnoahclem%2Fcomp1.jpg&hash=c954fce06309a1166b1ffe3231dff36beeef7db7)
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi779.photobucket.com%2Falbums%2Fyy77%2Fnoahclem%2Fcomp2.jpg&hash=7717f3b2aa37fe778f177aff952245d8b6a88ba2)

Note that the water in the river looks as nice as the deeper water at the bottom, even though it is shallow enough to have L2 viaducts used as bridges. To do that, you'll have to remove your water or change its level, see tutorial here (http://sc4devotion.com/forums/index.php?topic=13185.msg380688#msg380688)

Here is an example of ploppable water easily transitioning into game water:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi779.photobucket.com%2Falbums%2Fyy77%2Fnoahclem%2Fteaserdecor.jpg&hash=b637561e672aef6bf63567989f411e334a8af071)

And an example of extra-shallow water (min depth around 5m)
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi779.photobucket.com%2Falbums%2Fyy77%2Fnoahclem%2Fptmfisherman.jpg&hash=dd55696dcd3c74e3c31a2cb4f412bfe1baee3813)

Small warning: shallow water will show shadows from boats, etc, in a way that may not look nice without transparent water. This is easy to ignore or photoshop away.

For more information on what the other properties in this same file do and what effects changes you make to them will have, see LowKey33's post here: Exemplars Related to Terrain (http://sc4devotion.com/forums/index.php?topic=11691.0)


I hope this is helpful and please let me know if you have any questions or suggestions for additional information I should include here  ;)
Title: Re: How to modify the transparency of your water
Post by: rooker1 on April 20, 2012, 05:55:33 AM
Thanks for tutorial. 
Some times iLive can be an unnecessarily scary program.
K-point for you!!

Robin &apls
Title: Re: How to modify the transparency of your water
Post by: mrbisonm on April 20, 2012, 08:36:40 AM
Thanks, I always wanted to know how do that. Just great!

Fred
Title: Re: How to modify the transparency of your water
Post by: Kergelen on April 20, 2012, 11:27:31 AM
Good tutorial!
Your water has always intrigued me. And I like it a lot. :)
Title: Re: How to modify the transparency of your water
Post by: apeguy on April 20, 2012, 12:25:48 PM
A great tutorial indeed. Thanks for sharing! :thumbsup:
Title: Re: How to modify the transparency of your water
Post by: noahclem on April 27, 2012, 03:52:20 AM
Thanks for the encouragement Robin, Fred, Kergelen, and Alex!!

I was just back here fixing the link in my sig and remembered I'd forgotten to let you know I appreciate the kind words  :thumbsup:
Title: Re: How to modify the transparency of your water
Post by: FrankU on April 27, 2012, 03:58:23 AM
Well, thank you too Noah!
I always disliked the unrealistic view of my waters too.
Title: Re: How to modify the transparency of your water
Post by: carlfatal on June 26, 2012, 08:37:10 AM
This is really cool, thanks a lot. Now i can change this easily.  :thumbsup:
Greetz, Carl
Title: Re: How to modify the transparency of your water
Post by: Kitsune on March 29, 2018, 07:06:16 AM
I dont like posting in 6 year old topics .... but this tutorial could / does require an update because of a stupid photobucket policy.
Title: Re: How to modify the transparency of your water
Post by: huzman on March 29, 2018, 07:37:21 AM
@Kitsune, you are quite right. But how @noahclem didn't know about the photobucket bork?
Title: Re: How to modify the transparency of your water
Post by: Kitsune on March 29, 2018, 01:44:42 PM
They most likely forgot about this post - as it was made about 3-4 years before the great photobucket meltdown.
Title: Re: How to modify the transparency of your water
Post by: Andreas on March 30, 2018, 01:17:33 AM
There's a "Photobucket Hotlink Fix" Addon for Chrome and Firefox. Just install it, and you can see the pictures again. :)
Title: Re: How to modify the transparency of your water
Post by: Kitsune on March 30, 2018, 07:59:34 AM
Is that one where the guy was injecting his amazon affiliate code into anything you buy on Amazon ?
Title: Re: How to modify the transparency of your water
Post by: Andreas on March 30, 2018, 01:13:09 PM
Hmm, after some reading, I think it did, but that "feature" was removed in the current version, as far as I can see.