Kursk - Core Units

Forum for discussion of the next iteration of the BA engine. This time with a all new open development approach!

Moderators: Slitherine Core, BA Moderators

Post Reply
MikeAP
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 543
Joined: Fri Sep 03, 2010 3:14 pm

Kursk - Core Units

Post by MikeAP »

How can you tell which units are core units within the Kursk campaign?
morge4
Brigadier-General - Elite Grenadier
Brigadier-General - Elite Grenadier
Posts: 2114
Joined: Fri Apr 29, 2011 2:56 pm
Location: Penalty Box
Contact:

Re: Kursk - Core Units

Post by morge4 »

Agree, is there anything that marks them as Core?
MikeAP
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 543
Joined: Fri Sep 03, 2010 3:14 pm

Re: Kursk - Core Units

Post by MikeAP »

Anything on this?
rf900
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 339
Joined: Fri May 04, 2012 6:59 am

Re: Kursk - Core Units

Post by rf900 »

I did changed a file for BA, here it will work also. In SteamApps\common\Battle Academy 2\Data\Battle\Scripts edit UI.BSF with any text editor.

Around line 478 add the following marked in bold:

// make the string for the unit name
StartString() ;
if (GetAttrib(target, "System_Carryover") == 1 )
{
PrintStringLiteral("*") ;
}

PrintStringIndexed("IDS_UNITNAME", GetUnitStringID(target) ) ;

and around line 326:

// make the string for the unit name
StartString() ;
if (GetAttrib(me, "System_Carryover") == 1 )
{
PrintStringLiteral("*") ;
}

PrintStringIndexed("IDS_UNITNAME", GetUnitStringID(me) ) ;

This will add a * before the name of the unit shown in the bottom panels.
pipfromslitherine
Site Admin
Site Admin
Posts: 9947
Joined: Wed Mar 23, 2005 10:35 pm

Re: Kursk - Core Units

Post by pipfromslitherine »

Note that changing any core game files will cause issues when trying to play MP (warning messages etc).

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2 – Eastern Front”