Now supports Warband!IntroductionMany mod descriptions lack troop trees, since creating them is a boring and tedious process. Boring and tedious processes are great for automatisation, so I wrote a very simple program which creates very simple troop trees out of a "troops.txt" file.
Of course, the result can't be compared to the artistic work of a human being. But it's better than no troop trees at all and very easy to maintain after updating a mod.
DownloadWindows (212KB):
http://www.mbrepository.com/modules/PDdownloads/singlefile.php?cid=3&lid=1087UsageJust extract the two files from the download and a "troops.txt" in the same directory and run TroopTreeGenerator.exe.
The behaviour of the program is controlled by a config file called "TroopTreeGenerator.txt". You can open and edit it with any text editor.
Every configuration must be declared in the following form:
config name
{
...
}
The parameters "input" and "output" expect a relative or absolute path to the input/output files.
"renderer" determines the type of the file which should be created. Possible values are "html", "text" and "bbc". "bbc" creates bulletin board code, which can be directly used to create a post in this forum.
By changing the options "default_color", "ranged_color", "mounted_color" or "ranged_mounted_color" you can change the font color assigned to the troop types. The well known #RRGGBB format is used.
The next parameters "default_text", "ranged_text", "mounted_text" and "ranged_mounted_text" define the text for the different troop types. The following placeholders are available:
$NAME$
$NAME_PLURAL$
$ID$
$LEVEL$
$STRENGTH$
$AGILITY$
$INTELLIGENCE$
$CHARISMA$
$PROF_1H$
$PROF_2H$
$PROF_POLEARMS$
$PROF_ARCHERY$
$PROF_CROSSBOWS$
$PROF_THROWING$
$PROF_FIREARMS$
ExamplesMounted troops are red, ranged troops green and horse archers blue.
Star Wars Mod:
Timeless Kingdoms (1.011):
- Farmer
- Watchman
- Caravan Guard
- Mercenary Swordsman
- Mercenary Horseman
- Mercenary Crossbowman
- Maceman
- Townsman
- Watchman
- Caravan Guard
- Mercenary Swordsman
- Mercenary Horseman
- Mercenary Crossbowman
- Maceman
- Mercenary Raider
- Northern Raider
- Raider Scout
- Shal'tah Tribe Initiate
- Shal'tah Sword Maiden
- Shal'tah Spear Maiden
- Shal'tah Light Cavalier
- Shal'tah Pike Maiden
- Shal'tah Huntress
- Shal'tah Predator
- Shal'tah Matriarch
- Leheos Desert Warrior
- Tyrion Levy
- Tyrion Guard
- Tyrion Pikeman
- Tyrion First Guard
- Tyrion Harasser
- Tyrion Bowman
- Tyrion Invader
- Shahir Peasant
- Shahir Skirmisher
- Shahir Royal Skirmisher
- Shahir Horse Archer
- Shahir Infantry
- Shahir Lancer
- Shahir Royal Guard
- Shahir Sultan's Bodyguard
- Whitestone Hillman
- Whitestone Spearman
- Whitestone Warrior
- Whitestone Clan Champion
- Halvare Royal Guard
- Halvare Knight
- Whitestone Hurler
- Ironide Militiaman
- Ironide Crossbowman
- Ironide Heavy Crossbowman
- Ironide Clergyman
- Ironide Bishop
- Ironide Battle Cleric
- Ironide Inquisitor
- Southern Dynasty Peasant
- Yue Dao Militiaman
- Yue Dao Infantry
- Yue Dao Crossbowman
- Lao'Jin Swordsman
- Lao'Jin Pikeman
- Lao'Jin Archer
- Lao'Jin Assassin
- Ma-Wu Horse Archer
- Looter
- Mountain Bandit
- Forest Bandit
Native (1.011):
- Farmer
- Watchman
- Caravan Guard
- Mercenary Swordsman
- Mercenary Horseman
- Mercenary Crossbowman
- Townsman
- Watchman
- Caravan Guard
- Mercenary Swordsman
- Mercenary Horseman
- Mercenary Crossbowman
- Swadian Recruit
- Swadian Militia
- Swadian Footman
- Swadian Man at Arms
- Swadian Infantry
- Swadian Skirmisher
- Vaegir Recruit
- Vaegir Footman
- Vaegir Veteran
- Vaegir Horseman
- Vaegir Infantry
- Vaegir Skirmisher
- Khergit Tribesman
- Khergit Skirmisher
- Khergit Horseman
- Khergit Lancer
- Khergit Horse Archer
- Khergit Veteran Horse Archer
- Nord Recruit
- Nord Footman
- Nord Huntsman
- Rhodok Tribesman
- Rhodok Spearman
- Rhodok Crossbowman
- Rhodok Trained Crossbowman
- Looter
- Mountain Bandit
- Forest Bandit
- Bandit
- Brigand
- Mercenary Swordsman
Hundred Years War (0.960):
- French Paysan
- French Milicien
- French Homme d'Armes
- French Ecuyer
- French Fantassin
- French Homme de Traits
- English Peasant
- English Town Militia
- English Man-at-Arms
- English Horseman
- English Infantryman
- English Levy Spearman
- English Armored Sergeant
- English Billman
- English Peasant Archer
- English Yeomen Archer
- English Peasant Crossbowman
- Looter
- Mountain Bandit
- Forest Bandit
Hegemony 268 B.C. (0.960):
- Lugoae Levy
- Gaelaiche Spearman
- Botroas Swordsman
- Curepos Light Cavalry
- Solduros Elite Swordsman
- Gaeroas Skirmisher
- Komatai Skirmisher
- Getikoi Spearman
- Drapanai Falxman
- Mezenai Light Cavalry
- Hippotoxotai Horse Archer
- Phylakes Bodyguard Cavalry
- Sphendonetai Slinger
- Gaizoz Frije Levy
- Chauci Spearman
- Dugunthiz Spearman
- Speutagard
- Thegnoz Drugule
- Ridanz Light Cavalry
- Marhathegnoz Heavy Cavalry
- Jugunthiz Skirmisher
- Poeni Militia
- Libyan Spearman
- Libyan Heavy Spearman
- Iberian Infantry
- Liby-Phoenician Infantry
- Sacred Band Infantry
- Libyan Pikeman
- Poeni Cavalry
- Balearic Slinger
- Hellenic Levy Hoplite
- Light Hoplite
- Hoplite
- Traditional Hoplite
- Iphikratous Hoplite
- Hellenic Hippakontistai Cavalry
- Hellenic Akontistai
- Ptolemaic Pantodapoi
- Ptolemaic Akontistai
- Ptolemaic Hippakontistai Cavalry
- Ptolemaic Toxotes
- Machimoi Phalangite
- Ptolemaic Thureophoros
- Galatian Swordsman
- Machimoi Hippeis Cavalry
- Ptolemaic Hetairoi Xystophoros
- Ptolemaic Pezhetairoi
- Klerouchikon Agema Phalangite
- Seleucid Pantodapoi
- Seleucid Pantodapoi Phalangite
- Seleucid Pezhetairoi
- Seleucid Thorakites
- Thorakites Hypaspistes
- Median Hippeis
- Seleucid Hellenic Kataphraktos
- Seleucid Hetairoi Xystophoros
- Seleucid Akontistai
- Eastern Hippakontistai
- Persian Toxotes
- Macedonian Levy Hoplite
- Macedonian Levy Phalangite
- Macedonian Thureophoros
- Macedonian Hypaspistes
- Macedonian Hippeis Cavalry
- Thessalian Hippeis
- Macedonian Hetairoi Xystophoros
- Macedonian Pezhetairoi
- Macedonian Akontistai
- Thracian Peltast
- Macedonian Toxotes
- Light Spearman
- Sarmatian Rider
- Roxolani Rider
- Aorsi Horse Archer
- Aorsi Noble Cavalry
- Aorsi Noble Horse Archer
- Scythian Foot Archer
- Scythian Horse Archer
- Scythian Axeman
- Lovamann Levy Skirmisher
- Milites Light Spearman
- Scortamareva Heavy Spearman
- Caetrati Medium Infantry
- Scutari Heavy Infantry
- Curisi Medium Cavalry
- Iberi Velite Skirmisher
- Caetrati Skirmisher Cavalry
- Cantabrian Skirmisher Cavalry
- Cantabrian Axeman
- Bandit
- Brigand
- Mercenary Samnite Swordsman
- Forest Bandit
- Mercenary Samnite Swordsman
Known ProblemsBecause of a change in the structure of "troops.txt", which is not reflected in a change of the version number of this file, only data from versions >= 0.960 is currently usable.
CreditsCredits go to HokieBT (and therefore indirectly to Jordan) and his Troop Editor, which made reengineering "troops.txt" a matter of minutes.