Skip to content

Commit

Permalink
Merge pull request orbitersim#454 from TheGondos/lua_dg_complete
Browse files Browse the repository at this point in the history
[Lua]Finish Lua DG
  • Loading branch information
jarmonik authored Apr 5, 2024
2 parents e405a81 + 561a7ca commit b6e23ac
Show file tree
Hide file tree
Showing 125 changed files with 2,400 additions and 204 deletions.
7 changes: 7 additions & 0 deletions Orbitersdk/samples/Lua/DeltaGlider/Config/DG-S.lua.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
; === Configuration file for vessel class DeltaGlider ===
ClassName = DeltaGlider.lua
Module = ScriptVessel
Script = DeltaGlider/DeltaGlider.lua
StrictMode = true
ImageBmp = Images/Vessels/Default/DeltaGlider.bmp
Scramjet = TRUE
65 changes: 65 additions & 0 deletions Orbitersdk/samples/Lua/DeltaGlider/Scenario/DG ISS Approach.scn
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
BEGIN_DESC
Lined up for docking at the International Space Station.

Watch the approach path indicator on your left MFD and the HUD approach markers while closing in on the ISS.

Use your linear RCS (Reaction control system) thrusters to keep aligned with the approach path.

Your final closing velocity should be less than 0.1 m/s.
END_DESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 51982.0975169074
END_ENVIRONMENT

BEGIN_FOCUS
Ship DG-01
END_FOCUS

BEGIN_CAMERA
TARGET GL-01
MODE Cockpit
FOV 50.00
END_CAMERA

BEGIN_HUD
TYPE Orbit
END_HUD

BEGIN_MFD Left
TYPE Docking
END_MFD

BEGIN_MFD Right
TYPE Orbit
PROJ Ship
REF Earth
TARGET ISS
END_MFD

BEGIN_VC
END_VC

BEGIN_SHIPS
ISS:ProjectAlpha_ISS
STATUS Orbiting Earth
RPOS 4770488.27 4245945.37 -2122703.08
RVEL 5242.970 -5610.802 567.655
AROT -110.00 -15.00 -84.00
IDS 0:1 100 1:2 100 2:3 100 3:4 100 4:5 100
NAVFREQ 0 0
XPDR 466
END
DG-01:DeltaGlider.lua
STATUS Orbiting Earth
RPOS 4771047.22 4246110.75 -2122707.67
RVEL 5242.499 -5610.933 567.655
AROT -137.35 48.57 117.57
PRPLEVEL 0:0.998 1:0.978
NAVFREQ 2 466
XPDR 0
DOCKSTATE 1 1.0000
AIRLOCK 0 0.0000
END
END_SHIPS
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
BEGIN_HYPERDESC
<h1>Delta-glider: Ready for takeoff</h1>
<p>The Scramjet delta-glider (DG-S) is ready for takeoff from runway 33 of the
Shuttle Landing Facility (SLF) at Kennedy Space Center.</p>
<p>Take off using main engines and climb to 10km. Then try the air-breathing
scramjet engines and test the performance for different speeds and altitudes.</p>
END_HYPERDESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 51982.6685767396
END_ENVIRONMENT

BEGIN_FOCUS
Ship GL-01S
END_FOCUS

BEGIN_CAMERA
TARGET GL-02
MODE Extern
POS 33.48 -20.71 -17.22
TRACKMODE TargetRelative
FOV 50.00
END_CAMERA

BEGIN_HUD
TYPE Surface
END_HUD

BEGIN_MFD Left
TYPE HSI
NAV 0 1
OBS 5.34 5.76
END_MFD

BEGIN_MFD Right
TYPE Map
REF Earth
BTARGET Habana
OTARGET ISS
END_MFD

BEGIN_VC
END_VC

BEGIN_SHIPS
ISS:ProjectAlpha_ISS
STATUS Orbiting Earth
RPOS 3905716.00 5029237.81 -2176232.41
RVEL 6106.986 -4686.841 139.471
AROT 110.00 -10.00 80.00
PRPLEVEL 0:1.000
NAVFREQ 0 0
XPDR 466
END
GL-01S:DG-S
STATUS Landed Earth
POS -80.6825940 28.5969240
HEADING 330.01
TANKCONFIG 1
PRPLEVEL 0:0.995 1:1.000 2:1.0
NAVFREQ 524 94 84 114
XPDR 0
AFCMODE 7
NOSECONE 0 0.0000
GEAR 1 1.0000
AIRLOCK 0 0.0000
PSNGR 2 3 4
RCSMODE 0
PANELCOL 4
END
END_SHIPS
Loading

0 comments on commit b6e23ac

Please sign in to comment.