MAX_MAP_LIGHTBYTES exceeded error

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
Vartazian
CJ Worshipper
CJ Worshipper
Posts: 286
Joined: June 10th, 2011, 9:14 pm

MAX_MAP_LIGHTBYTES exceeded error

Post by Vartazian » January 19th, 2014, 11:34 pm

MAX_MAP_LIGHTBYTES <93 MB> exceeded... more than 31 lightmaps used. What does this mean? How can i fix this error. ps: my map is unbelievably huge..but it didn't compile this last time. Is there a limit to the amount of large brushes or somthing?

I only have 1 worldspawn. and 1 light in the entire map right now..

http://www57.zippyshare.com/v/65115329/file.html

descent_v2

http://www.xfire.com/screenshots/129375167

edit: I deleted some massive brushes and it compiles now...could it possibly meant that i am reaching the max lightmap possible by the worldspawn?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: MAX_MAP_LIGHTBYTES exceeded error

Post by Drofder2004 » January 20th, 2014, 4:37 pm

Use smaller brushes to make up the larger brush.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Vartazian
CJ Worshipper
CJ Worshipper
Posts: 286
Joined: June 10th, 2011, 9:14 pm

Re: MAX_MAP_LIGHTBYTES exceeded error

Post by Vartazian » January 20th, 2014, 11:22 pm

The cutting the brushes in half didnt work, but I switched out the floors in the map for CLIP, which is invisible so I figured it might not have a lightmap associated with it. turns out i was correct.. so this is has enabled me to add at least a few more jumps worth in the map without going over the limit :/

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: MAX_MAP_LIGHTBYTES exceeded error

Post by Drofder2004 » January 21st, 2014, 3:43 am

As always, are you making use of structural and detail brush modes?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Vartazian
CJ Worshipper
CJ Worshipper
Posts: 286
Joined: June 10th, 2011, 9:14 pm

Re: MAX_MAP_LIGHTBYTES exceeded error

Post by Vartazian » January 21st, 2014, 8:20 pm

Im actually not sure what you mean by structural brushes. Caulk? etc?

User avatar
Jewel
CJ Wannabe
CJ Wannabe
Posts: 34
Joined: November 8th, 2012, 8:15 pm
Gamertag: Original Lithy
Location: France

Re: MAX_MAP_LIGHTBYTES exceeded error

Post by Jewel » January 21st, 2014, 11:23 pm

Select a brush > Selection menu > Make Structural

Vartazian
CJ Worshipper
CJ Worshipper
Posts: 286
Joined: June 10th, 2011, 9:14 pm

Re: MAX_MAP_LIGHTBYTES exceeded error

Post by Vartazian » January 22nd, 2014, 5:36 pm

All of my brushes are structural because that is the default brush in radiant apparently

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: MAX_MAP_LIGHTBYTES exceeded error

Post by Drofder2004 » January 22nd, 2014, 11:30 pm

Vartazian wrote:All of my brushes are structural because that is the default brush in radiant apparently
viewtopic.php?f=18&t=1089
(This is outdated and probably no longer entirely correct, however it still has relevance)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests