Page 2 of 2
Re: First side to move
Posted: Sun Feb 01, 2015 9:21 pm
by cavehobbit
GottaLove88s wrote:cavehobbit wrote:You have to remove all units (German and Soviet) before or after you change things in the text files. Then you change sides in editor, Side0 as German och Side1 as Allies. Now you can replace all units and they belong to the correct side. You have some work to do...
Haha, no kiddin!
Uhm... Problem... Is it definitely spelt COLOUR (Brit way) not COLOR?
I've just added the SIDES.TXT file as above, and the
IDS_SIDETYPE0, “Axis”,
IDS_SIDETYPE1, “Allies”,
lines into my TEXT1.TXT
Now BA2 hangs up when I choose that Campaign in the Editor... Just stalls on the loading stage... Huh???
Did you copy these lines from your TEXT1.TXT?
Code: Select all
IDS_SIDETYPE0, “Axis”,
IDS_SIDETYPE1, “Allies”,
Could it be you are using some " that can't be read by BA2? Compare with these:
Code: Select all
IDS_SIDETYPE0, "Axis",
IDS_SIDETYPE1, "Allies",
Re: First side to move
Posted: Sun Feb 01, 2015 10:38 pm
by GottaLove88s
Hmmm, I don't think it's the TEXT1.TXT. The problem happens even if I \\ those lines.
But if I remove SIDES.TXT, the problem goes away.
All that's in SIDES.TXT is...
[Axis]
UICOLOUR 00ff1111
NATION 1
[Allies]
UICOLOUR 00ffffff
NATION 7
So I wonder what's wrong?
Re: First side to move
Posted: Mon Feb 02, 2015 8:29 am
by cavehobbit
Jon, it could be something about how SIDES.TXT was saved, in what character coding the text file was set to use. I think I've had this problem at some point. You could duplicate TEXT1.TXT, rename the copy to SIDES.TXT and then add the Axis and Allies colour code. As there is no problem with TEXT1.TXT you should get a SIDES.TXT with the correct character coding.
If this does not work, I could send you the map pack I used for testing your scenario.
Re: First side to move
Posted: Mon Feb 02, 2015 6:02 pm
by pipfromslitherine
The sides file should be in ASCII encoding. The text files are unicode so you should not have them in the same format
Cheers
Pip
Re: First side to move
Posted: Mon Feb 02, 2015 10:19 pm
by GottaLove88s
Thanks Pip & P-A, When I re-save as UTF 8-bit, it works just fine...
Germans are now side 0... Phew!

Re: First side to move
Posted: Tue Feb 03, 2015 3:45 pm
by morge4
Woo Hoo! What a great bunch of members and admins we have out there. So willing to help and give advice. Hats off to all!
