Changing ID numbers in squads.csv

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Changing ID numbers in squads.csv

Post by GottaLove88s »

Units seem to appear in the Editor in the order of their ID value in Squads.csv (lowest first).
Is there any disadvantage to changing these ID numbers, to have the Editor list things in a particular order?
It would make map design much faster for a multi-map campaign...
Thanks guys. :-)
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Changing ID numbers in squads.csv

Post by GottaLove88s »

PS. Does it matter if I skip some numbers in squads.csv, keeping them blank at the start in case I need to add more units later
eg. IDs 1-20 for Germans, IDs 40-60 for Brits, IDs 80-120 for Americans...
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Changing ID numbers in squads.csv

Post by GottaLove88s »

Have just experimented...

Changing any ID numbers is a route to unhappiness and confusion, lol... It changes everything so nothing matches up anymore... :-(

However, the BA Editor appears to import its units list in the order of the squads.csv spreadsheet (incidentally, force selection seems to do the same thing)... So, reordering the spreadsheet is all that one needs to do... :-)
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Post Reply

Return to “Battle Academy : Modders Corner ”