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

From VsWiki
Jump to: navigation, search
(MASTER PARTS LIST)
Line 14: Line 14:
 
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].
  
===Columns in Master Parts List File===
+
===Columns in <code>master_part_list.csv</code> File===
 
* file =  Name of item
 
* file =  Name of item
 
* categoryname = Category of item, eg <code>starships/Merchant/Heavy</code> or <code>upgrades/Weapons</code>
 
* categoryname = Category of item, eg <code>starships/Merchant/Heavy</code> or <code>upgrades/Weapons</code>
Line 23: Line 23:
  
  
===Editing Master Parts List 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 '''[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.
 
* Fill the discription field with your description.
 
* Fill the discription field with your description.

Revision as of 09:46, 3 April 2005

arrow_left.png Edit Systems arrow_up.png HowTo 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 HowTo Add Conversations arrow_right.png