Page 1 of 1

Number of Sides

Posted: Thu Jul 02, 2015 4:36 am
by Marching Thru Georgia
What is the maximum number of sides that can be in the OOB? WOuld it be possible to have side 1 = French, side 2 = British, side 3 = Prussian, etc.?

Re: Number of Sides

Posted: Thu Jul 02, 2015 6:18 am
by Xreos1
Not sure how 3 'sides' would work, but I am working on an OOB that has side A with 2 armies and side B with 3 armies, however each 'side' has an overall commander.

The 5 army OOB does load correctly. (paying close attention to strict CVS protocol)

Re: Number of Sides

Posted: Thu Jul 02, 2015 1:17 pm
by Saddletank
I doubt 3 sides can work. How does the AI know which is enemy and which is friendly unless there's a csv file somewhere that defines this.

Re: Number of Sides

Posted: Thu Jul 02, 2015 5:04 pm
by Marching Thru Georgia
I don't actually want a 3-sided battle. I want to use the side number designation for toolbar purposes. The current system does not allow for country specific toolbars unless it is of the floating variety. It wasn't a well thought out change and I am trying to find ways to deal with the shortcomings.

A 2nd question I have, is there a #army variable that can be accessed in the toolbar?

Re: Number of Sides

Posted: Thu Jul 02, 2015 10:26 pm
by mitra76
In the AI for know this you use the rank function with eRankArmy as parameter, but in the gui function you can use only the #rank without parameter, so it return only the rank level of unit checked.