Forum > Miscellaneous

[Solved] How to give a tavern (wmo) a custom name ?

(1/3) > >>

Magnus:
Hi,

I placed with Noggit a new Goldshire inn onto a map and wanted to give this inn a name.

After reading a lot of stuff I understand this:
1. wmo name (and sounds) are saved in data sets in the WMOAreaTable.dbc.
2. The setID of such a set is saved in the nameSet field of the MODF chunk of the adt file where the wmo building is placed.
3. The goldshire inn has already 3 different sets with namesetID 0, 1 and 2 in WMOAreaTable. (BTW: The wmo-rootID is 53)

So for the first step I changed with the 010 editor the namesetID of my tavern from 0 to 1. Checked it ingame and it worked. The name changed to 'Deepwater Tavern'. Than I changed it from 1 to 2 and again it worked. The name is now 'Lion's Pride Inn'.

After that I changed the ID from 2 to 3. Ingame I checked it and there was no sound and no name anymore. But that's logical because there is no data set with id 3 in the WMOAreaTable.

After that I copied all 13 records of the data set no. 1 into WMOAreaTable. Changed the nameSetID to 3 and the area ID to 2038 (my zone) and of course the name of the tavern.

But unfortunately this isn't working. There is still no sound and no name.

Personally I think this is only clientside stuff. But I also copied the WMOAreaTable.dbc to the server and restart.
But no luck. Do I need to create new server maps ?

Or what should I do ?

schlumpf:
You did change m_ID for the new records to have unique ids, right? And you saw the comment on "If your WMO is spawned with NameSet 4, search for the rows with a 3 in here."?

Magnus:
Yes, the m_IDs are unique (16000-160012). First I set them 60000+. Than I thought may there is a restriction and set them lower.

And yes, I read "If your WMO is spawned with NameSet 4, search for the rows with a 3 in here." But couldn't find the meaning of this sentence :-)

At the moment my wmo is spawned with namesetID 3.

schlumpf:
the reason is that modf.nameset == 0 → no name set, and modf.nameset == i →  wmoareatablerec:: m_NameSetID == i - 1, thus if you spawn with id 3, add entries for 2 (which in your case already exist?).

schlumpf:
at least that's what I can guess from the top of my head.

Navigation

[0] Message Index

[#] Next page

Go to full version