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

From VsWiki
Jump to: navigation, search
(Editing <code>master_part_list.csv</code> File)
Line 24: Line 24:
  
 
===Editing <code>master_part_list.csv</code> File===
 
===Editing <code>master_part_list.csv</code> File===
* Open the '''[http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/vegastrike/data4.x/master_part_list.csv?rev=HEAD&content-type=text/vnd.viewcvs-markup Master Part List]''' 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 discription 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.
 
  
 
===Example Row===
 
===Example Row===

Revision as of 10:30, 22 September 2005

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 eddited 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 discription 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