BattleAdvancedPanel

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

BattleAdvancedPanel

Post by enric »

Where are the .BSF files that control the BAP buttons?
AndrewGardner
Slitherine
Slitherine
Posts: 535
Joined: Tue Nov 13, 2012 6:24 pm

Re: BattleAdvancedPanel

Post by AndrewGardner »

There is no BSF specifically for that UI. In that UI file, the buttons define simple commands that just issue keyboard shortcut commands to the game.
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: BattleAdvancedPanel

Post by enric »

So, I can't mod the behavior of these buttons, right?
AndrewGardner
Slitherine
Slitherine
Posts: 535
Joined: Tue Nov 13, 2012 6:24 pm

Re: BattleAdvancedPanel

Post by AndrewGardner »

You should be able to copy that UI into your campaign and create your own handler script for it.
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: BattleAdvancedPanel

Post by enric »

Can you be a little more explicit. :D
The only thing I found related to this is BATTLEADVANCEDPANEL.TXT
AndrewGardner
Slitherine
Slitherine
Posts: 535
Joined: Tue Nov 13, 2012 6:24 pm

Re: BattleAdvancedPanel

Post by AndrewGardner »

The description of UI modding on the wiki is very brief. I will see if we can get it updated.
http://www.slitherinebravo.net/GameWiki ... ui_control
pipfromslitherine
Site Admin
Site Admin
Posts: 9863
Joined: Wed Mar 23, 2005 10:35 pm

Re: BattleAdvancedPanel

Post by pipfromslitherine »

It is probably better to add your own UI panel if you want to add custom commands to the battle. You can, as Andrew says, duplicate the current file and add things to it, but then you could run into compatibility issues if we change the core game functionality in the future.

Cheers

Pip
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: BattleAdvancedPanel

Post by enric »

Well it's complicated and, a little (...) like decrypting a hieroglyphic, to understand some areas of BA.
I added some buttons to the advanced panel like these, they show the players units alive, and where they are, I know that if you change it in next version I'll need to redo, but for now I can't do better until I understand more.

We found it useful if you play several games at the same time and opens one that you played several days ago.
.

The icons are still in process...
Screen Shot 2013-04-23 at 19.59.43.jpg
Screen Shot 2013-04-23 at 19.59.43.jpg (132.43 KiB) Viewed 3079 times
Screen Shot 2013-04-23 at 16.36.49.jpg
Screen Shot 2013-04-23 at 16.36.49.jpg (74.94 KiB) Viewed 3079 times
pipfromslitherine
Site Admin
Site Admin
Posts: 9863
Joined: Wed Mar 23, 2005 10:35 pm

Re: BattleAdvancedPanel

Post by pipfromslitherine »

If it's being found to be useful then we can always roll it into the next expansion as a UI addition for sure. :)

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”