Unit stats calculator

Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Unit stats calculator

  • Quote

Post by andrewgs »

I've started writing a unit stats calculator using the game files. Select a civ and unit, then click techs/cards and see the stats change.

https://andrewgsavage.github.io/aoe3_damage_calc/

It's very much a WIP, so if you click a tech and nothing happens it's because I haven't set up one of the effects of a tech (like the Spanish lancer range card). Deselect the tech and it should keep working.
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Unit stats calculator

Post by Cocaine »

This is the greatest aoe tool I have seen since villiger and eco upgrades gather rates. Nice job!
A little Cocaine never hurt nobody!

Image
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

Added the remaining civs, team cards and native techs.
User avatar
United States of America Cry4447
Crossbow
Donator 01
Posts: 29
Joined: Mar 23, 2015
ESO: Cry4447

Re: Unit stats calculator

Post by Cry4447 »

assuming i am not blind, i dont see grenadiers
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Unit stats calculator

Post by Cocaine »

Give the man a break hes been at it for a month and a half
A little Cocaine never hurt nobody!

Image
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

Cry4447 wrote:assuming i am not blind, i dont see grenadiers
try again now
Great Britain InsectPoison
Lancer
Posts: 970
Joined: Mar 6, 2016

Re: Unit stats calculator

Post by InsectPoison »

This is awesome
Image
Image
Image
France iNcog
Ninja
Posts: 13319
Joined: Mar 7, 2015

Re: Unit stats calculator

Post by iNcog »

Incredibly clean and useful tool!
YouTube: https://www.youtube.com/incog_aoe
Garja wrote:
20 Mar 2020, 21:46
I just hope DE is not going to implement all of the EP changes. Right now it is a big clusterfuck.
User avatar
United States of America Cry4447
Crossbow
Donator 01
Posts: 29
Joined: Mar 23, 2015
ESO: Cry4447

Re: Unit stats calculator

Post by Cry4447 »

andrewgs wrote:
Cry4447 wrote:assuming i am not blind, i dont see grenadiers
try again now
thanks for adding them :)
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

  • Quote

Post by andrewgs »

Updated it to have a second unit selection, and calculate damage, multipliers, resists, effective damage and shots to kill.

I noticed it's not applying royal guard ups correctly. Also note I haven't updated the game data files it uses since the first post here.
No Flag ssaraf
Dragoon
Posts: 208
Joined: Jun 19, 2015
ESO: robinhood_xing

Re: Unit stats calculator

Post by ssaraf »

Can u add the desciption of cards as it appears in the game ?

E.g : Cavalry Combat ==> Increases attack and hitpoints of hand cavalry by 15% (or whatever the exact text appears for this card).

btw ==> nice tool :smile:
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

idk where that description is stored in the game files. So maybe, but seems effort for little gain when clicking the card would show the hp and attack rise 15%
France Le Hussard sur le toit
Howdah
Posts: 1149
Joined: Oct 16, 2019
ESO: LeHussardsurletoit

Re: Unit stats calculator

Post by Le Hussard sur le toit »

andrewgs wrote:Updated it to have a second unit selection, and calculate damage, multipliers, resists, effective damage and shots to kill.

I noticed it's not applying royal guard ups correctly. Also note I haven't updated the game data files it uses since the first post here.
I wish I could like this twice.
ESOC : came for the game, stayed for the drama.
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Unit stats calculator

Post by Cocaine »

Before we all throw in requests which are granted to turn this program into an even bigger masterpiece, lets all legit thank this dude for doing this. This is legit the best tool for aoe3 I have seen ever.. Like I'm still shocked that this was never made before.

To the creator of this program, please fix all bugs :) and you will truly have created a masterpiece.. <3
A little Cocaine never hurt nobody!

Image
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

Added america
User avatar
Canada Cocaine
Lancer
Posts: 771
Joined: Dec 6, 2015
ESO: Cow God
Location: Your mothers room

Re: Unit stats calculator

Post by Cocaine »

andrewgs wrote:Added america
lol champ
A little Cocaine never hurt nobody!

Image
Vietnam duckzilla
Jaeger
Posts: 2497
Joined: Jun 26, 2016

Re: Unit stats calculator

Post by duckzilla »

Thanks for the update of the stats calculator.

I noticed a potential bug. When I select British musketeers and further select all upgrades + cards that British can send, the final result is a unit with 330hp as opposed to 375hp that a fully upped Red Coat should have. I think that the Royal Guard upgrade only adds +10% hp/dmg instead of +40% hp/dmg. Am I doing something wrong?
Whatever is written above: this is no financial advice.

Beati pauperes spiritu.
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

andrewgs wrote: I noticed it's not applying royal guard ups correctly. Also note I haven't updated the game data files it uses since the first post here.
duckzilla wrote:Thanks for the update of the stats calculator.

I noticed a potential bug. When I select British musketeers and further select all upgrades + cards that British can send, the final result is a unit with 330hp as opposed to 375hp that a fully upped Red Coat should have. I think that the Royal Guard upgrade only adds +10% hp/dmg instead of +40% hp/dmg. Am I doing something wrong?
Fixed
Colombia dyreck000
Crossbow
Posts: 4
Joined: Apr 17, 2018
ESO: dyreck000

Re: Unit stats calculator

Post by dyreck000 »

cool and usefull tool. thanks for design it.
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

made it work for double armor so for all the lifidi comparisons atm

just don't compare to cuirs, haven't got shadowtechs working nicely and I don't really want to manually add every shadowtech.
Hungary tim_retek
Crossbow
Posts: 19
Joined: May 25, 2020
ESO: tim_retek

Re: Unit stats calculator

Post by tim_retek »

Oh just noticed that you've done all the new stuff too. Just started DE i dont know anything about african civs this will be super useful for me thanks! <3
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

andrewgs wrote:
18 Feb 2022, 17:18
made it work for double armor so for all the lifidi comparisons atm

just don't compare to cuirs, haven't got shadowtechs working nicely and I don't really want to manually add every shadowtech.
added shadowteching techs

although cuirs don't have it in the same place as skirms/goons/africa units so had to hardcode it. wonder if there's any other similar shadowtechs I'll have missed
Italy hellpunch
Crossbow
Posts: 15
Joined: Jul 15, 2022

Re: Unit stats calculator

Post by hellpunch »

Hello, can you briefly write a small explanation of how you got some of the techs that aren't directly written for the civ in the xml in the civ 'section' but the civ can get it anway, also can you update last patch?
Great Britain andrewgs
Skirmisher
Posts: 102
Joined: Dec 15, 2020

Re: Unit stats calculator

Post by andrewgs »

they're unlocked by other techs, so either add the other techs as you find missing techs, see here for the ones i found https://github.com/andrewgsavage/andrew ... main.js#L4
maybe add techs from cards then do a recursive search for techs that unlock techs

added hp/attack auras
User avatar
Germany aligator92
Howdah
Posts: 1519
Joined: Feb 27, 2015
ESO: aligator92

Re: Unit stats calculator

Post by aligator92 »

First time I am seeing this. It is lovely. Thank you for your effort!

Who is online

Users browsing this forum: No registered users and 0 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV