EMontana
-
Posts
9 -
Joined
-
Last visited
Posts posted by EMontana
-
-
I can't login to Trac since a while. I have tried it several times in different browsers.
-
I think you can get the cost of a killed unit in StatisticsTracker.KilledEntity this way:
var cmpCost = Engine.QueryInterface(targetEntity, IID_Cost);
var costs = cmpCost.GetResourceCosts();
Thanks, that is what I've been looking for!
We now have 4 new counters in StatisticsTracker.js:
- unitsLostValue
- enemyUnitsKilledValue
- buildingsLostValue
- enemyBuildingsDestroyedValue
And a new tab in post-game summary screen named "Score", wich shows:
- economy score
- military score
- technology score
- total score
-
-
What about units regenerate health when they are in their own territory?
-
Thanks, I'll take a look in the AI scripts.
To answer your question. I think it should count what the enemy actually paid for the unit, since we want to know how many of the enemy's recources we have destroyed.
But for now I will stick to the original cost.
Regards
-
Hello,
I'm new here and I would like to participate in some game details, especially on the post-game summary screen.
Currently working on a simple score system as described in another topic:
([Total number of resources ever gathered] + [enemy units and buildings destroyed in resource value] + [percentage map explored]) / divisor
I'm stuck at the second part:
[enemy units and buildings destroyed in resource value]
There is no such information in simulation/components/StatisticsTracker.js
Since I'm not a experienced programmer, is there anyone who know how to do this?
Regards
-
In Age of Empires 2:
Military score is 20% of the resource value (cost) of all enemy units and buildings each player destroyed or converted.
Economy score is 10% of all resources each player currently has or has paid in tribute, plus 20% of the resource value of surviving units and standing buildings (except Castles or Wonders).
Technology score is 20% of the resource value of every technology each player has researched, plus 10 points for every 1% of the map explored.
Society score is 20% of the cost of the Castles and Wonders each player has constructed.
Total Score is the overall total of each player's Military, Economy, Technology, and Society scores.
Server issues
in Help & Feedback
Posted
Can someone fix this?