Multiplayer Troop Item Generator

From Mount&Blade Modding Wiki
Jump to: navigation, search

Contents

[edit] What it does:

For those who have made new multiplayer troops, you must have tried copy and pasting tens of lines of Code:

(call_script, "script_multiplayer_set_item_available_for_troop", "itm_id", "trp_id"),


So I just wrote a small Java application that parses in your item_kinds1.txt files, then after you input your troop name and select it's items you want it will automatically generate the required python code.

Remember to back-up your module system from time to time - it's hard to imagine this utility doing any serious damage to any module - but I hold no responsibility if it does :P.

[edit] Who is this for:

Super lazy modders who need to add multiplayer troops. It is only tested with MB: Warband. I have no experience in WFAS modding whatsoever and have no idea if the code is the same. Note that this is only an utility, it does not add multiplayer troops - to do this you need to do it manually in the python code - it only automates the small step of allowing player to choose what weapons when being a specific multiplayer troop type. If you have no idea what I'm talking about, this tool isn't for you.

[edit] Links

Download: http://www.mbrepository.com/file.php?id=3292
Discussions: http://forums.taleworlds.com/index.php/topic,197856.0.html

[edit] Credits

By Sonkidd

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox