Scenario Scenario creation help

yankeeman1028

New member
Joined
Jun 9, 2011
Messages
27
Reaction score
0
Points
0
i am trying to make a scenario where Deepstar 2.0 is orbiting earth and the Chinese's Shenzhou 5 Long March Rocket, manned Falcon 9 Dragon capsule, and the ESA's CTV Ariane 5 are all sitting on their lauch pads ready to launch and dock with Deepstar. I copied the ship info from the Chinese Manned Space Program-Long March Shenzhou 5 Launch scenario, the SpaceX Falcon 9/ Dragon Spaceship- ISS launch manned (day) scenario and the Crew Transfer Vehicle/Pegase- CTV-LEO 4- Launch CTV LEO/4 ISS scenario. I also copied the ship, enviroment, focus, camera, HUD, and the right and left MFDs from the Deepstar 2.0- Luna- Trans Lunar Injection scenario without the two landers. Here is the .scn file:

Code:
BEGIN_DESC
A cooperative space effort to land on Mars, involving America, the European Space Agency, and the Chinese. Launch the four different capsules to dock with the mother ship, the Deepstar. Test fly Deepstar to the moon, land, and return to Earth. Next stop, Mars!
END_DESC

BEGIN_ENVIRONMENT
  System Deepstar/Sol
  Date MJD 76736.5176654107
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Deepstar
END_FOCUS

BEGIN_CAMERA
  TARGET Deepstar
  MODE Cockpit
  FOV 60.00
END_CAMERA

BEGIN_HUD
  TYPE Orbit
  REF AUTO
END_HUD


BEGIN_MFD Left
  TYPE Transfer
  REF Earth
  SOURCE Deepstar
  TARGET Moon
  SIMORBIT 1.90 3079.00 SHOW
END_MFD

BEGIN_MFD Right
  TYPE Orbit
  PROJ Ship
  FRAME Equator
  REF Earth
END_MFD

BEGIN_SHIPS
Deepstar:Deepstar/Deepstar
  STATUS Orbiting Earth
  RPOS 5180337.78 618136.57 -4350915.72
  RVEL 4924.999 19.684 5866.769
  AROT 0.04 -38.53 -5.23
  VROT -0.00 0.07 0.00
  PRPLEVEL 0:0.980
  DOCKINFO 
  IDS 0:522 100 1:524 100 2:526 100
  NAVFREQ 0 0
  XPDR 520
  RCS 1
  CTRL_SURFACE 1
  CONFIGURATION 1
  CURRENT_PAYLOAD 0
  SEQ 0 -1 0.417861
  SEQ 1 -2 0.000000
  SEQ 2 -2 0.000000
  SEQ 3 -2 0.000000
  SEQ 4 -2 0.000000
  SEQ 5 -2 0.000000
END

Falcon 9:F9_M
  STATUS Landed Earth
  POS -80.5771995 28.5619578
  HEADING 90.00
  AFCMODE 7
  PRPLEVEL 0:1.000000
  NAVFREQ 0 0
  FSTATE 1
  FAIRING 1
  COVERS 1
  AUTOP 0
  PAYLOAD 1
  TIME 99.500752
  PRG 0.000000
  APG 0.000000
  LHEAD -1.000000
  PLTYPE 1
END
LC 40:LC
  STATUS Landed Earth
  POS -80.5771995 28.5619578
  HEADING 133.48
  AFCMODE 7
  PRPLEVEL 0:0.999951
  NAVFREQ 0 0
  HLDR 1 0.0000
  FRM 1 0.0000
  RLS 1 0.0000
END

LM2F:LM2F\LM2F5
  STATUS Landed Earth
  POS 100.2914100 40.9578800
  HEADING 60.00
  FUEL 1.000
  NAVFREQ 0 0
  CONFIG_FILE Config\LM2F\LM2F5.ini
  CONFIGURATION 0
  STAGE_STATE 2
  STAGE_IGNITION_TIME 0.000ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS -4763638.78 4745916.69 -416446.54
  RVEL 5256.917 5052.923 -2444.795
  AROT 30.00 0.00 50.00
  IDS 0:588 10 1:586 10 2:584 10 3:582 10 4:580 10
  NAVFREQ 0 0
  XPDR 466
