UFO:Alien Invasion

General => User modifications => Topic started by: jareyes on July 10, 2012, 01:57:25 am

Title: Error after editing maps.ufo
Post by: jareyes on July 10, 2012, 01:57:25 am
Hello,

I followed the instructions in the scripting section on how to remove a map from my campaign. I simply changed the campaign bool value to false, and went on about my business.

However, after trying to start the game I get this error:

Com_ParseMapDefinition: Max mapdef hit

This error is confusing because all I did was edit one line.

Any advice or suggestions would be greatly appreciated.

Thanks,

-JAR
Title: Re: Error after editing maps.ufo
Post by: jareyes on July 10, 2012, 04:02:29 am
FYI, I resolved the error myself.

I decided to make a copy of the original maps.ufo file and retain it in the pk3 file. I named this copy "maps.original.ufo". I would imagine that the loader just checks for a string that matches the pattern (here, "maps") before the first period. Thus, my guess is it was loading the first maps.ufo file then also attempting to load the maps.original.ufo file. I can't be certain but that's my guess.

Hope this helps anyone who encounters this error in the future.

-JAR
Title: Re: Error after editing maps.ufo
Post by: geever on July 10, 2012, 08:48:50 am
FYI, I resolved the error myself.

I decided to make a copy of the original maps.ufo file and retain it in the pk3 file. I named this copy "maps.original.ufo". I would imagine that the loader just checks for a string that matches the pattern (here, "maps") before the first period. Thus, my guess is it was loading the first maps.ufo file then also attempting to load the maps.original.ufo file. I can't be certain but that's my guess.

Hope this helps anyone who encounters this error in the future.

-JAR

It reads *.ufo...

-geever