UFO:Alien Invasion

Development => Mapping => Topic started by: teker0 on July 05, 2008, 03:47:38 am

Title: MAX_MAP_LIGHTING (16808857 GetLastError() = 2
Post by: teker0 on July 05, 2008, 03:47:38 am
That's what I get when I try to compile a test map.  I'm trying to build the top 8 levels of a skyscraper.  It built fine when I only had the top couple levels, but doesn't seem to like it now that I've copied the outer walls to the lower levels as well.

Map is available at http://www.ryos.com/ufoai/skyscraper.zip

Using GTKradiant 1.5.  UFOAI is v2.2.


Title: Re: MAX_MAP_LIGHTING (16808857 GetLastError() = 2
Post by: Mattn on July 05, 2008, 11:52:17 am
because the brushes are way tooooo big - make your floors smaller (or at least split the floor brush into 16 brushes)
Title: Re: MAX_MAP_LIGHTING (16808857 GetLastError() = 2
Post by: teker0 on July 07, 2008, 12:18:26 am
Any recommendations on max brush sizes?  I've broken the building into a different file per floor and I'm having issues with one of them.  The roof seems fine now - I broke it into 30 brushes, with helipads, etc.  Now I'm getting:

MAX_MAP_LIGHTING (16780291 GetLastError() = 2

on the next floor.  The first number seems to change if I break the brushes into even smaller parts.  Is that first number meaningful?  Or do you have to look at the compiler under the debugger to figure out what it means?