Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: spik96 on February 15, 2015, 12:55:47 pm
-
Hi !
I'm trying to edit the OceanWater value near Ratchet in the Dark Nights patch you can find here viewtopic.php?f=59&t=7488&start=15 (http://modcraft.io/viewtopic.php?f=59&t=7488&start=15" onclick="window.open(this.href);return false;)
The color is greenish and I would like to fix it back to its original value (blue).
With LightMapper I found the ID : 205
With http://www.pxr.dk/wowdev/wiki/index.php?title=Light.dbc (http://www.pxr.dk/wowdev/wiki/index.php?title=Light.dbc" onclick="window.open(this.href);return false;) , I deduced the skyParam ID was 214 (Which makes sense as it's the same skyParam than 206 and 207 which are areas with the same OceanWater value on LightMapper)
To get the final ID I used the formula found here : http://www.pxr.dk/wowdev/wiki/index.php ... ntBand.dbc (http://www.pxr.dk/wowdev/wiki/index.php?title=LightIntBand.dbc" onclick="window.open(this.href);return false;)
So it's 214*18-17=3835.
The lines are 3850 and 3851.
I changed the colors back to their original value (columns 18&19 as the primary index is 0).
I think I changed the wrong cells cause the color is still the same.
Where am I wrong ?
-
Hey spik. First and foremost, the darker nights patch doesn't change the water's surface color. It's the original water that reacts so poorly to darker light settings. I never got around to adding this to the patch because, well I sorta forgot.
As for your issue, I believe you're using the wrong ID. The water values in the Sky & Fog settings are fake. Either way you're not counting properly. Should have been a range from 3835-3850 (only 16 rows). Anyway, the real water color is the next column over, the one named Water Settings on the dev wiki. So take 215*18-17, and you get 3853.
Your range in LightIntBand.dbc is therefore 3853-3868. Rows 3867 and 3868 are going to be the settings you're looking for, if my memory serves. Take the original values in column 19 and scale them to a darker color. I used this: http://www.w3schools.com/tags/ref_colormixer.asp (http://www.w3schools.com/tags/ref_colormixer.asp" onclick="window.open(this.href);return false;) when making the original patch, it works great :D
-
Thanks for your answer !
Why would my ID be wrong ?
I found the original one (205) with Lightmapper ( http://i.imgur.com/azsdkBH.jpg (http://i.imgur.com/azsdkBH.jpg" onclick="window.open(this.href);return false;) )
You can also see on the screenshot the color I'm talking about.
Why 215 and not 214 ?
-
214 is the ID for the sky and fog settings. 215 is the ID for the water settings.
Sorry if I was unclear :P
-
Thanks ! The values are the same. That's really strange.
In 3860 the value is different in #18. I'm checking if it's the good one..
-
Oh that's right there are 18 rows, duh xD For some reason I was really thinking 16. :P
Okay yeah so it would be 3868 and 3869. Rows 16 and 17 out of 18.
-
The values are still the same for these rows.
Here I made a comparison of the rows in the area. The rows with differents values are marked in green.
I know it's the good column because the others have absolutely no changes.
http://i.imgur.com/Cp0DeHM.png (http://i.imgur.com/Cp0DeHM.png" onclick="window.open(this.href);return false;)
I forgot the 3878.
-
Looks like that might just be a difference between Cata and WotLK. I'm fairly sure I didn't touch the water's surface.
Either way you should be able to tweak it from there.