Where are unit names stored in BA?

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Where are unit names stored in BA?

Post by GottaLove88s »

Does anyone know where BA stores the names of the different unit types?
I want to modify and rename a unit, but I'm not sure where it pulls the name down from...
Thanks guys. :?
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Richcat
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 219
Joined: Sun Nov 07, 2010 10:09 pm

Re: Where are unit names stored in BA?

Post by Richcat »

Have a look at the the Text1 file in each campaign folder should be something like
IDS_UNITNAME105,"FJ Panzershreck",
IDS_UNITINFO105, "FJ Panzershreck Rocket Launcher~~The Panzershreck was developed from captured examples of US Bazookas. Heavier and more powerful than the US system, the Panzershreck can destroy any allied tank.",
Cheers
Richcat
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Where are unit names stored in BA?

Post by GottaLove88s »

That's really helpful, thanks much R!

Do you know if it's possible to copy the "info" text over for certain units? Or is this a manual job?
I suspect I know the answer, lol, but I'm looking to save a couple of hours work...
:-)
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Richcat
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 219
Joined: Sun Nov 07, 2010 10:09 pm

Re: Where are unit names stored in BA?

Post by Richcat »

Do you know if it's possible to copy the "info" text over for certain units? Or is this a manual job?
I suspect I know the answer, lol, but I'm looking to save a couple of hours work...
I don't see why not,
Cheers
Richcat
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Where are unit names stored in BA?

Post by GottaLove88s »

Richcat wrote:
Do you know if it's possible to copy the "info" text over for certain units? Or is this a manual job?
I suspect I know the answer, lol, but I'm looking to save a couple of hours work...
I don't see why not,
Good answer R... Sorry I explained badly...

I meant, is there a format where I can write the function IDS_UNITINFO200, [but then write something here so it just pulls the info from an existing unit, eg. UNITINFO25]?

I'm trying to find a shortcut from retyping lots of stuff... but I'm happy to byte the bullet, if the answer is no...
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Post Reply

Return to “Battle Academy : Modders Corner ”