END

END
zl3arms:Spacecraft/Spacecraft3
  STATUS Landed Earth
  POS -52.5595750 5.0600030
  HEADING 220.02
  PRPLEVEL 0:0.987
  NAVFREQ 0 0
  RCS 1
  CTRL_SURFACE 1
  CONFIGURATION 1
  CURRENT_PAYLOAD 0
  SEQ 0 1 0.000000
END
habtour2:Spacecraft/Spacecraft3
  STATUS Landed Earth
  POS -52.5594590 5.0602020
  HEADING 130.00
  NAVFREQ 0 0
  RCS 1
  CTRL_SURFACE 1
  CONFIGURATION 1
  CURRENT_PAYLOAD 0
  SEQ 0 1 0.000000
  SEQ 1 -2 0.000000
END
Ariane5:W-Ariane5\arES
  STATUS Landed Earth
  POS -52.5596280 5.0600480
  HEADING 130.00
  PRPLEVEL 0:1.000 1:1.000 2:1.000 3:1.000
  NAVFREQ 0 0
  CONFIG_FILE Config\W-Ariane5\arES-CTV-LEO4.ini
  GUIDANCE_FILE Config\W-Ariane5\CTV-LEO4-ISS.txt
  CONFIGURATION 0
  STAGE_STATE 2
  STAGE_IGNITION_TIME 0.000
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 1
END
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 1
  GUIDANCE_FILE Config\LM2F\LM2F_guidance.txt
END
JSLC_pad:JSLC_pad
  STATUS Landed Earth
  POS 100.2914100 40.9578800
  HEADING 47.37
  PRPLEVEL 0:1.000
  EXHAUST 1
  FLOODLIGHTS 1
END


I forgot to add END_SHIPS but then I remembered and I had the same problem
I tried to launch it in orbiter and it terminated after a crtical error. Here is the log:

Code:
**** Orbiter.log
Build Jun  6 2010 [v.100606]
Timer precision: 5.66287e-007 sec
Found 0 joystick(s)
Devices enumerated: 3
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D T&L HAL
Module AtlantisConfig.dll .... [Build 100606, API 100606]
Module AtmConfig.dll ......... [Build 100606, API 100606]
Module DGConfigurator.dll .... [Build 100606, API 100606]
Module ScnEditor.dll ......... [Build 100606, API 100606]
Module UMMUFA.dll ............ [Build ******, API 060425]
Module uap.dll ............... [Build 110613, API 100830]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Fullscreen 1024 x 768 x 16
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 16 bit
Loading 8816 records from star database
Module Sun.dll ............... [Build 100215, API 100212]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100215, API 100212]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100215, API 100212]
Module VenusAtm2006.dll ...... [Build 100606, API 100606]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100215, API 100212]
Module EarthAtmJ71G.dll ...... [Build 100606, API 100606]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 100217, API 100215]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100215, API 100212]
Module MarsAtm2006.dll ....... [Build 100606, API 100606]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100215, API 100212]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build ******, API 061227]
Module Saturn.dll ............ [Build 100215, API 100212]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Uranus.dll ............ [Build 100215, API 100212]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100215, API 100212]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module Spacecraft3.dll ....... [Build ******, API 050206]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: VESSEL::SetBankMomentScale
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
>>> ERROR: No vessel class configuration file found for:
---------------------------------------------------------------
>>> ERROR: 
>>> [Vessel::OpenConfigFile | .\Vessel.cpp | 252]
---------------------------------------------------------------
>>> TERMINATING <<<


Am i using an addon that is obsolete? They all work independently. By the way, I use Orbiter 2010 with Windows 7
 
Last edited:

astrosammy

Dash!
Addon Developer
Donator
Joined
Apr 27, 2008
Messages
2,124
Reaction score
0
Points
36
Location
ICAO ID: EDFB
There seem to miss some lines for the Long March. And empty lines in the ship section cause CTDs. Also there's no END_SHIPS line at the end of the ship section (but it also works without). Take a look at the file Doc/OrbiterConfig.pdf.
 

