Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: Axis48 on December 07, 2016, 03:37:06 pm

Title: How to delete invisible M2s?
Post by: Axis48 on December 07, 2016, 03:37:06 pm
I am starting to piece together a map and have recently converted it to an MPQ and loaded it into the client. I was looking at it in-game and noticed a few models were spawned in, M2s specifically, an untextured night elf is just sort of there in game, but when I load up the map in Noggit I can't see or select it.

Is there I can somehow find this M2 and remove it? I know where it is on the map, but I can't see or select it within Noggit.
Title: Re: How to delete invisible M2s?
Post by: Gratural [Харгард] on December 07, 2016, 04:29:43 pm
Quote from: "Axis48"
I am starting to piece together a map and have recently converted it to an MPQ and loaded it into the client. I was looking at it in-game and noticed a few models were spawned in, M2s specifically, an untextured night elf is just sort of there in game, but when I load up the map in Noggit I can't see or select it.

Is there I can somehow find this M2 and remove it? I know where it is on the map, but I can't see or select it within Noggit.
If you know their name, can kill him into Taliis.
Or place placeholder m2 with same name & path.
Title: Re: How to delete invisible M2s?
Post by: Axis48 on December 07, 2016, 05:36:55 pm
Quote from: "gratural"
Quote from: "Axis48"
I am starting to piece together a map and have recently converted it to an MPQ and loaded it into the client. I was looking at it in-game and noticed a few models were spawned in, M2s specifically, an untextured night elf is just sort of there in game, but when I load up the map in Noggit I can't see or select it.

Is there I can somehow find this M2 and remove it? I know where it is on the map, but I can't see or select it within Noggit.
If you know their name, can kill him into Taliis.
Or place placeholder m2 with same name & path.

I'm still a little green, what is Taliis?
Title: Re: How to delete invisible M2s?
Post by: Steff on December 12, 2016, 08:19:32 am
Dont use taliis for adt edits anymore. It is outdated. For model delete use loadinfo and fileinfor. Both are included in the modding pack from tutorial.

viewtopic.php?f=22&t=353 (http://modcraft.io/viewtopic.php?f=22&t=353" onclick="window.open(this.href);return false;)
Title: Re: How to delete invisible M2s?
Post by: schlumpf on December 12, 2016, 09:34:19 am
Quote from: "Steff"
Dont use taliis for adt edits anymore. It is outdated. For model delete use loadinfo and fileinfor. Both are included in the modding pack from tutorial.

viewtopic.php?f=22&t=353 (http://modcraft.io/viewtopic.php?f=22&t=353" onclick="window.open(this.href);return false;)

File/loadinfo is also horribly outdated and will break MCRF. Prefer swapping the model with file/loadinfo or taliis, then deleting it in noggit.
Title: Re: How to delete invisible M2s?
Post by: Amaroth on December 12, 2016, 12:22:42 pm
Another way around all of this which may be just more simple for a newbie is replacing a model by some placeholder.

1. Open a WMV. Open your "invisible" model.
2. Go to File menu, Export textures, make Path preserved option checked and click on Export all.
3. Do the same with any M2 which definitely is visible in Noggit.
4. Go to Export folder of your WMV, take visible M2 and SKIN, copy them to folder where an invisible M2 is. Delete invisible M2 and its SKIN and rename visible M2 and SKIN to name of that invisible one.
5. Place your files into some temporary MPQ in your Noggit's Data folder.
6. Now you should see your visible model in invisible one's place in Noggit. Get rid of it and you are done.