Changes between Version 20 and Version 21 of Ticket #2048


Ignore:
Timestamp:
Aug 10, 2013, 3:27:47 PM (11 years ago)
Author:
sanderd17
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2048 – Description

    v20 v21  
    11I have a patch for Aura implementation.
     2
     3The main patch, auras.diff, contains the other patches combined.
    24
    35'''Main JS changes'''
     
    57It works basically as ranged-based technologies. So you can edit every template value you want (at least the ones prepared for technologies).
    68
    7 I also made an AuraManager, basically, that keeps track of all the added bonuses to units in auras. A bit like the TechnologyManager. 
     9I also made an AuraManager, basically, that keeps track of all the added bonuses to units in auras. A bit like the TechnologyManager.
    810
    911The auras themselves can also be changed by technologies (f.e. a technology to enlarge the healing range of a temple). Recalculating all auras isn't a very cheap operation though, so it's best to not change auras too often.
    1012
    1113As the changes depend on things needed by the technologyManager, some stuff isn't yet ready to be changeable:
    12 * Motion speeds can't be changed (at least I've found no way how). They probably aren't updated during the game
    13 * Automatic heal or damage aura (= negative healing) can't work until the Health/RegenRate is implemented
    14 * TraderGain isn't implemented yet
     14
     15 * Motion speeds can't be changed (at least I've found no way how). They probably aren't updated during the game
     16 * Automatic heal or damage aura (= negative healing) can't work until the Health/RegenRate is implemented
     17 * TraderGain isn't implemented yet
    1518
    1619The JS changes do introduce a system component. So when applying the JS patch, a quick compile is needed.
     
    2023'''cpp changes'''
    2124
    22 I switched the cpp interface to use the same functions as the JS interface. '''This does require a clean_workspaces'''. 
     25I switched the cpp interface to use the same functions as the JS interface. '''This does require a clean_workspaces'''.
    2326
    2427The cpp changes aren't big, but it takes a long time to compile
     
    8891iber_hero_caros.xml > Aura TBD
    8992
    90 iber_hero_indibil.xml > Aura TBD
    91  
    92 iber_hero_variato.xml > Aura TBD
     93iber_hero_indibil.xml > Aura TBD    iber_hero_variato.xml > Aura TBD
    9394
    94 mace_hero_alexander.xml > moved template to hele_hero_alexander + 25% extra territory
     95mace_hero_alexander.xml        > moved template to hele_hero_alexander + 25% extra territory
    9596
    9697mace_hero_craterus.xml > moved template to hele_hero_craterus
    9798
    98 mace_hero_demetrius.xml > moved template to hele_hero_demetrius
     99mace_hero_demetrius.xml        > moved template to hele_hero_demetrius
    99100
    100101mace_hero_philip.xml > moved template to hele_hero_philip
     
    120121rome_hero_scipio.xml > "Divide et Impera" Special (He has the ability to convert enemy units en masse at a great cost of metal).
    121122
    122 spart_hero_agis.xml > "Last Stand" bonus. Has triple the Health of most infantry heroes. No other bonuses or auras. 
     123spart_hero_agis.xml > "Last Stand" bonus. Has triple the Health of most infantry heroes. No other bonuses or auras.
    123124
    124125spart_hero_brasidas.xml > +2 pierce attack and +3 pierce armour for nearby skirmishers