Wishbone

Clueless developer
Addon Developer
Joined
Sep 12, 2010
Messages
2,421
Reaction score
1
Points
0
Location
Moscow
This sticks out:
Code:
END
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 1
  GUIDANCE_FILE Config\LM2F\LM2F_guidance.txt
END
 

yankeeman1028

New member
Joined
Jun 9, 2011
Messages
27
Reaction score
0
Points
0
i copied and pasted it exactly from the long march shenzhou 5 launch scenario. i just redid it. im also looking at the file you told me about. I tried it just with the shenzhou ship and the deepostar everything and it didnt work

---------- Post added at 08:26 PM ---------- Previous post was at 08:23 PM ----------

wow i didnt even notice that. it must have been in the esa ctv file ill edit that out and see what happens

---------- Post added at 08:29 PM ---------- Previous post was at 08:26 PM ----------

thats weird i copied and pasted from the ctv, dragon, and long march files and those lines arent in any of those files

---------- Post added at 08:33 PM ---------- Previous post was at 08:29 PM ----------

i edited those out and tried again and i got this warning:

>>> WARNING: Obsolete API function used: VESSEL::SetBankMomentScale
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
>>> ERROR: No vessel class configuration file found for:
---------------------------------------------------------------
>>> ERROR:
>>> [Vessel::OpenConfigFile | .\Vessel.cpp | 252]
---------------------------------------------------------------
>>> TERMINATING <<<
 
Last edited:

STS

Well-known member
Joined
Feb 1, 2009
Messages
534
Reaction score
274
Points
78
Location
Vigo
Website
orbisondas.es
Code:
BEGIN_DESC
A cooperative space effort to land on Mars, involving America, the European Space Agency, and the Chinese. Launch the four different capsules to dock with the mother ship, the Deepstar. Test fly Deepstar to the moon, land, and return to Earth. Next stop, Mars!
END_DESC

BEGIN_ENVIRONMENT
  System Deepstar/Sol
  Date MJD 76736.5176654107
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Deepstar
END_FOCUS

BEGIN_CAMERA
  TARGET Deepstar
  MODE Cockpit
  FOV 60.00
END_CAMERA

BEGIN_HUD
  TYPE Orbit
  REF AUTO
END_HUD

*
BEGIN_MFD Left
  TYPE Transfer
  REF Earth
  SOURCE Deepstar
  TARGET Moon
  SIMORBIT 1.90 3079.00 SHOW
END_MFD

BEGIN_MFD Right
  TYPE Orbit
  PROJ Ship
  FRAME Equator
  REF Earth
END_MFD

BEGIN_SHIPS
Deepstar:Deepstar/Deepstar
  STATUS Orbiting Earth
  RPOS 5180337.78 618136.57 -4350915.72
  RVEL 4924.999 19.684 5866.769
  AROT 0.04 -38.53 -5.23
  VROT -0.00 0.07 0.00
  PRPLEVEL 0:0.980
  DOCKINFO 
  IDS 0:522 100 1:524 100 2:526 100
  NAVFREQ 0 0
  XPDR 520
  RCS 1
  CTRL_SURFACE 1
  CONFIGURATION 1
  CURRENT_PAYLOAD 0
  SEQ 0 -1 0.417861
  SEQ 1 -2 0.000000
  SEQ 2 -2 0.000000
  SEQ 3 -2 0.000000
  SEQ 4 -2 0.000000
  SEQ 5 -2 0.000000
END
*
Falcon 9:F9_M
  STATUS Landed Earth
  POS -80.5771995 28.5619578
  HEADING 90.00
  AFCMODE 7
  PRPLEVEL 0:1.000000
  NAVFREQ 0 0
  FSTATE 1
  FAIRING 1
  COVERS 1
  AUTOP 0
  PAYLOAD 1
  TIME 99.500752
  PRG 0.000000
  APG 0.000000
  LHEAD -1.000000
  PLTYPE 1
END
LC 40:LC
  STATUS Landed Earth
  POS -80.5771995 28.5619578
  HEADING 133.48
  AFCMODE 7
  PRPLEVEL 0:0.999951
  NAVFREQ 0 0
  HLDR 1 0.0000
  FRM 1 0.0000
  RLS 1 0.0000
