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 53: Line 53:
 
END_SHIPS
 
END_SHIPS
 
</pre>
 
</pre>
...and now let's learn about what we just pasted.
+
...and now let's try to understand what we just pasted.
  
 
===DESCRIPTION SECTION===
 
===DESCRIPTION SECTION===
  
The following text makes scenario to display a description in the Orbiter Launchpad window, before you load a scenario. In this case it will display "Ready to take off" in the launch pad window. It can be left blank if you don't want to include anything in the description.
+
The following text makes scenario to display a description in the Orbiter Launchpad window, before you load a scenario. In this case it will display "Ready to take off" in the launch pad window.
 
<pre>
 
<pre>
 
BEGIN_DESC
 
BEGIN_DESC
Line 63: Line 63:
 
END_DESC
 
END_DESC
 
</pre>
 
</pre>
 
 
===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 75:
 
END_ENVIRONMENT
 
END_ENVIRONMENT
 
</pre>
 
</pre>
 
 
===FOCUS SECTION===
 
===FOCUS SECTION===
  
Line 90: Line 88:
 
===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 96:
 
END_CAMERA
 
END_CAMERA
 
</pre>
 
</pre>
 
 
===MFD SECTION===
 
===MFD SECTION===
  
Line 117: Line 114:
 
===PANEL SECTION===
 
===PANEL SECTION===
  
The next section is the panel section. We won't cover it here. So let's leave it like this...
+
The next section is the panel section. We won't cover it here. So let's live it like this...
  
 
  BEGIN_PANEL
 
  BEGIN_PANEL
Line 136: Line 133:
 
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 ad a ship that will be located at a landing pad at Cape Ca&#241;averal.
 
<pre>
 
<pre>
 
BEGIN_SHIPS
 
BEGIN_SHIPS
Line 151: Line 148:
 
END_SHIPS
 
END_SHIPS
 
</pre>
 
</pre>
 
 
===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 205:
 
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 215:
 
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: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)