Смердокрыл Posted June 2, 2016 Share Posted June 2, 2016 Hey! I was wondering if the following could be achieved using 010 editor, without any Noggiting: Remove an m2 or a wmo from the map, or replace it (by changing the path) Create a hole If it is possible, it would be very helpful for me, since I work in Cata and Noggit can't be directly used there. So, is it achievable, and, if it is, how? or not Link to comment Share on other sites More sharing options...
wungasaurus Posted June 3, 2016 Share Posted June 3, 2016 Yes, although it will be a lot of fiddling or will have subtle issues. removing an object: remove from MODF/MDDF, fix all MCRF in MCNK by removing the removed index and decreeing all bigger values by one. Alternative hack: set position to way below ground. replacing an object: if path not present yet, add to MMDX/MWMO, add offset to MMID/MWID, replace id in MODF/MDDF entry. If model is bigger than before: add to MCRF of all spanned MCNK. If MODF, adjust extents size. creating a hole: add bit in MCNK's hole mask. Link to comment Share on other sites More sharing options...
Alastor StrixEfuartus Posted June 3, 2016 Share Posted June 3, 2016 What about using FileLoad ? No matter how fast light travels it finds the darkness has always got there first and is waiting for it PATREON | TWITCH | MC.net | YOUTUBE | PAYPAL |BUY SOME OF MY 3D MODELS Star Citizen Referral Code : STAR-XNFS-HVL9 - Register using my code and recieve free 5,000 UEC Link to comment Share on other sites More sharing options...
wungasaurus Posted June 3, 2016 Share Posted June 3, 2016 Afaik those don't take all that into account. Link to comment Share on other sites More sharing options...
Skarn Posted June 3, 2016 Share Posted June 3, 2016 4 hours ago, wungasaurus said: Yes, although it will be a lot of fiddling or will have subtle issues. removing an object: remove from MODF/MDDF, fix all MCRF in MCNK by removing the removed index and decreeing all bigger values by one. Alternative hack: set position to way below ground. replacing an object: if path not present yet, add to MMDX/MWMO, add offset to MMID/MWID, replace id in MODF/MDDF entry. If model is bigger than before: add to MCRF of all spanned MCNK. If MODF, adjust extents size. creating a hole: add bit in MCNK's hole mask. Exactly what is said here. Though, this can be done in an automated way using 010 editor scripts. What you need to do is to rewrite the mentioned chunks in the file. I suggest reading it first somewhere, modifying it with your functions, calculating delta size and moving all futher offsets accordingly, inserting the new data instead of the new one. Link to comment Share on other sites More sharing options...
Смердокрыл Posted June 3, 2016 Author Share Posted June 3, 2016 11 hours ago, wungasaurus said: Yes, although it will be a lot of fiddling or will have subtle issues. removing an object: remove from MODF/MDDF, fix all MCRF in MCNK by removing the removed index and decreeing all bigger values by one. Alternative hack: set position to way below ground. replacing an object: if path not present yet, add to MMDX/MWMO, add offset to MMID/MWID, replace id in MODF/MDDF entry. If model is bigger than before: add to MCRF of all spanned MCNK. If MODF, adjust extents size. creating a hole: add bit in MCNK's hole mask. Is all that done in the adt file? Do I need to edit the wdt/wdl in any way? Also, is there a proper adt template for Cata? or not Link to comment Share on other sites More sharing options...
010 Map editing
By Смердокрылin Level Design
Recommended Posts