project-navigation
Personal tools

Author Topic: MAX_MAP_LIGHTING (16808857 GetLastError() = 2  (Read 3355 times)

teker0

  • Guest
MAX_MAP_LIGHTING (16808857 GetLastError() = 2
« 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.



Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: MAX_MAP_LIGHTING (16808857 GetLastError() = 2
« Reply #1 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)

teker0

  • Guest
Re: MAX_MAP_LIGHTING (16808857 GetLastError() = 2
« Reply #2 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?