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: [QUESTION] A few requests  (Read 1654 times)

Ulec

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 63
    • View Profile
[QUESTION] A few requests
« on: January 26, 2011, 10:04:28 pm »
Is it possible to;

  • Edit one of the child wmos so that they become standalone wmos, all spawnable. (No exteriors required)
  • Add new doodads into an existing doodad set/default doodad set and make them look proper (Issue with the exactness of the coordnates here)
  • Display the doodad sets other than default in Rev 104 Noggit3 with all the doodads included.
  • Create a river and a pond with the current versions of any of the software without raising the whole water to a fix level, flooding other stuff which are on lower ground
  • Replace both the ambience sounds and the music of a specific area either defined by me or by the default game boundaries
  • Change area/zone names displayed above the minimap and announced on the screen momentarily without messing with anything complex, such as the .wmo files when editing the wmo area names (Since editing wmo files requires absolute carefulness) (I still have no clue how to edit area names though) (Also some doodadsets tend to change the wmo interior names, how to fix that?)

Also, as en extra question; could anyone hand over the spawnflags which determine the doodad sets of a wmo to me? I know the ones for the first two sets coming after default, but I have no clue regarding the rest since I've never run into a wmo in an adt which uses its third doodad set and it would be a tedious task to try to search for that while one of you might know the answer. Because you know, the DDset column in Taliis does not operate without the spawnflags filled properly, or doesn't do anything at all according to my practices.

Thanks in advance,
Ulec (from Prologue)
« Last Edit: January 27, 2011, 04:03:57 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] A few requests
« Reply #1 on: January 27, 2011, 02:54:37 am »
Only with hex editing a WMO yourself. There is no such tool as of what I know.
Taliis may be able to do this. I also wrote a tool in C for this purpose once.. It may still be somewhere on the interwebs. Nothing in 3D though.
Try hitting numbers:
Code: [Select]
// doodads set
//! todo Does anyone use these?
//! Yes to change the doodadset of houses i use it . Steff :)
if( e->keysym.sym >= SDLK_0 && e->keysym.sym <= SDLK_9 && gWorld->IsSelection( eEntry_WMO ) )
gWorld->GetCurrentSelection()->data.wmo->doodadset = e->keysym.sym - SDLK_0;
No. SomeWhiteGuy did something on that topic in his map editor, but that thing is outdated and most likely also disappeared from the interwebs by now. There never have been other tools for non-flat-over-a-whole-adt-water.
http://wowdev.wiki/index.php?ti ... aTable.dbc
http://wowdev.wiki/index.php?ti ... aTable.dbc
http://wowdev.wiki/index.php?ti ... aTable.dbc
Its just a number for the doodad set. 0-nDoodadSets. No flags there. If Taliis is showing flags and doodadset in one field, you may want to know its two 16 bit integers, the first one being flags, the second one the doodad set.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ulec

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 63
    • View Profile
Re: [QUESTION] A few requests
« Reply #2 on: January 27, 2011, 04:10:44 am »
Thanks for both of your quick replies to my issues and questions :)

As for the doodadset appearance within the software; I've already tried hitting numbers from 0 to 9. Nothing happened.

As for the doodadset numbers and the spawnflags on Taliis. Nothing happens no matter what I type in the DDset column. Only the spawnflag column determines the in-game doodad sets for the wmo for me, strangely enough.

For instance;

65536 for First doodadset coming after default as the spawnflag; and 131072 for the second set. Even if you leave DDset column blank those doodadsets spawn still. If I leave the spawnflags column empty and just type in the DDsets, nothing happens. So I think they've lost their relevance to the doodadsets in my Taliis :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] A few requests
« Reply #3 on: January 27, 2011, 11:42:35 am »
You need to have a wmo selected and press the normal numbers, not the numpad. Maybe its disabled in your revision though. Or you have hidden doodadsets in the View settings.

Well yeah, that's Taliis. Its just wrong with the columns. What you changed was namesets then, I guess. Tharo must have made a mistake there.

65536 as 32 bit integer in hex s 00 01 00 00. As two 16 bit integers, that's 1 for the doodadset and 0 for the spawnflags. 131072 is 00 02 00 00 in hex, so doodadset 2. So in order to get the correct one learn hex or take this list: 0, 65536, 131072, 196608, 262144, 327680, 393216, 458752, 524288, 589824, 655360 ...
If you also need spawn flags, just add them. Doodadset 1 with  flags 5 would be 65541 then.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ulec

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 63
    • View Profile
Re: [QUESTION] A few requests
« Reply #4 on: January 27, 2011, 05:09:41 pm »
Ok thank you :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »