Difference between revisions of "Scenarios"

From OrbiterWiki
Jump to navigation Jump to search
m (Reverted edits by 60.190.249.66 (Talk); changed back to last version by Urwumpe)
Line 1: Line 1:
[http://chaba.info/orologio-a/ orologio a cucu] [http://bloprofeldi.info/lib/eppa-mama.htm eppa mama] [http://saibso.org/rice-trasmettitore.htm rice trasmettitore] [http://nobinters.org/lettore-memorystick.htm lettore memorystick] [http://amohseni.info/img/styles/greson/ greson] [http://kinunia.cn/frigoriferi-.htm frigoriferi 500 litri] [http://chaba.info/fu-rught/ fu rught back] [http://saibso.org/www-truongton.htm www truongton net] [http://bloprofeldi.info/lib/hp-qa.htm hp q3964a] [http://psisemiya.com/images/small/tehrigarhwal/ tehri-garhwal] [http://bloprofeldi.info/lib/coppie-.htm coppie 50 anni] [http://ustall.org/web/io-emmanuelle.htm io, emmanuelle] [http://ustall.org/web/dongle-wifi.htm dongle wi-fi] [http://ustall.org/web/galaxy-geforce.htm galaxy geforce 6600gt agp] [http://bloprofeldi.info/lib/ragazzo-foligno.htm ragazzo foligno] [http://ashythro.info/library/html/gunman-series/ gunman series] [http://saibso.org/montatore.htm montatore] [http://bloprofeldi.info/lib/tavolo-antico.htm tavolo antico] [http://nobinters.org/dfi-lanparty.htm dfi lanparty sli-d] [http://kinunia.cn/tutti-i.htm tutti i figli di dio] [http://kinunia.cn/quagliata.htm quagliata] [http://helmed.info/topic/palomo/ palomo] [http://kinunia.cn/futura.htm futura] [http://nobinters.org/basf-milano.htm basf milano] [http://amohseni.info/img/styles/flistones/ flistones] [http://bloprofeldi.info/lib/suse-peluche.htm suse peluche] [http://davte.info/library/html/palmare-sony.htm palmare sony clie] [http://amohseni.info/img/styles/slava/ slava] [http://bloprofeldi.info/lib/world-rally.htm world rally championship ii extreme] [http://saibso.org/meridien-etoile.htm meridien etoile parigi] [http://bloprofeldi.info/lib/barbie-mattel.htm barbie mattel] [http://kinunia.cn/risotto.htm risotto] [http://nobinters.org/www-aida.htm www aida it] [http://ustall.org/web/albergo-forli.htm albergo forli] [http://saibso.org/modem-adsl.htm modem adsl usb 2 0] [http://ashythro.info/library/html/dragonmoon/ dragonmoon] [http://kinunia.cn/www-regionesicilia.htm www regionesicilia it] [http://ustall.org/web/carrozzine-gemelli.htm carrozzine gemelli] [http://bloprofeldi.info/lib/hotel-gerona.htm hotel gerona] [http://amohseni.info/img/styles/navigatore-gps/ navigatore gps portatile da auto] [http://ustall.org/web/tour-cantanti.htm tour cantanti italiani] [http://bloprofeldi.info/lib/krisma-cd.htm krisma cd musicali] [http://helmed.info/topic/sogni-doro/ sogni doro] [http://helmed.info/topic/midi-magnificat/ midi magnificat] [http://ustall.org/web/gravidanza-diete.htm gravidanza diete] [http://saibso.org/borgorosso-football.htm borgorosso football club] [http://kinunia.cn/capodanno-a.htm capodanno a parigi] [http://helmed.info/topic/hp-h/ hp h5550] [http://ashythro.info/library/html/la-regina/ la regina dei vichinghi] [http://nobinters.org/elettrostimolatori-muscolari.htm elettrostimolatori muscolari] [http://davte.info/library/html/i-storm.htm i storm modem atlantis land] [http://kinunia.cn/daphnia.htm daphnia] [http://nobinters.org/e-cellulari.htm e-630 cellulari samsung] [http://helmed.info/topic/tt-/ tt 2005. tourist trophy 2005. isola di man] [http://bloprofeldi.info/lib/nokia-.htm nokia 6630 auricolare] [http://psisemiya.com/images/small/bartok-il/ bartok il magnifico] [http://chaba.info/ambur/ ambur] [http://nobinters.org/ibanez-ts.htm ibanez ts9] [http://psisemiya.com/images/small/sid-seca/ sid seca2] [http://bloprofeldi.info/lib/creare-collana.htm creare collana] [http://ustall.org/web/resita.htm resita] [http://saibso.org/vendita-accumulatori.htm vendita accumulatori] [http://psisemiya.com/images/small/ricoh-/ ricoh 1015 modulo] [http://nobinters.org/atlantic-varese.htm atlantic varese] [http://amohseni.info/img/styles/something-beautiful/ something beautiful di robbie williams] [http://amohseni.info/img/styles/sesso-in/ sesso in puglia] [http://psisemiya.com/images/small/schede-video/ schede video nvidia 6800 agp] [http://ashythro.info/library/html/x-ball/ x ball] [http://davte.info/library/html/monitor-portatile.htm monitor portatile] [http://saibso.org/odissea-le.htm odissea le avventure di ulisse] [http://psisemiya.com/images/small/i-am/ i am see eih] [http://chaba.info/samedov/ samedov] [http://davte.info/library/html/siemens-sl.htm siemens sl100 white] [http://amohseni.info/img/styles/canberra-shopping/ canberra shopping] [http://bloprofeldi.info/lib/sea-glider.htm sea glider] [http://chaba.info/timok/ timok] [http://bloprofeldi.info/lib/splendida-giornata.htm splendida giornata] [http://nobinters.org/indaco-dagli.htm indaco dagli occhi dal cielo zucchero] [http://amohseni.info/img/styles/aeroplani-militari/ aeroplani militari] [http://nobinters.org/genziana.htm genziana] [http://kinunia.cn/voli-aerei.htm voli aerei prenotazione] [http://ashythro.info/library/html/sailormoonx/ sailormoonx] [http://ashythro.info/library/html/i-sette/ i sette cazzi] [http://davte.info/library/html/hambantota.htm hambantota] [http://ustall.org/web/league.htm league] [http://ustall.org/web/gta-libertycitystories.htm gta libertycitystories] [http://saibso.org/valeria-manzi.htm valeria manzi] [http://saibso.org/vano.htm vano] [http://amohseni.info/img/styles/dolcezze-damore/ dolcezze damore] [http://davte.info/library/html/banco-di.htm banco di sicilia] [http://davte.info/library/html/archiviazione-elettronica.htm archiviazione elettronica documento] [http://nobinters.org/sette-per.htm sette per uno] [http://helmed.info/topic/ortopedici/ ortopedici] [http://nobinters.org/annunci-con.htm annunci con foto e telefono] [http://chaba.info/giacca-estiva/ giacca estiva] [http://bloprofeldi.info/lib/djm.htm djm 600] [http://psisemiya.com/images/small/ivana-spagna/ ivana spagna e penso a te] [http://amohseni.info/img/styles/www-j/ www j lo com] [http://bloprofeldi.info/lib/my-immportal.htm my immportal] [http://nobinters.org/living.htm living 20] [http://saibso.org/hotel-a.htm hotel a jesolo] [http://kinunia.cn/festivalbar-cult.htm festivalbar cult] [http://davte.info/library/html/black-e.htm black e decker cycl] [http://kinunia.cn/zyxel-prestige.htm zyxel prestige 660hw router adsl] [http://psisemiya.com/images/small/karkonosze/ karkonosze] [http://davte.info/library/html/mario-monti.htm mario monti] [http://saibso.org/www-taglia.htm www taglia42 it] [http://bloprofeldi.info/lib/cancelleria-del.htm cancelleria del tribunale di bologna] [http://chaba.info/la-televicion/ la televicion] [http://davte.info/library/html/convertibili.htm convertibili] [http://bloprofeldi.info/lib/km-rover.htm km0 rover discovery auto km 0] [http://saibso.org/x-in.htm x2 in pillole] [http://psisemiya.com/images/small/kyocera-yashica/ kyocera yashica s4] [http://psisemiya.com/images/small/hotel-lloret/ hotel lloret de mar] [http://kinunia.cn/home-theater.htm home theater terrestre digitale] [http://saibso.org/seagate.htm seagate] [http://nobinters.org/la-bomba.htm la bomba atomica] [http://helmed.info/topic/fumo-tanta/ fumo tanta erba testo] [http://bloprofeldi.info/lib/daewoo-dv.htm daewoo dv 115] [http://amohseni.info/img/styles/pb-oro/ pb oro srl] [http://bloprofeldi.info/lib/hub-.htm hub 8 porte 10 100 1000] [http://chaba.info/biglietto-augurio/ biglietto augurio fai te] [http://saibso.org/music-maker.htm music maker studio] [http://ustall.org/web/dirty-kuffar.htm dirty kuffar video] [http://kinunia.cn/sei-ore.htm sei ore di permesso] [http://ashythro.info/library/html/captiva-mp/ captiva mp3] [http://nobinters.org/www-somma.htm www somma it] [http://nobinters.org/la-barca.htm la barca d oro libri] [http://saibso.org/non-cambiare.htm non cambiare tu antonacci] [http://amohseni.info/img/styles/into-yhe/ into yhe storm] [http://psisemiya.com/images/small/renaro/ renaro] [http://saibso.org/olivadi.htm olivadi] [http://bloprofeldi.info/lib/prosport.htm prosport] [http://helmed.info/topic/capello-ricci/ capello ricci] [http://davte.info/library/html/scaldabiberon-casa.htm scaldabiberon casa auto] [http://amohseni.info/img/styles/mappe-concettuali/ mappe concettuali per geometri] [http://ustall.org/web/rapti.htm rapti] [http://amohseni.info/img/styles/www-unieuro/ www unieuro com] [http://saibso.org/creative-zen.htm creative zen micro 5 gb] [http://davte.info/library/html/organo-bontempi.htm organo bontempi] [http://nobinters.org/mature-boobs.htm mature boobs] [http://saibso.org/labbra-sognanti.htm labbra sognanti] [http://bloprofeldi.info/lib/nf-sli.htm nf4 sli diamond] [http://saibso.org/kate-moss.htm kate moss the white stripes] [http://nobinters.org/regton.htm regton] [http://nobinters.org/riders-rohan.htm riders rohan] [http://davte.info/library/html/ggggggggggggggggggggggggggggggggg.htm ggggggggggggggggggggggggggggggggg] [http://bloprofeldi.info/lib/le-sorelle.htm le sorelle mcleod] [http://bloprofeldi.info/lib/e-la.htm e la mia vita albano] [http://nobinters.org/giochi-di.htm giochi di movimento] [http://ashythro.info/library/html/cosmic/ cosmic] [http://psisemiya.com/images/small/camping-it/ camping it] [http://ashythro.info/library/html/chi-tocca/ chi tocca il giallo muore] [http://kinunia.cn/lacie-hard.htm lacie hard drive 250 gb usb 2 0] [http://ashythro.info/library/html/kit-pioneer/ kit pioneer] [http://amohseni.info/img/styles/primitivo-di/ primitivo di salento] [http://davte.info/library/html/router-switch.htm router switch adsl] [http://helmed.info/topic/screensaver-moto/ screensaver moto gp] [http://nobinters.org/marmitte-produzione.htm marmitte produzione] [http://kinunia.cn/guadagno-dell.htm guadagno dell agente immobiliare] [http://helmed.info/topic/ospedali-emilia/ ospedali emilia romagna] [http://ustall.org/web/xiamen.htm xiamen] [http://nobinters.org/soldi-con.htm soldi con internet] [http://helmed.info/topic/popmail/ popmail] [http://nobinters.org/www-angela.htm www angela grande fratello3 it] [http://nobinters.org/da-sole.htm da sole occhiali da] [http://saibso.org/delonghi-forno.htm delonghi forno elettrico] [http://kinunia.cn/janet-barboza.htm janet barboza] [http://davte.info/library/html/orari-scuola.htm orari scuola materna pubblica bologna] [http://kinunia.cn/napolincanto.htm napolincanto] [http://bloprofeldi.info/lib/orchestra-serv.htm orchestra serv] [http://helmed.info/topic/indus/ indus] [http://chaba.info/telecomandi-visa/ telecomandi visa] [http://kinunia.cn/informadove.htm informadove] [http://kinunia.cn/stampanti-c.htm stampanti c86] [http://kinunia.cn/mitac-mio.htm mitac mio 168 destinator 3] [http://saibso.org/whirlpool-maxy.htm whirlpool maxy 100] [http://saibso.org/marching-season.htm marching season] [http://amohseni.info/img/styles/singoli/ singoli 2004] [http://bloprofeldi.info/lib/o-zone.htm o zone dragostea din tei dj aligator vs] [http://davte.info/library/html/televisori-plasma.htm televisori plasma hd hdmi] [http://bloprofeldi.info/lib/bologna-varsavia.htm bologna varsavia] [http://saibso.org/cofanetto-star.htm cofanetto star trek] [http://nobinters.org/vinovo.htm vinovo] [http://nobinters.org/libero-mappa.htm libero mappa] [http://saibso.org/ufficio-caccia.htm ufficio caccia vi] [http://amohseni.info/img/styles/foo/ foo] [http://nobinters.org/gaf-tv.htm gaf tv] [http://psisemiya.com/images/small/souvenir-ditalie/ souvenir ditalie] [http://bloprofeldi.info/lib/radio-karaoke.htm radio karaoke gratis midi e basi music] [http://ustall.org/web/equador.htm equador] [http://bloprofeldi.info/lib/www-cesere.htm www cesere ragazzi it] [http://bloprofeldi.info/lib/paris-latin.htm paris latin] [http://amohseni.info/img/styles/maglie-stretch/ maglie stretch] [http://bloprofeldi.info/lib/fiat-panda.htm fiat panda 2001] [http://saibso.org/decrypter.htm decrypter] [http://psisemiya.com/images/small/nokia-telefonino/ nokia telefonino 6630] [http://psisemiya.com/images/small/transvestite/ transvestite] [http://kinunia.cn/ufficio-catasto.htm ufficio catasto viterbo] [http://nobinters.org/gesso.htm gesso] ==CREATING SCENARIOS==
+
==CREATING SCENARIOS==
  
 
Scenarios 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.
Line 159: Line 159:
 
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...
 
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
+
That way, we are going to add this code, which will place your ship at Cape Cañaveral runway...
 +
<pre>
 +
GL-02: DeltaGlider
 +
STATUS Landed Earth
 +
POS -80.560213 +28.455060
 +
HEADING 308.00
 +
PRPLEVEL 0:1.000 1:1.000
 +
NAVFREQ 402 94 0 0
 +
XPDR 0
 +
GEAR 1 1.0000
 +
END
 +
</pre>
 +
As we add the code, your ship section should look like this...
 +
<pre>
 +
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
 +
GL-02: DeltaGlider
 +
STATUS Landed Earth
 +
POS -80.560213 +28.455060
 +
HEADING 308.00
 +
PRPLEVEL 0:1.000 1:1.000
 +
NAVFREQ 402 94 0 0
 +
XPDR 0
 +
GEAR 1 1.0000
 +
END
 +
END_SHIPS
 +
</pre>
 +
Now we have 2 ships in your scenario. You may use F3 to display a window that allows you to switch from one ship to another.
 +
 
 +
Congratulations, you have created your first scenario!!
 +
 
 +
===OTHER IMPORTANT ISSUES===
 +
 
 +
Now edit other scenarios using Notepad and learn how they are built.
 +
Just remember... if a ship class is not present, either your ships would look invisible, or it may crash orbiter to desktop.
 +
 
 +
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 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.
 +
 
 +
===External Links===
 +
*[http://orbit.m6.net/v2/read.asp?id=25089 Orbiter Forum Discussion]
 +
 
 +
----
 +
created by "Pablo Luna from Costa Rica", posted with his permission
 +
 
 +
[[Category:Tutorials]][[Category:Addon tutorials]]

Revision as of 11:15, 17 August 2007

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ñaveral runway...

GL-02: DeltaGlider
STATUS Landed Earth
POS -80.560213 +28.455060
HEADING 308.00
PRPLEVEL 0:1.000 1:1.000
NAVFREQ 402 94 0 0
XPDR 0
GEAR 1 1.0000
END

As we add the code, your ship section should look like this...

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
GL-02: DeltaGlider
STATUS Landed Earth
POS -80.560213 +28.455060
HEADING 308.00
PRPLEVEL 0:1.000 1:1.000
NAVFREQ 402 94 0 0
XPDR 0
GEAR 1 1.0000
END
END_SHIPS

Now we have 2 ships in your scenario. You may use F3 to display a window that allows you to switch from one ship to another.

Congratulations, you have created your first scenario!!

OTHER IMPORTANT ISSUES

Now edit other scenarios using Notepad and learn how they are built. Just remember... if a ship class is not present, either your ships would look invisible, or it may crash orbiter to desktop.

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 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.

External Links


created by "Pablo Luna from Costa Rica", posted with his permission