This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] How to change climate/weather/sky  (Read 3643 times)

Syama108

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
[SOLVED] How to change climate/weather/sky
« on: July 15, 2014, 06:21:20 am »
Hi. My name is Syama, New to modding WoW and learning quickly. (It's very fun :D)

I'm currently trying to make a snowy zone for a small project I'm working on and I have a question.

I managed to change the Light.dbc for the zone.. so the sun doesnt blind the player's eyes on the snow.. but how do I make it more cloudy and how do I setup weather so that it snows?

Currently the sky is sunny.. and I want to make it foggy and cloudy

And I wish to know how to setup weather!

Thanks in advance! Please help!

(I would post screenshots from the puush account but this forum doesnt allow me to link)
« Last Edit: July 30, 2014, 03:53:56 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #1 on: July 15, 2014, 08:38:25 am »
just add new record for area where you want add weather in game_weather table, in your server DB.
Its easy, explanation is not required ( i hope :)). Or do some experiments.

:)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Syama108

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #2 on: July 15, 2014, 04:53:46 pm »
Quote from: "stan84"
just add new record for area where you want add weather in game_weather table, in your server DB.
Its easy, explanation is not required ( i hope :)). Or do some experiments.

:)


Okay, I don't really need explanation I just needed to be directed on the right path to doing so :D I will try  to figure it out ;)

Thank you for the reply!
« Last Edit: July 15, 2014, 05:19:56 pm by Admin »

Syama108

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #3 on: July 15, 2014, 05:18:39 pm »
Okay so.. I went into the game_weather in my server and made a new row.. what do I set as the first column for "zone" my Area ID?

I set the area ID to my mountain area ID from my AreaTable.dbc but.. it didnt work.. what do I do?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

p620

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #4 on: July 15, 2014, 06:32:29 pm »
Quote from: "Syama108"
Okay so.. I went into the game_weather in my server and made a new row.. what do I set as the first column for "zone" my Area ID?

I set the area ID to my mountain area ID from my AreaTable.dbc but.. it didnt work.. what do I do?
Yes, it didn't work for me as well. Currently I am in search of a new solution... Theoreticly it should work... First column is for the AreaID from the AreaTable.dbc, the others are for setting weather *proc chance* for different seasons. Also, the total sum of probabilities for a specific season should not be over 100%. But... In game there's still nothing.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #5 on: July 15, 2014, 06:39:35 pm »
Exactly you have done it proper way i have also did this 1st time an it works.  I decided add weataher to my eversong zone on map 0 areaid 3430.
Look at my entries:

areatable.dbc
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Syama108

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #6 on: July 15, 2014, 10:02:41 pm »
Mine is on a custom zone, in a custom map.. When I .gps ingame it says my zone and area are unknown, could that have anything to do with it?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #7 on: July 16, 2014, 08:13:57 am »
have you:
- new areaid for custom zone in areatable.dbc and copied to server ?
- placed that areaid on edited map in noggit ?
- recreated maps files (which are contains your new areaid) in your server ?

Check all above things, but im almost sure your server does not have actual map files.

Stan :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #8 on: July 16, 2014, 11:46:51 am »
or just put area id 0
it worked for me but the problem is the weather rain snow is every where but if you want a certain place do what stan said
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Syama108

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #9 on: July 16, 2014, 05:47:36 pm »
Quote from: "stan84"
have you:
- new areaid for custom zone in areatable.dbc and copied to server ?
- placed that areaid on edited map in noggit ?
- recreated maps files (which are contains your new areaid) in your server ?

Check all above things, but im almost sure your server does not have actual map files.

Stan :)


I have done all of the above.

Still I get this in my .gps: "Map: 725 (rpgmod) Zone: 0 (<unknown>) Area: 0 (<unknown>)"
And I surely don't want my weather everywhere... just in this 1 zone (snow)

Wait.. did I forget to do something? How do I put my maps into my server? How do I extract maps/mmaps/vmaps from a custom patch?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #10 on: July 16, 2014, 08:11:06 pm »
It depends of core you're using and client version. Generally you have to add in source code of your extractor, information about new patch MPQ's. And recompile it again. For example in my mangos extractor it looks like that :
mangos-classic / contrib / extractor / System.cpp

// List MPQ for extract from
const char* CONF_mpq_list[] =
{
    "dbc.MPQ",
    "terrain.MPQ",
    "patch.MPQ",
    "patch-2.MPQ",
    "patch-xx.MPQ",
};  

where xx are number of your custom patch.
For info how to extract maps, vmaps, and mmaps go on website of your core.


Stan
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Syama108

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #11 on: July 16, 2014, 09:38:11 pm »
Quote from: "stan84"
It depends of core you're using and client version. Generally you have to add in source code of your extractor, information about new patch MPQ's. And recompile it again. For example in my mangos extractor it looks like that :
mangos-classic / contrib / extractor / System.cpp

// List MPQ for extract from
const char* CONF_mpq_list[] =
{
    "dbc.MPQ",
    "terrain.MPQ",
    "patch.MPQ",
    "patch-2.MPQ",
    "patch-xx.MPQ",
};  

where xx are number of your custom patch.
For info how to extract maps, vmaps, and mmaps go on website of your core.


Stan


I'm using Trinity Core and 3.3.5a I'll try the website. If you know of any tutorials or links you can give me to help me I'd greatly appreciate it. Or perhaps an extractor I can modify for my custom patch that isfor trinity core?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

p620

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #12 on: July 17, 2014, 09:03:08 pm »
Quote from: "Syama108"
Quote from: "stan84"
have you:
- new areaid for custom zone in areatable.dbc and copied to server ?
- placed that areaid on edited map in noggit ?
- recreated maps files (which are contains your new areaid) in your server ?

Check all above things, but im almost sure your server does not have actual map files.

Stan :)


I have done all of the above.

Still I get this in my .gps: "Map: 725 (rpgmod) Zone: 0 (<unknown>) Area: 0 (<unknown>)"
And I surely don't want my weather everywhere... just in this 1 zone (snow)

Wait.. did I forget to do something? How do I put my maps into my server? How do I extract maps/mmaps/vmaps from a custom patch?
Check the Map.dbc. The column with a number of 23 (if I remember correctly) (3.3.5a) should contain correct  AreaID of the parent location, or it won't work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Syama108

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 55
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #13 on: July 17, 2014, 10:10:47 pm »
What if I have multiple zones? I have a snowy mountains region, forest/plains ect.. I don't want it to snow everywhere.. just the mountains. If I set the Area ID in the map.dbc to my mountains then the whole map has zone/area as mountains
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

p620

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 3
    • View Profile
Re: [QUESTION] How to change climate/weather/sky
« Reply #14 on: July 18, 2014, 03:55:40 am »
Just set the *23* column to your parent AreaID in the Map.dbc and in the game_weather u should fill the *zone* column with a specific areaID of your zone which weather needs changes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »