Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Akka on December 09, 2015, 06:06:12 pm

Title: Weather modding in 1.12.1 client.
Post by: Akka on December 09, 2015, 06:06:12 pm
Hello, I'm new to modding WoW, and despite looking about it for quite a bit, I couldn't find the solution to my problem, so I'm down to ask :x

I'm trying to disable the weather effects entirely (not just reduce their intensity) for a 1.12.1 client. From what I understand, the server sends to the client "the weather changes to X" and the client displays it. So I wanted to mod the relevant file so that whatever the server sends, the weather displayed would be "fine".
 
Problem is, I have no idea (and couldn't find) in which file is the weather.
Weather.dbc only exists since WotLK, so I can't use it. I've looked at the AreaTable.dbc of both dbc.MPQ and Patch.MPQ and nothing seems to be related to the weather.

I'm at my wits' end here.
If someone already has a file disabling weather, I'd be very grateful. If not, a pointed to where I could find the file responsible for managing the weather would be very appreciated.

Thanks.
Title: Re: Weather modding in 1.12.1 client.
Post by: Milly on December 09, 2015, 07:15:00 pm
Well, I'm sorry that I don't have a direct answer for you. But it seems like you're looking for a client-side answer to a server-side problem. I don't think it works that way. Have your checked the source files for your emulator?
Title: Re: Weather modding in 1.12.1 client.
Post by: Akka on December 10, 2015, 02:28:00 am
Well, the problem is, it's not for a server I've set up myself. I just play on Kronos, and as with all 1.12 server, their weather is fucked up and it rains far too much.
It's breaking my enjoyment of the game, but they consider all is fine, so I can't expect any solution from their side. So I have to work on my own side and mod the client to either ignore the weather commands from the server, or to react by always switching to "nice weather" mode regardless of what is sent.

I thought there was perhaps some kind of table, or database, or function or whatever which managed the weather, and which I could mod to act this way...
Title: Re: Weather modding in 1.12.1 client.
Post by: Neyo on December 10, 2015, 09:04:29 am
Have you ever thought of finding the rain sound files and blp files and just repalcing them ?
Replacing the rain audio file with some kind of ''silence'' file and the raindrops file with a blank texture.
Title: Re: Weather modding in 1.12.1 client.
Post by: Akka on December 10, 2015, 10:52:53 am
There would still be all the rest of the weather effect : wind, fog, change in lighting, etc.
I really need to just get this file and mod it ^^
Title: Re: Weather modding in 1.12.1 client.
Post by: Rangorn on December 10, 2015, 12:54:39 pm
there is a sql table named game_weather, just truncate it.
Title: Re: Weather modding in 1.12.1 client.
Post by: Namok on December 10, 2015, 01:03:08 pm
Hi I think he couldn't do that Rangorn because it's not his server :(
Title: Re: Weather modding in 1.12.1 client.
Post by: Akka on December 10, 2015, 04:44:53 pm
Aye. The very title indicate that I want to make a CLIENT modification.
Doesn't the client have any particular file managing the weather ?