Page 1 of 1

Creating epic battle for opponent

Posted: Sat Dec 09, 2017 7:08 pm
by Pi-R
Hi

I have created some epic battles, but now ant to create versions of the same battles where the player plays the other side.

1. Do I need to place all units from scratch but now with sides changed, i.e. units originally placed for side 0 now placed for side 1, and same for units originally assigned to unit 1 now added for side 0?

2. Can I change the initial point of view for a map,i.e. if in the original battle the player is looking at the battlefield from behind the battle line of side 0 can this be changed to looking at the battlefield at start from behind the side 1 (AI) battle line to ward side 0 battle line?

Both is just to be sure I will not be making it unnecessary difficult to create the same battle from the point of view of the opponent.

Re: Creating epic battle for opponent

Posted: Sat Dec 09, 2017 10:00 pm
by Paul59
Pi-R wrote:Hi

I have created some epic battles, but now ant to create versions of the same battles where the player plays the other side.

1. Do I need to place all units from scratch but now with sides changed, i.e. units originally placed for side 0 now placed for side 1, and same for units originally assigned to unit 1 now added for side 0?

2. Can I change the initial point of view for a map,i.e. if in the original battle the player is looking at the battlefield from behind the battle line of side 0 can this be changed to looking at the battlefield at start from behind the side 1 (AI) battle line to ward side 0 battle line?

Both is just to be sure I will not be making it unnecessary difficult to create the same battle from the point of view of the opponent.
I will eventually get around to describing how to do this in one of my Scenario creation guides. There is actually quite a lot to do, if you want to do it properly.

But Richard describes the basics of it in this post from the Pike and Shot forum:


"First make a copy of the scenario .BAM file. You will find this in /My Documents/My Games/PSCAMP/CAMPAIGNS/MyCampaignName/SCENARIOS

Change the name of the file so you can distinguish the two versions.

Then open the file in a text editor (NOT a word processor). You can download "Notepad++" for free.

Then follow these steps in order:

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."




http://www.slitherine.com/forum/viewtop ... 99&t=72123

Re: Creating epic battle for opponent

Posted: Sun Dec 10, 2017 1:01 pm
by rbodleyscott
What Paul hasn't mentioned is that any generals you have added to the scenario will be completely messed up and you will have to redo them.

Re: Creating epic battle for opponent

Posted: Sun Dec 10, 2017 1:12 pm
by Paul59
rbodleyscott wrote:What Paul hasn't mentioned is that any generals you have added to the scenario will be completely messed up and you will have to redo them.
Oh there is a ton of stuff I did not mention, which is why it will need a whole new part of my Scenario guide to go through properly.

Re: Creating epic battle for opponent

Posted: Fri Jan 05, 2018 6:46 pm
by Pi-R
Sorry I see i have forgotten to thank you both for your help.

I have now created versions of my 7 epic battles for the user to play the opponents side.

Btw it is not only the generals that are messed up it is also the names assigned to the units. Nevertheless it is much easier than having to recreate the map from scratch. Unless you also have a way to easily remove these names :D

I'm now adding instructions for the AI where necessary. So expect some more questions from me soon :wink:

Re: Creating epic battle for opponent

Posted: Fri Jan 05, 2018 6:50 pm
by rbodleyscott
Pi-R wrote:Btw it is not only the generals that are messed up it is also the names assigned to the units. Nevertheless it is much easier than having to recreate the map from scratch. Unless you also have a way to easily remove these names :D
Sadly not.