Ability to override or define bonus for map in script

Tech support for Battle Academy

Moderators: Slitherine Core, BA Moderators

Post Reply
rf900
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 339
Joined: Fri May 04, 2012 6:59 am

Ability to override or define bonus for map in script

Post by rf900 »

Hi, I am looking at the possibility to play the skirmish mod I am working on with any combination of nations for player and AI. This requires some code script changes and predefined buyable units for each nation but it will allow the player to choose at the start of each map the nation to play with and vs which one.

The only limitation I have to achieve this, that I can think of now, are the Bonus. As those need to be defined for each side in the BAM file I don't think I can override it in the script. Now that I think of it, maybe also the SIDEID0 defined in the map file will be a problem.

If there was a way to override these definitions by scripting we could use the same maps for battles between different nations.
pipfromslitherine
Site Admin
Site Admin
Posts: 9925
Joined: Wed Mar 23, 2005 10:35 pm

Re: Ability to override or define bonus for map in script

Post by pipfromslitherine »

It's not something which is possible currently. I will take a look at whether the changes you suggest are easily doable.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy : Tech Support”