Change starting side

Moderators: rbodleyscott, Slitherine Core, Gothic Labs

Post Reply
nikdav
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 166
Joined: Wed Jul 23, 2014 6:17 pm
Location: Italy

Change starting side

Post by nikdav » Thu Aug 04, 2016 12:56 pm

There is a way to change the starting side from side 0 to side 1 :?:

rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 22501
Joined: Sun Dec 04, 2005 6:25 pm

Re: Change starting side

Post by rbodleyscott » Thu Aug 04, 2016 6:36 pm

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.
Richard Bodley Scott

Image

nikdav
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 166
Joined: Wed Jul 23, 2014 6:17 pm
Location: Italy

Re: Change starting side

Post by nikdav » Fri Aug 05, 2016 5:23 pm

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.

rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 22501
Joined: Sun Dec 04, 2005 6:25 pm

Re: Change starting side

Post by rbodleyscott » Fri Aug 05, 2016 5:51 pm

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.
Richard Bodley Scott

Image

nikdav
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 166
Joined: Wed Jul 23, 2014 6:17 pm
Location: Italy

Re: Change starting side

Post by nikdav » Fri Aug 05, 2016 7:50 pm

Wow! Richard, i made copy and paste your Gravelines script and all work very well !

rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 22501
Joined: Sun Dec 04, 2005 6:25 pm

Re: Change starting side

Post by rbodleyscott » Fri Aug 05, 2016 8:03 pm

nikdav wrote:Wow! Richard, i made copy and paste your Gravelines script and all work very well !
Great!
Richard Bodley Scott

Image

Post Reply

Return to “Scenario Design”