General > User modifications

Error after editing maps.ufo

(1/1)

jareyes:
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

jareyes:
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

geever:

--- Quote from: 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

--- End quote ---

It reads *.ufo...

-geever

Navigation

[0] Message Index

Go to full version