Difference between revisions of "HowTo:Add Descriptions"

From VsWiki
Jump to: navigation, search
(added some code tags and cleanup)
Line 5: Line 5:
 
}}
 
}}
 
----
 
----
=ADDING DESCRIPTIONS=
+
= ADDING DESCRIPTIONS =
  
 
Anything a player can buy in Vega Strike can have a text description.  These are contained in 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.
 
Anything a player can buy in Vega Strike can have a text description.  These are contained in 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.
  
==Master Parts List File==
+
== Master Parts List 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 '''[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 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].
  
===Steps to Add a New Item===
+
=== Steps to add a new item ===
* 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. {{Fixme}} ''What's the meaning of this sentence?''
* 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: <code>@'''path/to/'''texture.png@</code>
 
* Save the file as a csv file.
 
* Save the file as a csv file.
  
==Example Row==
+
== Example row ==
 
<pre>
 
<pre>
 
"file","categoryname","price","mass","volume","description"
 
"file","categoryname","price","mass","volume","description"
Line 28: Line 28:
 
</pre>
 
</pre>
  
=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   
 
* '''[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   
 
* [[HowTo:Add Cargo|Adding Cargo]]
 
* [[HowTo:Add Cargo|Adding Cargo]]
Line 34: Line 34:
 
* [[HowTo:Edit master_part_list.csv|Editing Master_Part_List.csv]]
 
* [[HowTo:Edit master_part_list.csv|Editing Master_Part_List.csv]]
 
* [[HowTo:Edit units.csv|Editing Units.csv]]
 
* [[HowTo:Edit units.csv|Editing Units.csv]]
 
 
  
 
----
 
----

Revision as of 13:28, 1 April 2005

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

ADDING DESCRIPTIONS

Anything a player can buy in Vega Strike can have a text description. These are contained in the Master Part List file.

Master Parts List 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.

Steps to add a new item

  • Open the Master Part List file in a spreadsheet application and if you are adding a new item, add a new line. FIXME What's the meaning of this sentence?
  • 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

"file","categoryname","price","mass","volume","description"

"IntaTouch","Entertainment/Aera",50,0.01,1,
"@cargo/cargo-hud.png@A tactile simulator that provides an Aera with relaxing sensations."

See also


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