preload button hover image:
Current Time: Dec 16, 2018, 12:48:06 pm
 Mount&Blade Repository » Modding Tools » Troop Tree Generator
Registration is not required to download. However, it will allow you to vote, comment, and request upload access. Forgot your password?
View this file on the M&B NexusFile Listing: Troop Tree Generator
Last Updated: May 29, 2010, 10:08:25 am
First Created: Jan 29, 2009, 01:29:12 pm
File version: 10.05.29
For M&B version: Multiple
Downloads: 3,191 (5,555) Size: 268 KB
Views: 13,524 (16,525) Type: ZIP
Home:  forum thread at taleworlds
Rating (1 votes): 5.0 / 5.0
Supports Warband since version 10.05.29


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


Just 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:



Known Problems

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


Credits go to HokieBT (and therefore indirectly to Jordan) and his Troop Editor, which made reengineering "troops.txt" a matter of minutes.
More From This Author
No comments have been posted for this file yet.

Hosted by Hypernia.
Website © 2018 FenriSoft. The core site script is PHCDownload (© 2005-2018).