Editing Scenarios

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
==CREATING SCENARIOS==
 
==CREATING SCENARIOS==
  
Scenarios in [[Orbiter]] contain a series of data that may change depending on many things.
+
Scenarios contain a series of data that may change depending on many things.
 
But we are covering the basics to build a scenario. We are going to build a scenario using the standard orbiter install.
 
But we are covering the basics to build a scenario. We are going to build a scenario using the standard orbiter install.
  
Line 66: Line 66:
 
===ENVIRONMENT SECTION===
 
===ENVIRONMENT SECTION===
  
The environment section specifies the [[Solar System|solar system]]. It refers to a CFG file (Sol.cfg) that contains data on [[planet|planets]] and other space bodies. It also sets the time when the scenario will start.
+
The environment section specifies the solar system. It refers to a CFG file (Sol.cfg) that contains data on planets and other space bodies. It also sets the time when the scenario will start.
It's not the standard DD/MM/YYY HH:MM format - It uses [[Julian Day|MJD]] format. If you browse your "\Orbiter\Utils" directory, you will find a program named "Date.exe" which allows you to convert to and from MJD format.
+
It's not the standard DD/MM/YYY HH:MM format. It used MJD format.
  
 
How to set a date is something that we might leave for future lessons. Let's see how environment section looks...
 
How to set a date is something that we might leave for future lessons. Let's see how environment section looks...
Line 76: Line 76:
 
END_ENVIRONMENT
 
END_ENVIRONMENT
 
</pre>
 
</pre>
 
 
===FOCUS SECTION===
 
===FOCUS SECTION===
  
Line 90: Line 89:
 
===CAMERA SECTION===
 
===CAMERA SECTION===
  
The camera section indicates if you are looking at your ship from the inside or the outside. We won't cover the camera parameter variations yet. In this case you start right inside the cockpit. Also notice you  can change the default Field of View (FOV) value for the scenario if you want to start out with a wider or more narrow view.
+
The camera section indicates if you are looking your ship from the inside or the outside. We won't cover the camera parameter variations yet. In this case you start right inside the cockpit.
 
<pre>
 
<pre>
 
BEGIN_CAMERA
 
BEGIN_CAMERA
Line 98: Line 97:
 
END_CAMERA
 
END_CAMERA
 
</pre>
 
</pre>
 
 
===MFD SECTION===
 
===MFD SECTION===
  
Line 136: Line 134:
 
PRPLEVEL indicates your level of propellant in the different tanks each ship has. Configuration of this parameter may change from a ship class to another.
 
PRPLEVEL indicates your level of propellant in the different tanks each ship has. Configuration of this parameter may change from a ship class to another.
  
The rest of the parameters depend on what ship you are piloting. Let's see how the ships section would look. This will add a ship that will be located at a landing pad at [[Cape Canaveral]].
+
The rest of the parameters depend on what ship you are piloting. Let's see how the ships section would look. This will add a ship that will be located at a landing pad at Cape Canaveral.
 
<pre>
 
<pre>
 
BEGIN_SHIPS
 
BEGIN_SHIPS
Line 154: Line 152:
 
===ADDING MORE SHIPS TO YOUR SCENARIO===
 
===ADDING MORE SHIPS TO YOUR SCENARIO===
  
We want to add another [[Delta-glider]] ship called "GL-02" which should be parked at the end of a runway. Where is the end of the runway?
+
We want to add another Delta Glider ship called "GL-02" which should be parked at the end of a runway. Where is the end of the runway?
  
You need to load your scenario, press F1 for external view and then zoom out and rotate your view until you have the camera right at the beginning of the runway. Now press CTRL-F1.
+
You need to load your scenario, press F1 for external view and then zoom out and rotae your view until you have the camera right at the beginning of the runway. Now press CTRL-F1.
  
 
Do you remember how we got the latitude and longitude for our base in our previous lesson? Let's do the same trick.
 
Do you remember how we got the latitude and longitude for our base in our previous lesson? Let's do the same trick.
Line 209: Line 207:
 
If the FOCUS section has a ship that is not defined in the SHIPS section, you may have problems too. If you refer to a non existent MFD or if you have any syntax error when defining the parameters for each property, you may have problems.
 
If the FOCUS section has a ship that is not defined in the SHIPS section, you may have problems too. If you refer to a non existent MFD or if you have any syntax error when defining the parameters for each property, you may have problems.
  
If a scenario is crashing, try to add a standard [[Delta-glider]] ship only. If it crashes, the problem is elsewhere, a syntax error probably. If not, then you don't have the required files to have a certain ship flying.
+
If a scenario is crashing, try to add a standard DeltaGlider ship only. If it crashes, the problem is elsewhere, a syntax error probably. If not, then you don't have the required files to have a certain ship flying.
  
 
You also may try to see the camera section for each scenario and what results are obtained. if you read the Orbiter manual, you may find more information about the contents of each scenario.
 
You also may try to see the camera section for each scenario and what results are obtained. if you read the Orbiter manual, you may find more information about the contents of each scenario.
Line 219: Line 217:
 
created by "Pablo Luna from Costa Rica", posted with his permission
 
created by "Pablo Luna from Costa Rica", posted with his permission
  
[[Category: Articles]]
+
[[Category:Tutorials]][[Category:Addon tutorials]]
[[Category:Tutorials]]
 
[[Category:Add-on tutorials]]
 

Please note that all contributions to OrbiterWiki are considered to be released under the GNU Free Documentation License 1.2 (see OrbiterWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)