Page 1 of 1

MAX_SQUAD_TEMPLATES

Posted: Sun Dec 19, 2010 6:38 pm
by lpgamble
I loaded up some of the new units into my Modded Campaign and I'm getting an error:

mNumSquadTemplates < MAX_SQUAD_TEMPLATES.\sidearena.cpp(212)

Is there a limit to the number of lines in the squads.csv?
Should I move my units into a copy of the new squads.csv?

Posted: Sun Dec 19, 2010 6:46 pm
by junk2drive
Yep I ran into this long ago. 127 or 128 max.

What Iain suggested is keeping an xls with all of your units and campaign specific csv for your scenarios. For my Japan battles I deleted all the units and left the header from the original csv and saved as... Header. Then I copied all of the USA units to that and added all my Japanese units and save as... to the my campaign folder.

Posted: Sun Dec 19, 2010 7:24 pm
by junk2drive

Posted: Mon Dec 20, 2010 2:26 am
by lpgamble
Cool Thanks, I can delete out non deserty troops.