This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: WMO Portals/Lights  (Read 1239 times)

abdalrahman9

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 129
    • View Profile
WMO Portals/Lights
« 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:

Does anyone know how portals, lights, interior flags work?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: WMO Portals/Lights
« Reply #1 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

abdalrahman9

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 129
    • View Profile
Re: WMO Portals/Lights
« Reply #2 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.

When i try to enter the interior the game crashes completely. I am guessing it is a problem with my interior flags?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

abdalrahman9

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 129
    • View Profile
Re: WMO Portals/Lights
« Reply #3 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:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: WMO Portals/Lights
« Reply #4 on: January 13, 2016, 08:52:31 am »
MOCV should be possible to omit if flag 4 is not set for the group.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »