Difference between revisions of "HowTo:Edit master part list.csv"

From VsWiki
Jump to: navigation, search
(Editing <code>master_part_list.csv</code> File)
m (sp)
 
Line 10: Line 10:
  
 
==The <code>master_part_list.csv</code> File==
 
==The <code>master_part_list.csv</code> File==
The {{CVS:MasterPartList}} is a csv (comma delimited text) file which can be eddited with any spreadsheet program.
+
The {{CVS:MasterPartList}} is a csv (comma delimited text) file which can be edited with any spreadsheet program.
  
 
NOTE: Microsoft Works has problems with the long description columns.  For a free alternative, use [http://www.openoffice.org OpenOffice].
 
NOTE: Microsoft Works has problems with the long description columns.  For a free alternative, use [http://www.openoffice.org OpenOffice].
Line 25: Line 25:
 
===Editing <code>master_part_list.csv</code> File===
 
===Editing <code>master_part_list.csv</code> File===
 
* Open the {{CVS:MasterPartList}} file in a spreadsheet application and if you are adding a new item, add a new line.
 
* Open the {{CVS:MasterPartList}} file in a spreadsheet application and if you are adding a new item, add a new line.
* Fill the discription field with your description.
+
* Fill the description field with your description.
 
* To have a picture show up next to your description, preface the description with  a texture (square, powers of two sides (16,64,128,256,etc)) in the following format: @'''path/to/'''texture.png@
 
* To have a picture show up next to your description, preface the description with  a texture (square, powers of two sides (16,64,128,256,etc)) in the following format: @'''path/to/'''texture.png@
 
* Save the file as a csv file.
 
* Save the file as a csv file.

Latest revision as of 10:00, 28 June 2010

arrow_left.png Edit Systems arrow_up.png HowTos Add Conversations arrow_right.png

MASTER PART LIST

The Master Part List file contains general information on all Ships and Installations, Upgrades, Cargo items and Weapons in VegaStrike.

The master_part_list.csv File

The Master Part List is a csv (comma delimited text) file which can be edited with any spreadsheet program.

NOTE: Microsoft Works has problems with the long description columns. For a free alternative, use OpenOffice.

Columns in master_part_list.csv File

  • file = Name of item
  • categoryname = Category of item, eg starships/Merchant/Heavy or upgrades/Weapons
  • price = Cost of purchase
  • mass = Mass of item
  • volume = How much cargo or upgrade space the item takes up
  • description = Description of the item, including a link to a picture of the item.


Editing master_part_list.csv File

  • Open the Master Part List file in a spreadsheet application and if you are adding a new item, add a new line.
  • Fill the description field with your description.
  • To have a picture show up next to your description, preface the description with a texture (square, powers of two sides (16,64,128,256,etc)) in the following format: @path/to/texture.png@
  • Save the file as a csv file.

Example Row

"VirtuArea","Entertainment/Aera",50,0.01,1,
"@cargo/cargo-hud.png@A wall hanging that projects the illusion of open space."
  • file = VirtuArea
  • categoryname = Entertainment/Aera
  • price = 50
  • mass = 0.01
  • volume = 1
  • description
    • Picture = cargo/cargo-hud.png
    • Text = A wall hanging that projects the illusion of open space."

See also


arrow_left.png Edit Systems arrow_up.png HowTos Add Conversations arrow_right.png