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: Set zone name + music  (Read 1433 times)

Alys

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
Set zone name + music
« 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 ! :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

iindigo

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 198
    • View Profile
Re: Set zone name + music
« Reply #1 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Alys

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
Re: Set zone name + music
« Reply #2 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...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Jøk3r

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 544
    • View Profile
Re: Set zone name + music
« Reply #3 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

Thanks for that Eluo.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
I don't like Noggit... I LOVE it :D
If you have any question about Noggit, feel free to contact me. I will give my best to help you (: