Placing Place Names on Maps

PC : Battle Academy is a turn based tactical WWII game with almost limitless modding opportnuities.

Moderators: Slitherine Core, BA Moderators

Post Reply
Brian6501
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 6
Joined: Tue Jul 16, 2013 10:44 am

Placing Place Names on Maps

Post by Brian6501 »

Guys, can anyone tell me how I can write place names etc. on the maps that I am designing at the moment?. Would be really grateful for any info on this.
AndrewGardner
Slitherine
Slitherine
Posts: 535
Joined: Tue Nov 13, 2012 6:24 pm

Re: Placing Place Names on Maps

Post by AndrewGardner »

This will require some scripting.

First you will need to add the names to the string file for the campaign. This process is described on the modding wiki:
http://www.slitherinebravo.net/GameWiki ... ustom_text

Then, in your scenario script, call ShowTextMarker to display the text.

For example, to show the string referenced by IDS_YOUR_STRING at tile 31, 33 at the beginning of the game:

FUNCTION StartTurn(side)
{
if (GetTurn() == -1 )
{
ShowTextMarker(1, 31, 33, "IDS_YOUR_STRING", 6, "FFFFFF", 1);
}
}

If you aren't already familiar with scripting in Battle Academy, check out the modding wiki or the Modder's Corner section of the forum
http://www.slitherinebravo.net/GameWiki ... dding_main
Brian6501
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 6
Joined: Tue Jul 16, 2013 10:44 am

Re: Placing Place Names on Maps

Post by Brian6501 »

Thank you very much for your help and advice. As you correctly surmise, this is my first foray into map making for Ba, I am trying to put together a campaign in 1942 where the Germans after a successful Operation Sealion are now rested and refitted are now attacking into Scotland.
LandMarine47
Major-General - Tiger I
Major-General - Tiger I
Posts: 2490
Joined: Sun Oct 28, 2012 10:44 pm
Location: Texas

Re: Placing Place Names on Maps

Post by LandMarine47 »

gilly6501 wrote:Thank you very much for your help and advice. As you correctly surmise, this is my first foray into map making for Ba, I am trying to put together a campaign in 1942 where the Germans after a successful Operation Sealion are now rested and refitted are now attacking into Scotland.
Really :shock: this should be good as there aren't any good 1942 Scenarios other than the Desert. Some Coastal Raids is about it. Most of the fighting was in Russia. Will this be a Allied or Axis Playthrough? I'd be fun to see US forces though :)
Brian6501
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 6
Joined: Tue Jul 16, 2013 10:44 am

Re: Placing Place Names on Maps

Post by Brian6501 »

Well I was thinking of having it an Allied campaign at first and then see how it goes from there. But now you have put a thought into my head about US forces, I think I will give that a go and use them instead of the UK forces, or does anyone think that will be too much out of context??.
LandMarine47
Major-General - Tiger I
Major-General - Tiger I
Posts: 2490
Joined: Sun Oct 28, 2012 10:44 pm
Location: Texas

Re: Placing Place Names on Maps

Post by LandMarine47 »

gilly6501 wrote:Well I was thinking of having it an Allied campaign at first and then see how it goes from there. But now you have put a thought into my head about US forces, I think I will give that a go and use them instead of the UK forces, or does anyone think that will be too much out of context??.
Perhaps a compromise of US and UK working together? Some US only other British and some working together on the same map.
Brian6501
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 6
Joined: Tue Jul 16, 2013 10:44 am

Re: Placing Place Names on Maps

Post by Brian6501 »

LandMarine47 wrote:
gilly6501 wrote:Well I was thinking of having it an Allied campaign at first and then see how it goes from there. But now you have put a thought into my head about US forces, I think I will give that a go and use them instead of the UK forces, or does anyone think that will be too much out of context??.
Perhaps a compromise of US and UK working together? Some US only other British and some working together on the same map.
I will see what I can do, that sounds a pretty good idea. The UK forces would be a bit depleted at that time after losing most of England.
Post Reply

Return to “Battle Academy”