preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Sep 20, 2018, 08:47:02 am
 Mount&Blade Repository » Modding Tools » SonKidd's Multiplayer Troop Item 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: SonKidd's Multiplayer Troop Item Generator
Last Updated: Oct 06, 2011, 06:43:59 pm
File version: 0.9b
For M&B version: Multiple
Downloads: 822 Size: 169.3 KB
Views: 2,702 Type: ZIP
Home:  Visit Homepage
Rating (1 votes): 5.0 / 5.0
Description
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.
*Please note that it does not generate the 'item_set_slot' lines; hence, if you don't add them manual, but just add the generate lines of codes to items that haven't been assigned to a slot, the game will crash*
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.

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.

Forum Topic:
Post bugs, comments, suggestions here:
http://forums.taleworlds.com/index.php/topic,197856.0.html
Commands
More From This Author
Comments
IP: logged
 SonKidd's Multiplayer Troop Item Ge (v 0.9b)  » posted by The Specialist on Oct 12, 2011, 03:34:54 pm
Nice work SonKidd. I owe you one.
Btw, it does work with WFAS, but I'm not sure how well (since I only tested with the WFAS demo)
IP: logged
 Re: SonKidd's Multiplayer Troop Item Ge (v 0.9b)  » posted by SonKidd on Oct 12, 2011, 04:30:35 pm
The Specialist wrote:
Nice work SonKidd. I owe you one.
Btw, it does work with WFAS, but I'm not sure how well (since I only tested with the WFAS demo)
thanks!
HomeSearchRankingsStatisticsAboutContact

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