Page 1 of 1

Placing Place Names on Maps

Posted: Sun Aug 11, 2013 4:09 pm
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.

Re: Placing Place Names on Maps

Posted: Mon Aug 12, 2013 3:46 pm
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

Re: Placing Place Names on Maps

Posted: Mon Aug 12, 2013 5:46 pm
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.

Re: Placing Place Names on Maps

Posted: Mon Aug 12, 2013 11:58 pm
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 :)

Re: Placing Place Names on Maps

Posted: Tue Aug 13, 2013 8:24 am
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??.

Re: Placing Place Names on Maps

Posted: Tue Aug 13, 2013 8:42 am
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.

Re: Placing Place Names on Maps

Posted: Tue Aug 13, 2013 10:01 am
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.