Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: abdalrahman9 on January 12, 2016, 10:45:58 pm

Title: WMO Portals/Lights
Post by: abdalrahman9 on January 12, 2016, 10:45:58 pm
Does anyone know how portals really work in a WMO? I have manually inputed a portal in my own wmo and set some of my groups as interior in the root folder in the group info chunk and also in the group file itself in the MOGP chunk flags as interior. I have also tried to place lights but they don't work. My game crashes when i try to log in and even when i am able to log in, i can see through the wmo group which has the interior flags.
Here is an example:
(http://i.imgur.com/TMZm9G0.jpg)
Does anyone know how portals, lights, interior flags work?
Title: Re: WMO Portals/Lights
Post by: schlumpf on January 12, 2016, 11:09:49 pm
I see you have been joining the chat in the recent days, sadly always when most people working on this kind of stuff were offline. I personally mostly Coke online a few hours after you leave. ,_,

I gues that the interior shows fine without portal and flagged as exterior? Do you have any visualization of the portal placement? Are the sides of the portal correct? Does it show when actually inside?
Title: Re: WMO Portals/Lights
Post by: abdalrahman9 on January 12, 2016, 11:30:21 pm
Ya i have been trying to see if anyone could help in the chat but as you said i guess my timing is just bad.
Yes, the interior groups work when i flag them as external and without portal. Here is an image of the portal with 3ds max, this is just the oldstrat_barn.wmo file as i seeing i can repeat the same portals that are already placed in the original model.
(http://i.imgur.com/YpoBTcZ.png)
When i try to enter the interior the game crashes completely. I am guessing it is a problem with my interior flags?
Title: Re: WMO Portals/Lights
Post by: abdalrahman9 on January 13, 2016, 04:35:44 am
Well it seems i figured out a way to make it work. It would seem that vertex color has to be implemented into the group for the wmo interior group to show at all! Here is an example of this:
(http://i.imgur.com/937cKJI.jpg)
Title: Re: WMO Portals/Lights
Post by: schlumpf on January 13, 2016, 08:52:31 am
MOCV should be possible to omit if flag 4 is not set for the group.