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

From VsWiki
Jump to: navigation, search
 
m (sp)
 
(11 intermediate revisions by 4 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]]
 
}}
 
}}
 
----
 
----
{{attention}}
+
=MASTER PART LIST=
=MASTER PARTS 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 [[Database:Ships|Ships]], [[Database:Upgrades|Upgrades]], [[Database:Cargo|Cargo items]] and [[Database: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.
  
==Master Parts List 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
 +
* categoryname = Category of item, eg <code>starships/Merchant/Heavy</code> or <code>upgrades/Weapons</code>
 +
* 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 Parts List 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.
 +
* 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===
 
===Example Row===
 
<pre>
 
<pre>
"file","categoryname","price","mass","volume","description"
+
"VirtuArea","Entertainment/Aera",50,0.01,1,
 +
"@cargo/cargo-hud.png@A wall hanging that projects the illusion of open space."
 +
</pre>
  
"IntaTouch","Entertainment/Aera",50,0.01,1,
+
* file = <code>VirtuArea</code>
"@cargo/cargo-hud.png@A tactile simulator that provides an Aera with relaxing sensations."
+
* categoryname = <code>Entertainment/Aera</code>
</pre>
+
* price = <code>50</code>
 +
* mass = <code>0.01</code>
 +
* volume = <code>1</code>
 +
* description
 +
** Picture = <code>cargo/cargo-hud.png</code>
 +
** Text = <code>A wall hanging that projects the illusion of open space."</code>
  
 
=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 Cargo|Adding Cargo]]
 
* [[HowTo:Add Cargo|Adding Cargo]]
 
* [[HowTo:Add Upgrades|Adding Upgrades]]
 
* [[HowTo:Add Upgrades|Adding Upgrades]]
 
* [[HowTo:Edit units.csv|Editing Units.csv]]
 
* [[HowTo:Edit units.csv|Editing Units.csv]]
 
 
  
 
----
 
----
 
{{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