Scenarios

From OrbiterWiki
Revision as of 06:30, 25 October 2007 by 200.221.10.104 (talk)
Jump to navigation Jump to search

data qic 2 5 foppapedretti favola aspire 1362wlmi trio ct01 nore feat nina sky oye mi canto honda km zero cassette legno Lavoro verona discoteca vr 2000 link flamsteed john marche dei videofonini chatt hard live homepage dan ford il bacio della pantera - il figlio della notte domenico morfeo batteria motorola v60 moretv citroen c5 anno 2002 madri pericolose link enema free url snorke.info dame chenoa www peugeot it privilege map karen anton url eizo l578 hotel fedora hl 1250 la descarada mp3 mv augusta pulman cavalleria rusticana invio telematico della dichiarazione whoopi goldberg extreme paintbrawl 2 testo canzone napoletana putas con animales hotel lux roma batteria acer travelmate 630 link la voce della foresta lcd 1366 troie in spiagia quiero tenerte zion lenox sara cugini di campagna tosaerba concessionaria simoni mare di piu conserve ed estratti alimentari bp 780s kyocera tracer 7600 link epson p-2000 multimedia viewer sitecom wl 124 banalizzare biglietto aereo milano reggio calabria guns nroses use your illusion world tour 1992 vol 02 saab cabriolet urszula ex z110 basi karaoke scaricabili gratis la vendetta di bruce lee www photo hard eva henger com colant foto superstar jamelia lyrics user burn avventura a varsavia microsoft digital image studio 10 my immortal spartiti oroscopo leonardo agonum epica srl junior page ignis k ww indire it fotoannunci donne mature lexmark p6350 nuove edizioni del giglio maxtor onetouch ii firewire 800 edition philips 32pf7320 10 index copertina cd hot party genova annunci liupen globalsat bt 338 gps ricetta per fare il pane kiss 1504 lettore mp3 watch movie traghetti barcellona ibiza mib 30 pietra ligure ospedale gli arabi index homepage texshop ==CREATING SCENARIOS==

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.

Open Notepad and paste the following text...

BEGIN_DESC
Ready to take off.
END_DESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 51981.6009797824
END_ENVIRONMENT

BEGIN_FOCUS
Ship GL-01
END_FOCUS

BEGIN_CAMERA
TARGET GL-01
MODE Cockpit
FOV 60.00
END_CAMERA

BEGIN_MFD Left
TYPE Surface
SPDMODE 1
END_MFD

BEGIN_MFD Right
TYPE Orbit
PROJ Ship
FRAME Ecliptic
REF Earth
END_MFD

BEGIN_PANEL
END_PANEL

BEGIN_SHIPS
GL-01: DeltaGlider
STATUS Landed Earth
BASE Cape Canaveral:1
POS -80.6758964 28.5227640
HEADING 150.00
PRPLEVEL 0:1.000 1:1.000
NAVFREQ 402 94 0 0
XPDR 0
GEAR 1 1.0000
END
END_SHIPS

...and now let's try to understand what we just pasted.

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.

BEGIN_DESC
Ready to take off.
END_DESC

ENVIRONMENT SECTION

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 used MJD format.

How to set a date is something that we might leave for future lessons. Let's see how environment section looks...

BEGIN_ENVIRONMENT
System Sol
Date MJD 51981.6009797824
END_ENVIRONMENT

FOCUS SECTION

Now, let's see where YOU will be when the mission starts. The focus section describes the ship you will pilot or the object you will control when you start your mission.

In the following case you have a ship named "GL-01". It's a custom name. We will need to define the properties of this ship later.

BEGIN_FOCUS
Ship GL-01
END_FOCUS

CAMERA SECTION

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.

BEGIN_CAMERA
TARGET GL-01
MODE Cockpit
FOV 60.00
END_CAMERA

MFD SECTION

In your cockpit you have 2 screens called MFDs which will display some info. Each MFD is configured differently. We won't cover yet how to configure MFDs.

BEGIN_MFD Left
TYPE Surface
SPDMODE 1
END_MFD

BEGIN_MFD Right
TYPE Orbit
PROJ Ship
FRAME Ecliptic
REF Earth
END_MFD

PANEL SECTION

The next section is the panel section. We won't cover it here. So let's leave it like this...

BEGIN_PANEL
END_PANEL

SHIPS SECTION

Now it comes the time when we define the properties of your ship in the ships section. In this case we have only one ship in our entire universe. It is GL-01. Remember? GL-01 is a DeltaGlider class ship. You will have a limited set of classes unless you install other spacecratf/aircraft addons that add more classes.

The status indicates if you are landed or if you are moving (Orbit).

POS indicates your longitude and latitude.

HEADING indicates the direction of the nose of your ship. If you put a ship in a runway you might like it to aim at the end of the runway.

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.

BEGIN_SHIPS
GL-01: DeltaGlider
STATUS Landed Earth
BASE Cape Canaveral:1
POS -80.6758964 28.5227640
HEADING 150.00
PRPLEVEL 0:1.000 1:1.000
NAVFREQ 402 94 0 0
XPDR 0
GEAR 1 1.0000
END
END_SHIPS

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?

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.

We can copy and paste the GL-01 properties and then add the latitude and longitude, and change the ship name. But don't forget about the heading...

That way, we are going to add this code, which will place your ship at Cape Ca