END
*
LM2F:LM2F\LM2F5
  STATUS Landed Earth
  POS 100.2914100 40.9578800
  HEADING 60.00
  FUEL 1.000
  NAVFREQ 0 0
  CONFIG_FILE Config\LM2F\LM2F5.ini
  CONFIGURATION 0
  STAGE_STATE 2
  STAGE_IGNITION_TIME 0.000ISS:ProjectAlpha_ISS
  STATUS Orbiting Earth
  RPOS -4763638.78 4745916.69 -416446.54
  RVEL 5256.917 5052.923 -2444.795
  AROT 30.00 0.00 50.00
  IDS 0:588 10 1:586 10 2:584 10 3:582 10 4:580 10
  NAVFREQ 0 0
  XPDR 466
END
*
END
zl3arms:Spacecraft/Spacecraft3
  STATUS Landed Earth
  POS -52.5595750 5.0600030
  HEADING 220.02
  PRPLEVEL 0:0.987
  NAVFREQ 0 0
  RCS 1
  CTRL_SURFACE 1
  CONFIGURATION 1
  CURRENT_PAYLOAD 0
  SEQ 0 1 0.000000
END
habtour2:Spacecraft/Spacecraft3
  STATUS Landed Earth
  POS -52.5594590 5.0602020
  HEADING 130.00
  NAVFREQ 0 0
  RCS 1
  CTRL_SURFACE 1
  CONFIGURATION 1
  CURRENT_PAYLOAD 0
  SEQ 0 1 0.000000
  SEQ 1 -2 0.000000
END
Ariane5:W-Ariane5\arES
  STATUS Landed Earth
  POS -52.5596280 5.0600480
  HEADING 130.00
  PRPLEVEL 0:1.000 1:1.000 2:1.000 3:1.000
  NAVFREQ 0 0
  CONFIG_FILE Config\W-Ariane5\arES-CTV-LEO4.ini
  GUIDANCE_FILE Config\W-Ariane5\CTV-LEO4-ISS.txt
  CONFIGURATION 0
  STAGE_STATE 2
  STAGE_IGNITION_TIME 0.000
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 1
END
  CURRENT_BOOSTER 1
  CURRENT_STAGE 1
  CURRENT_INTERSTAGE 1
  CURRENT_PAYLOAD 1
  FAIRING 1
  GUIDANCE_FILE Config\LM2F\LM2F_guidance.txt
END
JSLC_pad:JSLC_pad
  STATUS Landed Earth
  POS 100.2914100 40.9578800
  HEADING 47.37
  PRPLEVEL 0:1.000
  EXHAUST 1
  FLOODLIGHTS 1
END

There are some enters that doesn´t have o be there, I mark them with asterisks
 

yankeeman1028

New member
Joined
Jun 9, 2011
Messages
27
Reaction score
0
Points
0
thank you very much.:thumbup: that was all but now i have an entire long march rocket in orbit
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Code:
BEGIN_HUD
  TYPE Orbit
  REF AUTO
END_HUD

[b][color=#0a0]*[/color][/b]
BEGIN_MFD Left
  TYPE Transfer
{...}
  SIMORBIT 1.90 3079.00 SHOW
END_MFD

BEGIN_SHIPS
Deepstar:Deepstar/Deepstar
  STATUS Orbiting Earth
{...}
  SEQ 5 -2 0.000000
END
[b][color=#c00]*[/color][/b]
Falcon 9:F9_M
  STATUS Landed Earth
{...}
  PLTYPE 1
END

There are some enters that doesn´t have o be there, I mark them with asterisks
The empty line marked with green asterisk won't cause any error, but the one marked with red will. A line after "END" of a vessel in "SHIPS" block is treated like start of next vessel specification if it isn't END of "SHIPS" block.
 

yankeeman1028

New member
Joined
Jun 9, 2011
Messages
27
Reaction score
0
Points
0
i didnt pay close enough attention while i was copying and pasting, thanks.

i guess those lines i edited out about the booster stages must have been important to the long march rocket
 
Top