preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Jun 21, 2018, 08:25:52 am
 Mount&Blade Repository » Modding Tools » kt0's item scripts v0.51
      
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: kt0's item scripts v0.51
Last Updated: Mar 21, 2009, 04:56:13 pm
File version: 0.51
For M&B version: N/A
Downloads: 2,126 Size: 12.2 KB
Views: 5,309 Type: ZIP
Rating (1 votes): 4.0 / 5.0
Description
The intent of this utility is to allow people to more easily manage item data in the module system. You will need the Ruby scripting language installed. You can download Ruby at http://www.ruby-lang.org.

The zipfile contains two scripts. items2csv.rb is a Ruby script that parses the item_kinds1.txt file and generates a CSV file that can be loaded into your favorite spreadsheet. csv2tuples.rb is a script that takes the CSV file generated by items2csv.rb and generates a list of tuples that can be copy & pasted into module_items.py.


To use items2csv.rb:
- change source_file to point at your item_kinds1.txt file
- change dest_file to point at the file you want to dump the item data to
- run items2csv.rb from a command line

To use csv2tuples.rb:
- generate a proper CSV file with items2csv.rb
- change source_file to point at your proper CSV file
- change tableau_src to point at your ID_tableau_materials.py file in your module source
- change dest_file to point at the file you want to dump your tuple data to
- run csv2tuples.rb from a command line
Commands
More From This Author
Comments
IP: logged
 kt0's item scripts v0.51 (v 0.51)  » posted by Marcolino on Feb 23, 2011, 09:15:15 pm
this is a great tool! great work! :-)
HomeSearchRankingsStatisticsAboutContact

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