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

From VsWiki
Jump to: navigation, search
(MASTER PARTS LIST)
m (sp)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{NAV_Manual |
 
{{NAV_Manual |
 
| previous=[[HowTo:Edit Systems|Edit Systems]]
 
| previous=[[HowTo:Edit Systems|Edit Systems]]
| up=[[HowTo]]
+
| up=[[HowTos]]
 
| next=[[HowTo:Add Conversations|Add Conversations]]
 
| next=[[HowTo:Add Conversations|Add Conversations]]
 
}}
 
}}
Line 7: Line 7:
 
=MASTER PART LIST=
 
=MASTER PART LIST=
  
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 contains general information on all [[Vessels & Installations|Ships and Installations]], [[Upgrades|Upgrades]], [[Cargo|Cargo items]] and [[Weapons|Weapons]] in VegaStrike.
+
The {{CVS:MasterPartList}} file contains general information on all [[Vessels & Installations|Ships and Installations]], [[Upgrades|Upgrades]], [[Cargo|Cargo items]] and [[Weapons|Weapons]] in VegaStrike.
  
 
==The <code>master_part_list.csv</code> File==
 
==The <code>master_part_list.csv</code> File==
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]''' 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].
  
===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 {{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.
 
  
 
===Example Row===
 
===Example Row===
Line 46: Line 45:
  
 
=See also=
 
=See also=
* '''[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]''' in CVS
+
* {{CVS:MasterPartList}} in CVS
 
* [[HowTo:Add Descriptions|Add Descriptions]]   
 
* [[HowTo:Add Descriptions|Add Descriptions]]   
 
* [[HowTo:Add Cargo|Adding Cargo]]
 
* [[HowTo:Add Cargo|Adding Cargo]]
Line 55: Line 54:
 
{{NAV_Manual |
 
{{NAV_Manual |
 
| previous=[[HowTo:Edit Systems|Edit Systems]]
 
| previous=[[HowTo:Edit Systems|Edit Systems]]
| up=[[HowTo]]
+
| up=[[HowTos]]
 
| next=[[HowTo:Add Conversations|Add Conversations]]
 
| next=[[HowTo:Add Conversations|Add Conversations]]
 
}}
 
}}
  
[[Category:HowTo|Editing Master_parts_list.csv]]
+
[[Category:HowTos|Editing Master_parts_list.csv]]
 
[[Category:Development|Editing Master_parts_list.csv]]
 
[[Category:Development|Editing Master_parts_list.csv]]

Latest revision as of 09: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