Having a Problem With Sides in Mission

Download scenarios and talk about scenario design.

Moderators: Slitherine Core, BA Moderators

Post Reply
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1022
Joined: Fri Apr 30, 2010 3:13 am

Having a Problem With Sides in Mission

Post by Old_Warrior »

In a mission I built I have the Germans as Side 0. US as Side 1 in the Sides.txt file and in the mission file (.BAM).

However, whenever I add in a German unit it ends up with a US flag over it and vice versa.

I have removed all units from the map several times in a vain attempt to try and get it to work properly.

Is there some other entry in the .BAM file that determines the sides?

Here are the key entries in my game:

Sides.txt file:
[Axis]
string IDS_SIDE0
UICOLOUR 00ff1111

[Allies]
string IDS_SIDE1
UICOLOUR 00ffffff

top of BAM file:
POINTS 0
BORDER 16
VERSION 1
DEPLOY FALSE
FLAGS 1
SIDEID0 1
SIDEID1 0


The example was France '40. I used the values I found in those missions.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Re: Having a Problem With Sides in Mission

Post by pipfromslitherine »

You need an appropriate icon file too, as they are built in side order. Grab the UNITICONS.DDS file from france, for example.

Cheers

Pip
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1022
Joined: Fri Apr 30, 2010 3:13 am

Re: Having a Problem With Sides in Mission

Post by Old_Warrior »

Thanks Pip! Still getting to know the system. Once I get this down I will put out a page on how to do these.
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1022
Joined: Fri Apr 30, 2010 3:13 am

Re: Having a Problem With Sides in Mission

Post by Old_Warrior »

Ok - I grabbed that file and put it in the root folder of my La Fiere Bridge campaign folder. Still getting the wrong icons.

Any idea of why this would be happening? All of the other files are as listed above. Is it possible that some setting could be hanging up? Thanks for your patience ...
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Re: Having a Problem With Sides in Mission

Post by pipfromslitherine »

The icons over the units come exclusively from this file. They don't actually care what any settings are, side 0 (e.g. the player side in SP) get the first icon set, and the other side the next. So everything is driven from this file.

Cheers

Pip
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1022
Joined: Fri Apr 30, 2010 3:13 am

Re: Having a Problem With Sides in Mission

Post by Old_Warrior »

The scenario now works. I must have copied the Icons file to another location at first. Now to see how the second round of testing goes ... :)
Post Reply

Return to “Battle Academy : Scenario Design”