
Change starting side
Moderators: rbodleyscott, Slitherine Core, Gothic Labs
-
- Administrative Corporal - SdKfz 232 8Rad
- Posts: 168
- Joined: Wed Jul 23, 2014 6:17 pm
- Location: Italy
Change starting side
There is a way to change the starting side from side 0 to side 1 

-
- Field of Glory 2
- Posts: 28294
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Change starting side
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.
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.
Richard Bodley Scott


-
- Administrative Corporal - SdKfz 232 8Rad
- Posts: 168
- Joined: Wed Jul 23, 2014 6:17 pm
- Location: Italy
Re: Change starting side
Thanks. Very interesting Richard, with this method one can change side with AI, but i just wanted only that AI start first.
Last edited by nikdav on Fri Aug 05, 2016 7:47 pm, edited 1 time in total.
-
- Field of Glory 2
- Posts: 28294
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Change starting side
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.nikdav wrote:Thanks. Very interesting Richard, with this method one can change side with AI, but i just wanted only that AI start first.
Richard Bodley Scott


-
- Administrative Corporal - SdKfz 232 8Rad
- Posts: 168
- Joined: Wed Jul 23, 2014 6:17 pm
- Location: Italy
Re: Change starting side
Wow! Richard, i made copy and paste your Gravelines script and all work very well !
-
- Field of Glory 2
- Posts: 28294
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Change starting side
Great!nikdav wrote:Wow! Richard, i made copy and paste your Gravelines script and all work very well !
Richard Bodley Scott

