Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: mariobox on November 17, 2015, 10:12:02 pm

Title: Converted Alpha Map to 3.3.5 (terrain in noggit not working)
Post by: mariobox on November 17, 2015, 10:12:02 pm
Hello!

I have the files for Gillijim's Isle and Island of Dr Lapidis (Alpha WoW) to 3.3.5
They're work fine ingame but when I try to open the map in noggit there is no terrain. When I try to use the fixoffset.exe thingy the terrain works, but not the models. The cordinates for the models then gets changed and I have to change the cordinates in 010 editor one by one and it is over 1200 models to change...

ALPHA:
(http://i.imgur.com/xRjBCJQ.jpg)
WOTLK:
(http://i.imgur.com/FD46YhY.jpg)
IN NOGGIT:
(http://i.imgur.com/HsJtwog.jpg)
WHEN USE OFFSET:
(http://i.imgur.com/ISFNnqV.jpg)


Is there a easier way?
Title: Re: Converted Alpha Map to 3.3.5 (terrain in noggit not work
Post by: akspa420 on November 18, 2015, 02:00:03 am
It's a known issue, caused by missing mcnk chunks. Basically, the adt's don't have all their position data and noggit can't figure out how to arrange the terrain data. Oddly enough, the WoW client doesn't actually care about this data. Ideally, Noggit should be able to act the same way, but I have no idea how to implement such a change.

Last year sometime, I spent something like 2 days trying to get offset fix to only fix the terrain chunks and not modify the model/doodad data, but none of my test cases worked out properly. I'm not a programmer, but have some ideas as to how programs function - offsetfix is an incredibly simple program that just reads in the data chunks, runs a function on the data, and puts everything back together. I have tried to just isolate the MCNK bits and make it do its magic, but to no avail, the model data gets scrubbed, or in one test case, shifted off the map data. There's certainly something I'm missing - the two should be linked together in terms of the coordinates for all assets tied to an ADT.

If I have some free time, I'll take another stab at it sometime soon(tm).
Title: Re: Converted Alpha Map to 3.3.5 (terrain in noggit not work
Post by: mariobox on November 18, 2015, 07:10:33 am
Where can I get the source of offsetfix.exe? I have been The normal cords is like 12223 but with the offset they're all changed to like 23332..
Title: Re: Converted Alpha Map to 3.3.5 (terrain in noggit not work
Post by: stan84 on November 18, 2015, 12:26:14 pm
Got same problem some time ago in my vanilla project. Solvet it by creating fresh blank adt's, and copy alpha maps, heights and doodads to them by using tallis. Took about 15 minutes, the only thing i had to do was  adding areaid's in noggit.
Title: Re: Converted Alpha Map to 3.3.5 (terrain in noggit not work
Post by: mariobox on November 18, 2015, 01:57:22 pm
How do you copy terrain and models from 1 adt to another in tallis?
Title: Re: Converted Alpha Map to 3.3.5 (terrain in noggit not work
Post by: stan84 on November 18, 2015, 05:42:37 pm
1. open 2 adt's source and target.
1a. save as - target adt ( the new one, where you want to copy all informations)-without that operation tallis will not copy anything
2. edit -> replacement tools -> a. inject height map
                                                 b. inject alphamap
                                                 c. inject doodad
3. chose source adt to copy from
4. save - target adt.
Title: Re: Converted Alpha Map to 3.3.5 (terrain in noggit not work
Post by: mariobox on November 19, 2015, 03:33:34 pm
Thanks for learning me something new about Taliis, not all of the .adt works 100%. Some gives error so I guess I will forget about this, extracting alpha maps.