Difference between revisions of "HowTo:Add Upgrades"
(stub for navbar continuity) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
}} | }} | ||
---- | ---- | ||
− | == | + | =Adding Upgrades= |
− | {{ | + | |
+ | {{FIXME}} ''This description is incomplete, please expand it as necessary!'' | ||
+ | |||
+ | ==Required Files== | ||
+ | |||
+ | {{warning_text | | ||
+ | | text=Please note that Microsoft Office tools and Windows tools in general (like Windows Notepad) alter the csv files invisibly by adding hidden characters. We also don't recommend Open Office Calc for csv editing, as this tool adds unwanted characters, like the apostrophe to some fields. '''This can render the files unusable and even corrupt your entire game.''' For editing csv files, we recommend a text based editor, e.g. the libre [http://notepad-plus-plus.org/ Notepad++], which keeps the required format across Windows and Linux.}} | ||
+ | |||
+ | |||
+ | |||
+ | The following file must be edited with a text editor: | ||
+ | * [http://vegastrike.svn.sourceforge.net/viewvc/vegastrike/trunk/data/units/units.csv?revision=HEAD&view=markup '''units.csv'''] where a unit identifier with postfix "__upgrades", and some parameters are entered. | ||
+ | * [http://vegastrike.svn.sourceforge.net/viewvc/vegastrike/trunk/data/master_part_list.csv?revision=HEAD&view=markup '''master_part_list.csv'''], where a [[HowTo:Add_Descriptions|description and item image are edited]]. | ||
+ | * [http://vegastrike.svn.sourceforge.net/viewvc/vegastrike/trunk/data/modules/ship_upgrades.py?revision=HEAD&view=markup '''ship_upgrades.py'''] if you are adding or altering upgrade categories. | ||
+ | |||
+ | To make upgrades available on planets and stations, the correct upgrade category must be added in the planet's ''units.csv'' entry. | ||
+ | |||
+ | Not only the unit names for upgrades must be aligned, but also the categories. |
Latest revision as of 15:09, 3 April 2011
Make Weapons | HowTos | Add Cargo |
Adding Upgrades
FIXME This description is incomplete, please expand it as necessary!
Required Files
The following file must be edited with a text editor:
- units.csv where a unit identifier with postfix "__upgrades", and some parameters are entered.
- master_part_list.csv, where a description and item image are edited.
- ship_upgrades.py if you are adding or altering upgrade categories.
To make upgrades available on planets and stations, the correct upgrade category must be added in the planet's units.csv entry.
Not only the unit names for upgrades must be aligned, but also the categories.