Page 1 of 1
Change starting side
Posted: Thu Aug 04, 2016 12:56 pm
by nikdav
There is a way to change the starting side from side 0 to side 1

Re: Change starting side
Posted: Thu Aug 04, 2016 6:36 pm
by rbodleyscott
The only way to do this is to edit a copy of the scenario .BAM file. Fortunately the process is relatively simple.
1 - Swap the values of SIDEID0 and SIDEID1
2 - Search for "_0_" replace with "_2_"
3 - Search for "_1_" replace with "_0_"
4 - Search for "_2_" replace with "_1_"
5 - Change UNITCOUNT_0 to UNITCOUNT_1
6 - Change UNITCOUNT_1 to UNITCOUNT_0
When you load the file in the editor, Side0 will have become Side 1 and vice versa. The map will remain the same.
Re: Change starting side
Posted: Fri Aug 05, 2016 5:23 pm
by nikdav
Thanks. Very interesting Richard, with this method one can change side with AI, but i just wanted only that AI start first.
Re: Change starting side
Posted: Fri Aug 05, 2016 5:51 pm
by rbodleyscott
nikdav wrote:Thanks. Very interesting Richard, with this method one can change side with AI, but i just wanted only that AI start first.
Ah. Well the answer to that is you can't if you don't want a deployment phase. In Gravelines scenario I had to script the player side units as cannot control on the 1st turn, so the player did get the first turn but could not do anything in it.
Re: Change starting side
Posted: Fri Aug 05, 2016 7:50 pm
by nikdav
Wow! Richard, i made copy and paste your Gravelines script and all work very well !
Re: Change starting side
Posted: Fri Aug 05, 2016 8:03 pm
by rbodleyscott
nikdav wrote:Wow! Richard, i made copy and paste your Gravelines script and all work very well !
Great!