Unit Stats Menu

PC : Battle Academy is a turn based tactical WWII game with almost limitless modding opportnuities.

Moderators: Slitherine Core, BA Moderators

Post Reply
Obsolete
Lieutenant Colonel - Panther D
Lieutenant Colonel - Panther D
Posts: 1203
Joined: Thu May 06, 2010 5:25 pm

Unit Stats Menu

Post by Obsolete »

It seems that the game could do with a unit stats window. You know the type you can expect in the whole PG series. A quick but simple window that breaks down all the stats in a very simplified manner. It would prevent us having to always tab out to the excel file and scroll through the whole lists to find what were are looking for.

Even if a rookie doesn't care to know the exact speed of a unit or its turret like the rest of us grognards, at least knowing the front/side/rear armour thickness, or even the simple VISION range of that unit would be a quick help to all amateurs.

Image
Image
Experience Ratio = (def exp level + 2)/(att exp level + 2)
Entrenchment Ratio = (def entr rate + 1) /(att entr rate + 1)
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

In case you missed it you can

CTRL + Left Click Unit - Open info panel for unit (click and hold and drag panel)

I tried to mod this panel to add more items and did not have much success. Pip added it to the very long to do list.

Check my Manual Additions thread for other things that may have changed since you were here last.
You can call me junk - and type that with one hand.
Obsolete
Lieutenant Colonel - Panther D
Lieutenant Colonel - Panther D
Posts: 1203
Joined: Thu May 06, 2010 5:25 pm

Post by Obsolete »

I had done this CTRL+Click but all it did is give me some basic historical text info, and nothing concrete as to even what skills it has gained.
Image
Experience Ratio = (def exp level + 2)/(att exp level + 2)
Entrenchment Ratio = (def entr rate + 1) /(att entr rate + 1)
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

This is the info panel. It shows the same stats as the lower bar plus the text that you get in the start screen.

Below is the text1.txt line that the text comes from. One of my thoughts was to add some stats from the csv to the beginning of the text. There needs to be a consensus on what should be displayed. Then there is a lot of work to get the info and type it in. Then an update or expansion may change things or overwrite this text. That is why it would be better as an internal program change. The other idea that I tried was modding the script that puts the icon and stats at the top of the panel. That would pull the info from the csv.


IDS_UNITINFO0,"M4 Sherman Tank~~The workhorse of the allied armies, the Sherman is robust and reliable. However, its 75mm gun and armour are outclassed by later war German tanks. Despite these failings, more Shermans are built during WW2 than any other tank."

Image
You can call me junk - and type that with one hand.
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

Well ... I think the text info part of the menu can be eliminated. This will give room to what Obsolete mentioned.

It can be done ... It's a matter of everyone debating what should replace the text. Once that's done we can holler at Pip so he can holler further up the chain-of-command.
pipfromslitherine
Site Admin
Site Admin
Posts: 9862
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

It's a good idea. I will add it to the task list.

I also want to add some form of global overrides (which would allow people to use custom scripts for the main game as they liked). I'm not sure how to deal with MP in this case though.

Cheers

Pip
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

Pip,

Here's something really cool I just created ... My objective is to create an "OpFire Popup" that allows the player to adjust their own OpFire conditions.

At the moment (testing), I added a toggle button and text to the UnitInfoPopup (works!) ...
The Player clicks the button and cycles thru 3 kinds of conditions ... Normal/Medium/Low ...
The text is also displayed in the UI (under morale text), allowing the player to view it without having to bring up the info box.

Pretty cool stuff ... I never thought I could figure out the UI ... The UnitInfoPopUp gives me a nice working example to fiddle with!
I'll have to make a mod now ... :roll: ... Like I don't have other junk I want to do ... I really need to take a break.

Image
pipfromslitherine
Site Admin
Site Admin
Posts: 9862
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

Heh - nice! The ability to pretty simply add your own UI is something I had expected people to use more, but I guess that if you are adding custom UI, then you are looking at some pretty complex stuff, and not everyone has the time or energy to attempt such ambitious stuff!

Cheers

Pip
Verdugo8
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 20
Joined: Tue Jan 18, 2011 10:03 pm

Re: Unit Stats Menu

Post by Verdugo8 »

Obsolete wrote:It seems that the game could do with a unit stats window. You know the type you can expect in the whole PG series. A quick but simple window that breaks down all the stats in a very simplified manner. It would prevent us having to always tab out to the excel file and scroll through the whole lists to find what were are looking for.

Even if a rookie doesn't care to know the exact speed of a unit or its turret like the rest of us grognards, at least knowing the front/side/rear armour thickness, or even the simple VISION range of that unit would be a quick help to all amateurs.

Image
Please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please, please

Image
pipfromslitherine
Site Admin
Site Admin
Posts: 9862
Joined: Wed Mar 23, 2005 10:35 pm

Re: Unit Stats Menu

Post by pipfromslitherine »

LOL :)

Increasing data UI is on the list, we just need to get to it I'm afraid. I keep meaning to have a thread with the next 5 things we are planning to do, but we have slipped quite a lot on the iPad development schedule, and I am a little (a lot) behind.

Cheers

Pip
Verdugo8
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 20
Joined: Tue Jan 18, 2011 10:03 pm

Re: Unit Stats Menu

Post by Verdugo8 »

Thank you very much.

With knowledge that is documented on the task list it.
Let's see if we are lucky and have for the next patch ...
Thank you,
poop17
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 83
Joined: Fri Dec 24, 2010 5:56 am

Re: Unit Stats Menu

Post by poop17 »

I just want to say,I like this kitty~
Post Reply

Return to “Battle Academy”