Difference between revisions of "HowTo:Edit Systems"

From VsWiki
Jump to: navigation, search
(EDITING SYSTEMS)
m (SO *that's* what that template does.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{NAV_Manual |
 
{{NAV_Manual |
 
| previous=[[HowTo:Add Cargo|Add Cargo]]
 
| previous=[[HowTo:Add Cargo|Add Cargo]]
| up=[[HowTo]]
+
| up=[[HowTos]]
 
| next=[[HowTo:Take Screenshots|Take Screenshots]]
 
| next=[[HowTo:Take Screenshots|Take Screenshots]]
 
}}
 
}}
 
----
 
----
{{attention}}
+
Universe files and system co-exist to specify all the planets and systems in the galaxy.
=EDITING SYSTEMS=
+
 
The star systems in VegaStrike are defined in System Files.  These files can be either created manually, or are generated from the '''[http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/vegastrike/data4.x/universe/milky_way.xml?rev=HEAD&content-type=text/vnd.viewcvs-markup universe/milky_way.xml]''' file.   
+
The universe file with all the data is the "master" file.  It is what missions will reference when trying to find the shortest route from one system to the next, or what will determine on the nav screen where you can jump to.
 +
 
 +
The *.system files, however, serve two purposes.
 +
 
 +
In the sectors directory within the root folder, they are system files that are expected to match their descriptions in the universe file, but also are allowed to have more specifics about the types of bases and planets.
 +
 
 +
In your home folder, system files are autogenerated from the data in the universe file if they are not already found.
 +
 
 +
This method of organization allows campaign systems to be customized (often this is done by tweaking the autogenerated system) without requiring all systems (there are quite a lot in the vegastrike universe) to take up extra hard disk space.
 +
 
 +
=Editing Systems=
 +
The star systems in VegaStrike are defined in System Files.  These files can be either created manually, or are generated from the '''universe/milky_way.xml''' file.   
  
 
The System files can are found in several places in your Vega Strike data directory:
 
The System files can are found in several places in your Vega Strike data directory:
  
* Inside your <code>.vegastrike</code> directory.  This is where the automatically-generated files go after being created. These files are <code>.system</code> files and are generated from the '''[http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/vegastrike/data4.x/universe/milky_way.xml?rev=HEAD&content-type=text/vnd.viewcvs-markup universe/milky_way.xml]''' file.
+
* Inside your <code>.vegastrike</code> directory.  This is where the automatically-generated files go after being created. These files are <code>.system</code> files and are generated from the '''universe/milky_way.xml''' file.
* Inside your '''[http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/vegastrike/data4.x/sectors/ sectors]''' directory.  This is where you want your very specific custom files to go, for example Sol. For creating your own systems, store the <code>.system</code> files here.  It is perferred that you do not use the <code>.vegastrike</code> directory for storing hand-made systems.
+
* Inside your '''sectors''' directory.  This is where you want your very specific custom files to go, for example Sol. For creating your own systems, store the <code>.system</code> files here.  It is perferred that you do not use the <code>.vegastrike</code> directory for storing hand-made systems.
  
 
==Adding Systems==
 
==Adding Systems==
Line 19: Line 30:
 
* The hard way using [[HowTo:Edit_Systems:System_Files|System Files]]
 
* The hard way using [[HowTo:Edit_Systems:System_Files|System Files]]
  
=Summary=
+
==Summary==
  
* Using the '''[http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/vegastrike/data4.x/universe/milky_way.xml?rev=HEAD&content-type=text/vnd.viewcvs-markup universe/milky_way.xml]''' file we can autogenerate systems.  When using a fixed random number seed, the same system will be generated each time.
+
* Using the '''universe/milky_way.xml''' file we can autogenerate systems.  When using a fixed random number seed, the same system will be generated each time.
* To create a specific system with very specific orbits, etc, we can manually edit anc create system files.
+
* To create a specific system with very specific orbits, etc, we can manually edit and create system files.
  
 
=See also=
 
=See also=
* See the old wiki article [http://vegastrike.sourceforge.net/phpwiki/index.php/VsHowtoEditSystems VsHowtoEditSystems].
+
* See the old wiki articles [http://vegastrike.sourceforge.net/phpwiki/index.php/VsHowtoEditSystems VsHowtoEditSystems][http://vegastrike.sourceforge.net/phpwiki/index.php/VsHowtoEditSystemsPart1 VsHowtoEditSystemsPart1], and [http://vegastrike.sourceforge.net/phpwiki/index.php/VsHowtoEditSystemsPart2 VsHowtoEditSystemsPart2].
* See the old wiki article [http://vegastrike.sourceforge.net/phpwiki/index.php/VsHowtoEditSystemsPart1 VsHowtoEditSystemsPart1].
 
* See the old wiki article [http://vegastrike.sourceforge.net/phpwiki/index.php/VsHowtoEditSystemsPart2 VsHowtoEditSystemsPart2].
 
  
 
{{NAV_Manual |
 
{{NAV_Manual |
 
| previous=[[HowTo:Add Cargo|Add Cargo]]
 
| previous=[[HowTo:Add Cargo|Add Cargo]]
| up=[[HowTo]]
+
| up=[[HowTos]]
 
| next=[[HowTo:Take Screenshots|Take Screenshots]]
 
| next=[[HowTo:Take Screenshots|Take Screenshots]]
 
}}
 
}}
  
[[Category:HowTo|Edit Systems]]
+
[[Category:HowTos|Edit Systems]]
 
[[Category:Development|Edit Systems]]
 
[[Category:Development|Edit Systems]]

Latest revision as of 21:12, 17 September 2006

arrow_left.png Add Cargo arrow_up.png HowTos Take Screenshots arrow_right.png

Universe files and system co-exist to specify all the planets and systems in the galaxy.

The universe file with all the data is the "master" file. It is what missions will reference when trying to find the shortest route from one system to the next, or what will determine on the nav screen where you can jump to.

The *.system files, however, serve two purposes.

In the sectors directory within the root folder, they are system files that are expected to match their descriptions in the universe file, but also are allowed to have more specifics about the types of bases and planets.

In your home folder, system files are autogenerated from the data in the universe file if they are not already found.

This method of organization allows campaign systems to be customized (often this is done by tweaking the autogenerated system) without requiring all systems (there are quite a lot in the vegastrike universe) to take up extra hard disk space.

Editing Systems

The star systems in VegaStrike are defined in System Files. These files can be either created manually, or are generated from the universe/milky_way.xml file.

The System files can are found in several places in your Vega Strike data directory:

  • Inside your .vegastrike directory. This is where the automatically-generated files go after being created. These files are .system files and are generated from the universe/milky_way.xml file.
  • Inside your sectors directory. This is where you want your very specific custom files to go, for example Sol. For creating your own systems, store the .system files here. It is perferred that you do not use the .vegastrike directory for storing hand-made systems.

Adding Systems

There are two ways of editing and creating star systems;

Summary

  • Using the universe/milky_way.xml file we can autogenerate systems. When using a fixed random number seed, the same system will be generated each time.
  • To create a specific system with very specific orbits, etc, we can manually edit and create system files.

See also

arrow_left.png Add Cargo arrow_up.png HowTos Take Screenshots arrow_right.png