The Blind King of Bohemia
11-07-2006, 00:40
If you go on TWC and look in the Medieval II modding forums some guy has put up the text files in the Imperial Campaign for download. This is what is available to you:
; pool --> name of mercenary pool
; regions --> list of regions belonging to pool
; unit --> name of mercenary unit
; --> exp X --> experience level of mercenary unit
; --> cost X --> cost to recruit mercenary unit
; --> replenish X - X --> upper and lower bounds on pool replenishment rate
; --> max X --> maximum pool size for unit
; --> initial X --> initial pool size for unit
; --> {optional} start_year X --> year that unit becomes available {0 indicates no set start year}
; --> {optional} end_year X --> last year that unit will be available {0 indicates no set end year}
; --> {optional} religions { A B C } --> list of faction religions unit is available for {no entries indicates available for all religions}
; --> {optional} crusading --> {requires one religion to have been specifed} unit only available to crusading/jihad armies
; --> {optional} events { A B C} --> unit only available after all specified events have occurred, event is a string corresponding to descr_events.txt
And here's an example of a pool from the Mercenaries file:
pool Burgundy
regions Dijon_Province Metz_Province Rheims_Province
unit Mercenary Frankish Knights exp 0 cost 1080 replenish 0.01 - 0.06 max 1 initial 0 end_year 1300 religions { catholic orthodox }
unit Mercenary German Knights exp 0 cost 950 replenish 0.01 - 0.06 max 1 initial 0 start_year 1300 end_year 1500 religions { catholic orthodox }
unit Landschneckt Pikemen exp 0 cost 530 replenish 0.04 - 0.13 max 2 initial 0 start_year 1470 religions { catholic orthodox }
unit Mercenary Crossbowmen exp 0 cost 860 replenish 0.04 - 0.13 max 2 initial 1 end_year 1300
unit Mercenary Pavise Crossbowmen exp 0 cost 930 replenish 0.04 - 0.13 max 2 initial 0 start_year 1300 end_year 1480
unit Mercenary Arquebusiers exp 0 cost 830 replenish 0.04 - 0.13 max 2 initial 0 start_year 1400 events { gunpowder_discovered }
unit Mercenary Spearmen exp 0 cost 660 replenish 0.04 - 0.13 max 2 initial 1 end_year 1400
unit Free Company Longbowmen exp 0 cost 930 replenish 0.02 - 0.07 max 1 initial 0 start_year 1338 end_year 1470
unit Free Company Men at Arms exp 0 cost 710 replenish 0.02 - 0.07 max 1 initial 0 start_year 1338 end_year 1470
unit Pilgrims exp 0 cost 35 replenish 0.18 - 0.5 max 4 initial 1 religions { catholic } crusading
unit Crusader Knights exp 0 cost 220 replenish 0.08 - 0.17 max 2 initial 1 end_year 1300 religions { catholic } crusading
unit Crusader Sergeants exp 0 cost 110 replenish 0.08 - 0.17 max 2 initial 1 end_year 1300 religions { catholic } crusading
unit Swiss Pikemen Mercs exp 0 cost 690 replenish 0.04 - 0.13 max 2 initial 0 start_year 1400
The dates I assume will apply to normal trained units as well, which is fantastic, much better than early, high and late and great news for modders. This was a question I wanted ER to ask CA but it looks like they already listened, great stuff.
; pool --> name of mercenary pool
; regions --> list of regions belonging to pool
; unit --> name of mercenary unit
; --> exp X --> experience level of mercenary unit
; --> cost X --> cost to recruit mercenary unit
; --> replenish X - X --> upper and lower bounds on pool replenishment rate
; --> max X --> maximum pool size for unit
; --> initial X --> initial pool size for unit
; --> {optional} start_year X --> year that unit becomes available {0 indicates no set start year}
; --> {optional} end_year X --> last year that unit will be available {0 indicates no set end year}
; --> {optional} religions { A B C } --> list of faction religions unit is available for {no entries indicates available for all religions}
; --> {optional} crusading --> {requires one religion to have been specifed} unit only available to crusading/jihad armies
; --> {optional} events { A B C} --> unit only available after all specified events have occurred, event is a string corresponding to descr_events.txt
And here's an example of a pool from the Mercenaries file:
pool Burgundy
regions Dijon_Province Metz_Province Rheims_Province
unit Mercenary Frankish Knights exp 0 cost 1080 replenish 0.01 - 0.06 max 1 initial 0 end_year 1300 religions { catholic orthodox }
unit Mercenary German Knights exp 0 cost 950 replenish 0.01 - 0.06 max 1 initial 0 start_year 1300 end_year 1500 religions { catholic orthodox }
unit Landschneckt Pikemen exp 0 cost 530 replenish 0.04 - 0.13 max 2 initial 0 start_year 1470 religions { catholic orthodox }
unit Mercenary Crossbowmen exp 0 cost 860 replenish 0.04 - 0.13 max 2 initial 1 end_year 1300
unit Mercenary Pavise Crossbowmen exp 0 cost 930 replenish 0.04 - 0.13 max 2 initial 0 start_year 1300 end_year 1480
unit Mercenary Arquebusiers exp 0 cost 830 replenish 0.04 - 0.13 max 2 initial 0 start_year 1400 events { gunpowder_discovered }
unit Mercenary Spearmen exp 0 cost 660 replenish 0.04 - 0.13 max 2 initial 1 end_year 1400
unit Free Company Longbowmen exp 0 cost 930 replenish 0.02 - 0.07 max 1 initial 0 start_year 1338 end_year 1470
unit Free Company Men at Arms exp 0 cost 710 replenish 0.02 - 0.07 max 1 initial 0 start_year 1338 end_year 1470
unit Pilgrims exp 0 cost 35 replenish 0.18 - 0.5 max 4 initial 1 religions { catholic } crusading
unit Crusader Knights exp 0 cost 220 replenish 0.08 - 0.17 max 2 initial 1 end_year 1300 religions { catholic } crusading
unit Crusader Sergeants exp 0 cost 110 replenish 0.08 - 0.17 max 2 initial 1 end_year 1300 religions { catholic } crusading
unit Swiss Pikemen Mercs exp 0 cost 690 replenish 0.04 - 0.13 max 2 initial 0 start_year 1400
The dates I assume will apply to normal trained units as well, which is fantastic, much better than early, high and late and great news for modders. This was a question I wanted ER to ask CA but it looks like they already listened, great stuff.