Unit Stats mod: learn the stats of your veterans!

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
dwarftough
Posts: 492
Joined: August 4th, 2019, 5:27 pm
Contact:

Unit Stats mod: learn the stats of your veterans!

Post by dwarftough »

The mod that everybody seemed to ask but nobody cared to make...

Ever wondered how many orcs were killed by your favourite veteran? Or wanna check out how much damage he or she inflicted to your enemies over their service in your ranks? Now it's possible with Unit Stats! Adds a menu item that allows you to view per-unit statistics. Both for SP and MP.

Right now it's like the first version, so your feedback on which stats are missing/excessive, how to improve UI is highly appreciated.

Also report asap in case of any bugs or incompatibility caused by this mod. My aim is to make it as compatible as possible with most of game modes, scenarios, campaigns.
f9884caba652dd42.png
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
User avatar
Heindal
Posts: 1366
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Unit Stats mod: learn the stats of your veterans!

Post by Heindal »

Wow, that's a cool idea.
Worth to add it to the core.

The stats look good, you might add the number of dodged and successful attacks.
Maybe you could even give awards for the highest damage inflicted for all units.

But these are just ideas, you don't have to pull them off.

Toodeloo!
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
dwarftough
Posts: 492
Joined: August 4th, 2019, 5:27 pm
Contact:

Re: Unit Stats mod: learn the stats of your veterans!

Post by dwarftough »

Heindal wrote: February 25th, 2024, 8:35 am The stats look good, you might add the number of dodged and successful attacks.
I guess stats about attacks on the screen (times hit/times dodged) are exactly that? Maybe they are worded in a bit off way
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
User avatar
Atreides
Posts: 1090
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: Unit Stats mod: learn the stats of your veterans!

Post by Atreides »

I think it's great. I'm a bit of a "stat-nerd".
dwarftough
Posts: 492
Joined: August 4th, 2019, 5:27 pm
Contact:

Re: Unit Stats mod: learn the stats of your veterans!

Post by dwarftough »

Unit Stats 1.1.1 update has been released on the 1.16 and 1.18 addon server!

Changelog:
  • the mod's menu item no longer synced so should not affect the undo stack
  • now the mod shows the total count of enemies killed by your unit
  • fixed errors in viewing stats if some scenario event prevented the mod from a correct stats fixation (Konrad2's pass of "Dirty Blood" was particularly helpful to highlight the problem)
  • fixed "second_unit contains no unit data" error if the unit that made a kill killed themselves in a scenario event
Report any error here or me in pm, also feel free to post feedback and suggestion (for example I thought about adding "in which scenario the unit joined us" stat, but unsure if it's worth it)
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
User avatar
Straff
Posts: 94
Joined: September 27th, 2020, 2:53 pm

Re: Unit Stats mod: learn the stats of your veterans!

Post by Straff »

Thank you for this great modification. :D
Like Heindal I wish it would be added to the Wesnoth core. :eng:
Maybe you should start a poll to see if several players want this? :hmm:
Or maybe someone could open a pull request? :whistle:
dwarftough
Posts: 492
Joined: August 4th, 2019, 5:27 pm
Contact:

Re: Unit Stats mod: learn the stats of your veterans!

Post by dwarftough »

Straff wrote: May 26th, 2024, 4:07 pm Thank you for this great modification. :D
Like Heindal I wish it would be added to the Wesnoth core. :eng:
Maybe you should start a poll to see if several players want this? :hmm:
Or maybe someone could open a pull request? :whistle:
Thank you for your praise! To be honest, I've started thinking about proposing this modification to mainline. The thing that bothers me personally with it is current UI/UX, it's pretty simplistic rn because I haven't really known how to make better UI when started the mode
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
User avatar
Straff
Posts: 94
Joined: September 27th, 2020, 2:53 pm

Re: Unit Stats mod: learn the stats of your veterans!

Post by Straff »

dwarftough wrote: May 28th, 2024, 8:11 am Thank you for your praise! To be honest, I've started thinking about proposing this modification to mainline. The thing that bothers me personally with it is current UI/UX, it's pretty simplistic rn because I haven't really known how to make better UI when started the mode
I don’t think this is a problem. The modification works, it is useful, the players are interested in it (this is shown by the download numbers). Let's add the feature to the game core, the UI/UX can still be improved later (maybe by someone else) if desired. :)
Post Reply