Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Alys on April 26, 2014, 01:07:17 am

Title: Set zone name + music
Post by: Alys on April 26, 2014, 01:07:17 am
Hi everyone !
In advance, sorry for my english ;)


I'm not a modder like the majority of you, I don't create maps, but I try to set some parameters in maps which are already in the server.
I'm actually creating a raid name "The Scarlet Vengeance", on the map n°44.
The problem is that map doesnt have any zone and area name.

All I want is to set a name to this map (so it can appears above the minimap in game), and I think that with the dbc files, I can set some musics for the raid ?


How to set music and name to the map 44 ? Will I need to modify the client too ? (I mustn't)
(I work on a trinitycore 335a serv)

Many thanks ! :)
Title: Re: Set zone name + music
Post by: iindigo on April 26, 2014, 02:04:34 am
You will need to modify DBCs in the client to do zone/subzone names, no way around it.

For the music, though, you can use a trick that Blizzard uses in various parts of the game, as long as the music you want to use already exists in the game files. You can create a game object and set the desired music file to the game object’s sound and then set the distance at which it can be heard.

This is how Blizzard changes the music to Darkmoon Fair music in the little Elwynn and Mulgore areas, but only when the fair is active in the zone. Once the game object is despawned, the music disappears.
Title: Re: Set zone name + music
Post by: Alys on April 26, 2014, 11:16:50 am
Thanks for the music, the gameobject is maybe a good solution to my problem.

But I got something I don't understand with dbc files :
When I modify the Map.dbc (serverside), with the gps command ingame I can see the modification is successfull.

So can't I really set a name to the map ?
Maybe with a c++ solution (unknown for me ^^)

Many thanks again :)


[EDIT] : I tried to take an event musical doodad to take example, but they dont work on my server...
Title: Re: Set zone name + music
Post by: Jøk3r on April 27, 2014, 12:40:21 pm
Maybe you wanna have a look at this old (but working) tutorial:

viewtopic.php?f=22&t=26&p=395#p395 (http://modcraft.io/viewtopic.php?f=22&t=26&p=395#p395" onclick="window.open(this.href);return false;)

Thanks for that Eluo.