Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: Mokrim on December 23, 2011, 09:18:16 pm

Title: [QUESTION] Water???
Post by: Mokrim on December 23, 2011, 09:18:16 pm
Hello there! I have yet other problem.

When I apply the patch that I'm using the said ADTs from Noggit, when I go in-game- Everything seem okay expect that WATER IS MISSING in-game!

I have absolutely no idea how to fix this?! I use Noggit revision 279.

Thank you for helping me! <3
Title: Re: [QUESTION] Water???
Post by: Zim4ik on December 23, 2011, 10:19:51 pm
there is no way to fix water on edited adt
Title: Re: [QUESTION] Water???
Post by: Mjollna on December 23, 2011, 11:07:54 pm
You can use all water wotlk (you'll find it in the tools section) to re-add water to the adt.
Title: Re: [QUESTION] Water???
Post by: Mokrim on December 27, 2011, 07:56:10 am
I got the All WOTLK water, but it seems does nothing to me. You do have tutorial on getting it to work or how to use it? I looked over, couldn't find any- I probably overlooked something. >.> Mind linking on a topic that show me how to use it?
Title: Re: [QUESTION] Water???
Post by: Steff on December 27, 2011, 08:52:19 am
The gui app or the CMD one :)

First copy AllWater_wotlk.exe to your maps folder

world/maps/yourMap/

Then just make a makeWater.txt file in your maps folder and rename it to makeWater.bat.
Right click and edit this file.

Then add for every ADT you want water jsut one line like this.

AllWater_wotlk.exe Meberian_17_28.adt 0 2 80
AllWater_wotlk.exe Meberian_18_28.adt 0 2 80
AllWater_wotlk.exe Meberian_19_28.adt 0 2 80
AllWater_wotlk.exe Meberian_18_29.adt 10 1 70
AllWater_wotlk.exe Meberian_18_29.adt 10 1 70

First is the exe.
Second is the name of your ADT file.
Then third follwoed the height of the water level. 0 is ocean level.
Then the water Type. Take a look at the liquid.dbc
Last is the transparency in %.

Now you can simple click this bat and all files will get water back after editing in noggit. This tool can only add water at one level on the full ADT.
Title: Re: [QUESTION] Water???
Post by: Mokrim on December 27, 2011, 09:05:23 am
I believe it is CMD. It just automatically closes, though. Probably because it isn't in right folder...

Just to clarify it up-

I  have to add this in text file, each new line just like this-

AllWater_wotlk.exe - the 'First one' on your list, the executable file.

Meberian_17_28.adt is the ADT file, as in your second point on the list

Then, the 0 2 80, is basically Height, Water Type and transparency? What if I want to limit it, like say in Loch Modan to the lake? Since mine seem to disappear for some reason.  Or it will cover whole  Loch Modan?
Title: Re: [QUESTION] Water???
Post by: Steff on December 27, 2011, 09:55:14 am
Then, the 0 2 80, is basically Height, Water Type and transparency?

Yes.


As I wrote its always the full adt with this tool. But if the ground is over the see level you can´t see this water.
Title: Re: [QUESTION] Water???
Post by: Mokrim on December 27, 2011, 10:20:10 am
Hmm. How I do know what level  I should put if I wanted for water to only appear in Loch Modan lake? Or randomly guess until I get it right?
Title: Re: [QUESTION] Water???
Post by: Steff on December 27, 2011, 03:18:30 pm
WoW modding is often try and error :)
Title: Re: [QUESTION] Water???
Post by: Mjollna on December 27, 2011, 08:13:17 pm
For water level, you can add a rather flat object (something like worldexpansion02doodadszuldrakwaterfallszuldrak_waterfog_01.m2 , which is fog), put it at the right height where you want water, make sure you have the object selected, press F8, and then look at the height :)
Title: Re: [QUESTION] Water???
Post by: Steff on December 27, 2011, 11:10:23 pm
Good point ;)
Title: Re: [QUESTION] Water???
Post by: frezer748 on December 28, 2011, 04:37:06 pm
when does the water save function be edit? I mean only the function that the water wouldn't be deleted when saving a ADT where some terrain higher or lower was made.
Title: Re: [QUESTION] Water???
Post by: schlumpf on December 28, 2011, 04:48:19 pm
We don't modify the existing file but write a new one completely from scratch. Therefore, even "just leaving water as it is" is not that easy (at least not easy, when done right). There is no ETA.
Title: Re: [QUESTION] Water???
Post by: frezer748 on December 28, 2011, 06:46:19 pm
Quote from: "schlumpf"
We don't modify the existing file but write a new one completely from scratch. Therefore, even "just leaving water as it is" is not that easy (at least not easy, when done right). There is no ETA.

Will it release in the new noggit patch?
Title: Re: [QUESTION] Water???
Post by: schlumpf on December 28, 2011, 08:05:02 pm
I have no idea what you refer to by "the new noggit patch", but most likely: no.
Title: Re: [QUESTION] Water???
Post by: Mokrim on January 05, 2012, 05:12:13 am
Right, my problem is that I can't add water, and my AllWater_wotlk.exe only remains open for 1 sec, then it just closes, I assume this wasn't supposed to happen. Tried running as administrator, etc... seems nothing is happening.

Help, please?
Title: Re: [QUESTION] Water???
Post by: schlumpf on January 05, 2012, 09:13:07 am
That _was_ supposed to happen, as it most likely is a command line application and needs arguments.
Title: Re: [QUESTION] Water???
Post by: Mokrim on January 05, 2012, 11:58:46 pm
I tried everything from using the Water.bat to moving ADTs into the Allwater_wotlk.exe, water still refuse to appear.
Title: Re: [QUESTION] Water???
Post by: Mjollna on January 06, 2012, 07:46:39 am
Maybe the AllWater wotlk with user interface will be easier to use :

viewtopic.php?f=59&t=554 (http://modcraft.io/viewtopic.php?f=59&t=554" onclick="window.open(this.href);return false;)
Title: Re: [QUESTION] Water???
Post by: Steff on January 06, 2012, 12:04:55 pm
Make a folder with one adt your all water .exe and your bat and upload. Send me then the link with PM.