Switching which side moves first
Moderators: Slitherine Core, BA Moderators
-
- Lieutenant-General - Do 217E
- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Switching which side moves first
Is there an easy way to switch which side starts first in an MP scenario?
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
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
-
- Site Admin
- Posts: 9863
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Switching which side moves first
I don't think so - the turn sequence is set up by the server.
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
- Lieutenant-General - Do 217E
- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Switching which side moves first
Sorry, I meant if I've written a scenario where the Soviets are side 0 (from the .BAM), but I'd like the Germans to go first, is there a simple line of code I can add somewhere to make this happen?
I don't want to do anything clever, like giving the two players a switchable option in game...
I don't want to do anything clever, like giving the two players a switchable option in game...
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
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
-
- Site Admin
- Posts: 9863
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Switching which side moves first
The problem is that the turn would still go back and forth in the same order. So you could potentially skip it (not sure if SkipFirstPlayerTurn works in MP to be honest) but they would still have to get and return the turn for it to work, if that makes sense.
Cheers
Pip
Cheers
Pip
follow me on Twitter here
Re: Switching which side moves first
If I remember well, the SkipFirstPlayerTurn() only works if the scenario has a deploy phase.
Re: Switching which side moves first
I was looking at this the other day to save having to redo everything, and came across this in Pike and Shot. viewtopic.php?f=319&t=53432
I have tried in BA1 & 2 it but not got it to work correctly yet
I have tried in BA1 & 2 it but not got it to work correctly yet

The units are specified as side 0 or side 1 in the .BAM file - you can in fact change those unit's sides manually. If you use search and replace, you have to be very careful how you do it, and you cannot do "replace all" without messing something up, but by searching for "_0_" you can change the side 0 units to side 2, then search for "_1_" to convert the side 1 units to side 0, then search for "_2_" to convert the side 2 units to side 1. You also need to change the Unitcount sides. You must not use "replace all" because there will be other instances of these search strings in the .BAM file.
Cheers
Richcat
Richcat
-
- Lieutenant-General - Do 217E
- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Switching which side moves first
Ouch!
I wonder, is 'side' coded for each unit somewhere?
I don't suppose it's possible to write a one-off loop, just to go through every single unit at the start of the game, recoding each one for the opposite side...?
I wonder, is 'side' coded for each unit somewhere?
I don't suppose it's possible to write a one-off loop, just to go through every single unit at the start of the game, recoding each one for the opposite side...?
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
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
-
- Site Admin
- Posts: 9863
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Switching which side moves first
There isn't anything stopping you from doing that I guess! Not sure what else would be incorrect at that point though. Give it a try!
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
- Lieutenant-General - Do 217E
- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Switching which side moves first
If I did that, would I also have to tell it that the 'new' side 0 is now German?
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
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
Re: Switching which side moves first
The only thing I have found is that doesn't work so far is the icons above each unit, which change to allies above axis and vice versa.
Still having a try might found out how to do it..
Still having a try might found out how to do it..

Cheers
Richcat
Richcat
Re: Switching which side moves first
In BA1 I made several scenarios "CHESS", that US units play as German, and German units play as USA, maybe this may help. They are in Scenarios by Enric.