Commanders v.1.0 beta fix 1 Description This modcomp gives GGs a new function: increase abilities of other units in the stack. Each time any unit wins a battle, GG standing on its plot receives XP. He gets levels and obtains promotions as ordinary units do, but his promotions affect all units in his stack. See pictures below for clearness. Here is an army headed by the great general with a few promotions: Jaguar warrior receives +3% combat strength from the great general's promotions: Commander gets experience when units of his army win battles. he also has a limited control points, this mean that no more than [control points] units will receive commander's boost during a game turn. control points are being restored to their maximum value each next turn. Commander gets levels and can obtain various promotions increasing your army's strength: If there are 2 and more GGs on a plot, only one will receive XP (more skilled one). Commanders (Great Generals) have 2 abilities: control points that were mentioned above, and command range. Command range is a minimal distance between commander and some unit required for this unit to take commander's bonuses. Commander starts with zero command range, this mean he can boost only those units standing on the same plot with him. Command range can be expanded by taking certain promotions. In this mod there are 17 commander promotions (but you can easily add more by editing PromotionInfos): Spoiler : Operations I: +1 command range, +5 control points Operations II: +1 command range, +5 control points Operations III: +1 command range, +5 control points, +5% heal in neutral lands Operations IV: +10 control points, +5% heal in enemy lands Morale I: +2% to combat strength Morale II: +3% to combat strength Morale III: +4% to combat strength Morale IV: +5% to combat strength Morale V: +6% to combat strength Tactics I: +5% to withdrawal chanse Tactics II: +5% to withdrawal chanse Tactics III: +5% to withdrawal chanse Tactics IV: +10% to withdrawal chanse Initiative I: +1 first strike chanses Initiative II: +1 first strike chanses Initiative III: +1 first strike chanses Initiative IV: +1 first strike chanses, continues attack while at full Promotion tree: There is a possibility to add a wide variety of promotions if you want as far as most of possible abilities are supported by commander promotions. List of supported abilities: Spoiler : visiblity range extra moves move discount air range intercept evasion first strikes chanse first strikes withdrawal collateral damage bombard rate enemy heal neutral heal friendly heal combat city attack city defense hills attack hills defense domain modifier (e.g. -50 for bombers vs sea units) terrain attack (e.g. desert) terrain defense feature attack (e.g. forest) feature defense unitcombat modifier (vs unitclass promos) This mod also includes Defender Withdrawal modcomp: units with withdrawal ability can escape combat while defending (as well as in attack). Drill promotions also were modded to increase withdrawal chanse. Sources In CvGameCoreDLL source files changes are marked with //@MOD Commanders and //@MOD DWM (for defender withdrawal modcomp) comments. Changes to XML are marked with <!-- @MOD Commanders --> comment. Changes to Python are marked with #@MOD Commanders comment. About this release It's a beta version of modcomp, so there could be bugs i've missed. please let me know if you notice some. Thanks KJ Jansson for fixing buttons gaphics! Bug leading to CTD when attaching GG to a unit (tracked by PieceOfMind) was fixed. Promotion tree was developed. Initiative IV effect was changed. Download You can download it here (1.25 Mb).