MAX_SQUAD_TEMPLATES

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
lpgamble
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 167
Joined: Mon Jun 25, 2007 8:00 pm
Location: Houston. Tx

MAX_SQUAD_TEMPLATES

Post 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?
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post 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.
You can call me junk - and type that with one hand.
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

You can call me junk - and type that with one hand.
lpgamble
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 167
Joined: Mon Jun 25, 2007 8:00 pm
Location: Houston. Tx

Post by lpgamble »

Cool Thanks, I can delete out non deserty troops.
Post Reply

Return to “Battle Academy : Modders Corner ”