Game Development Community

MapToDif problems

by Howard Dortch · in Torque Game Engine · 05/21/2005 (6:19 am) · 5 replies

I put in some portals and the converter will work just fine, shows multiple zones etc. Sometimes when I add some geometry and do a conversion I get this "Error bad assumption (pEntity_winding.size == 2 not 1 go smack DMore portal 3" . So then I go to the portals and check, it's tight to the geometry, so I delete it then it tells me I got problem with portal 2 then 1 so I delete them all, then put them all back in and everything is fine.
Can someone tell me why this happens and what can I do to prevent it. Getting to be a major irritation.

#1
05/21/2005 (1:12 pm)
Are you making the portals overlap surrounding gometry, or just fit up with it perfectly? The former works better than the latter.
#2
05/21/2005 (2:29 pm)
You also need to make sure that the planes of the portals are not in line with the planes of the brushes that they are embedded in- ie it should be 'thinner' than the brushes.

There is a good reference here

Edit - added link
#3
05/21/2005 (4:13 pm)
Thanks Ben and David I will heed the suggestions. Perhapps you missed the sequence of events. I have a building with all portals sealed, got 3 zones. Place some obscure piece of geometry ( I recently discovered a brush protruding through a floor might be the cause ). The map2dif now tells me all of my portals are bad with the error I mentioned above (Winding size ? winding order I can understand.) How can all the portals be sealed then all are bad when nothing was changed on the portals or the surrounding geometry? Seems it's a bug in the converter, once it starts down the path of error reporting it doesnt stop till all are deleted then I put em all back in exactly the same place and everything is ok.
#4
05/21/2005 (4:17 pm)
Are you using map2dif plus?
#5
05/21/2005 (6:05 pm)
No, using the one from the lighting pack. There is a plus?