Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: Will on June 07, 2012, 07:56:13 pm

Title: Large m2s in noggit. View and collision loss.
Post by: Will on June 07, 2012, 07:56:13 pm
I have a few large m2s in noggit, but noggit seems to stop view distance and collision to work as intended..
Are there any fixes for this? Or can anyone direct me to some useful resources on how to create custom wmos.

Thanks in advance
Will
Title: Re: Large m2s in noggit. View and collision loss.
Post by: schlumpf on June 07, 2012, 07:59:25 pm
Are you talking about being unable to select the M2 in noggit or being able to walk through it in game?
Title: Re: Large m2s in noggit. View and collision loss.
Post by: Will on June 07, 2012, 08:06:21 pm
- Can walk through it in-game.. (It looses its collision)
- It also doesn't render when you look at certain angles, etc.. (Bounding boxes are too small i guess)
- View distance is tiny..


I add collision and view with simple tool (Not with manual hex) and noggit seems to mess it up? What am i doing wrong? Or.. what can i do to fix this?

Thanks
Title: Re: Large m2s in noggit. View and collision loss.
Post by: KevinBM on June 07, 2012, 08:07:49 pm
Can't you convert them into wmo's?
Title: Re: Large m2s in noggit. View and collision loss.
Post by: schlumpf on June 07, 2012, 08:10:18 pm
Does the model span multiple chunks (mcnks) or even multiple ADTs?
Title: Re: Large m2s in noggit. View and collision loss.
Post by: Will on June 07, 2012, 08:11:38 pm
Yes, that is what i believe to be the issue. I have tried to add the object's coordinates to every chunk and adt.. But still doesn't work :(

its a v big model..
Title: Re: Large m2s in noggit. View and collision loss.
Post by: schlumpf on June 07, 2012, 08:26:33 pm
The problem will most likely be that the model is not referenced in the MCRF chunks. I thought I fixed that some months ago, but someone seems to have commented out parts of that code. There is nothing I can do for you except for telling that you need to add the index of the doodad into all MCRF chunks.
Title: Re: Large m2s in noggit. View and collision loss.
Post by: Will on June 07, 2012, 08:36:14 pm
I thought i did reference them in, but actually i will double check.

Thank you
Title: Re: Large m2s in noggit. View and collision loss.
Post by: Zim4ik on June 07, 2012, 08:46:01 pm
put your m2 into the center of adt.
Title: Re: Large m2s in noggit. View and collision loss.
Post by: Will on June 07, 2012, 08:48:31 pm
It might actually be bigger than adt -.- lol

I'll have a play around again
Title: Re: Large m2s in noggit. View and collision loss.
Post by: schlumpf on June 10, 2012, 10:40:59 am
Try setting MDDF::flags to | 1.
Title: Re: Large m2s in noggit. View and collision loss.
Post by: Will on June 10, 2012, 08:03:08 pm
Thanks. Not at workstation till 20th June though, so will try as soon as i am able to..