Tested this for 0.808 and it seems to work perfectly. But I haven`t modified it so it might not fully support new item flags etc.
Worksheet and export script for Items
This is an Open Office "Excel" Worksheet where you will have to export all individual sheets (Sword, Axe etc) to a csv file. There is also a "global variables" sheet where you can set a multiplier and exponent for stats, for example damage stats. Ex: Damage_multiplier*[Swing damage]^Damage_exponent.
Why use this:
itemsworksheet.zip - 0.01MB
(even though there is a new version coming up every second, there is nothing wrong with making the OpenOffice file, as it will probably be quite similar.)
A Python script
Which will give you this:
http://www.openoffice.org/
Worksheet and export script for Items
This is an Open Office "Excel" Worksheet where you will have to export all individual sheets (Sword, Axe etc) to a csv file. There is also a "global variables" sheet where you can set a multiplier and exponent for stats, for example damage stats. Ex: Damage_multiplier*[Swing damage]^Damage_exponent.
Why use this:
- Nice table of items instead of Python arrays and tuples.
- Less error phrone adding items (assuming my script is bugfree).
- Nice sorting functions, output funcitonality, formulas etc in OpenOffice.
itemsworksheet.zip - 0.01MB
(even though there is a new version coming up every second, there is nothing wrong with making the OpenOffice file, as it will probably be quite similar.)
A Python script
Which will give you this:
OpenOffice Worksheet with Pyhon export script for items in Mount & Blade Official Module System
Author: Scion
------------------------------------------------------------------------------------------------
Tested with:
- Mount & Blade 0.751
- OpenOffice.org 1.1.3 (Norwegian version)
- Python 2.5
------------------------------------------------------------------------------------------------
Conditions:
No conditions, except that if you redistribute this in any way, please include me in the credits somehow.
------------------------------------------------------------------------------------------------
Instructions:
1) Export worksheets in "Items.sxc" to the following files:
Axes.csv
BodyArmor.csv
Global.csv
Helmets.csv
Horses.csv
Polearms.csv
Ranged.csv
Shields.csv
Swords.csv
The script needs all files to be there.
When exporting to .csv, choose ";" as column separator and empty field for text.
2) Run generateOutput.py
3) Copy from "items.txt" into module_items.py in your ModuleSystem folder.
------------------------------------------------------------------------------------------------
Notes:
- The examples together with the instructions in module_items.py should pretty much explain what is going on.
- Boolean fields: "1" denotes true, all other values will denote false.
- Lines beginning with "-" in the first column are considered as comments and will not be in the output.
- All letters in the fields will be converted to lower-case letters.
- The two upper rows will be skipped by the export script. Use this for variables used in formulas etc.
- Global variables works on stats the following way: Multiplier*([stat]^Exponent)
They are intended to be a quick way to try new balancing features. More advanced formulas can easily be done in OpenOffice.
- Note the nice "export to html" feature in OpenOffice for a nice overview.
http://www.openoffice.org/