Jump to content

EMontana

Community Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by EMontana

  1. 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

    http://trac.wildfire...com/ticket/1721

  2. 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

    82XdSl.jpg

  3. 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.

×
×
  • Create New...