Editing GPIS 2: Smack! Rescue

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 198: Line 198:
 
If the term “retro” sounds familiar, note that lowering your periapsis by the right amount and in the right place can set you up for reentry. Early spacecraft such as Mercury and Gemini had rocket packs dedicated to re-entry which were sometimes called “retro rockets.”
 
If the term “retro” sounds familiar, note that lowering your periapsis by the right amount and in the right place can set you up for reentry. Early spacecraft such as Mercury and Gemini had rocket packs dedicated to re-entry which were sometimes called “retro rockets.”
 
|}
 
|}
 
== Lua Script for Orbit Stabilization ==
 
 
[[Lua Script for Orbit Stabilization]]
 
 
This script is written using very basic Lua and Orbiter API calls. This is for two reasons:
 
*People just learning Lua are not exposed to some of the more advanced features of the language.
 
*I am just learning Lua, so I don't know much about these advanced features anyway
 
 
Notes:
 
*Configure Orbiter 2016 to display a Lua console window. This is accomplished by going to the "Modules" tab of the Launch Pad and checking "Lua Console" under "Script tools and drivers."
 
*Start the "Smack!" scenario. Using the scenario tab in the Launch Pad, go to "Delta Glider" and select "Smack!" by double clicking on it.
 
*Bring up the Lua console once the scenario starts with CTRL-F4.
 
*In the Lua console type "run ('Chapter2')." I used 'Chapter2' as the name of the script. If it is saved under a different name, use that name. The Lua script can be started at any time once the scenario has been initiated. It will wait for the vehicles to dock before continuing.
 
*Once upon a time, the script was written so that 10x time was used during vehicle separation. This has been disabled (commented out in the script) in order to better control separation distance.
 
*Movement to apoapsis is run at 100x time because a 1x time it takes a while (and some would get bored over this time period). This speed is maintained until about +/- 20 seconds before apoapsis. Time to apoapsis is displayed as an annotation.
 
*Main engines are fired at +/- 10 seconds before apoapsis to begin orbit stabilization. Orbit eccentricities for both vehicles are displayed as annotations.
 
*The script has finished when "End Script" is displayed in the Lua console window. This will occur 10 seconds after orbit stabilization has been achieved. Do not close the console window until "End Script" has been displayed.
 
 
 
 
  
 
== Space Tourist Time ==
 
== Space Tourist Time ==
Line 282: Line 262:
 
{| class="wikitable"
 
{| class="wikitable"
 
|'''Speeding Up the Planets'''
 
|'''Speeding Up the Planets'''
When you are out with your Orbiter virtual camera touring the Solar System, it’s really cool to speed up time and experiment with different views (mainly the F2 key, but Control-F1 gives more viewing options). First make sure you have all your spacecraft safely parked on something solid or in stable orbits with no autopilot buttons pressed (to avoid problems like uncontrollable spins and running out of thruster fuel when you’re not looking), unless you don’t care what happens to them – that’s OK, they bounce, and you can always start over with a new scenario.  
+
When you are out with your Orbiter virtual camera touring the Solar System, it’s really cool to speed up time and experiment with different views (mainly the key, but gives more viewing options). First make sure you have all your spacecraft safely parked on something solid or in stable orbits with no autopilot buttons pressed (to avoid problems like uncontrollable spins and running out of thruster fuel when you’re not looking), unless you don’t care what happens to them – that’s OK, they bounce, and you can always start over with a new scenario.  
  
First look at the Earth from a few thousand kilometers out. Speed up time with T to 1,000x or even 10,000x and watch the Earth spin, watch the clouds move around, and watch the Sun set and rise every few seconds (slow down with R). Use the right mouse button to spin your view around. Depending on what the target is and what you hold fixed (F2 cycles between target relative, absolute direction, and global direction), you will see these features change in different ways. Experiment! The orbits of the multiple moons of Jupiter and Saturn are interesting to watch when speeded up (use planetarium mode, Control-F9, to turn on labels for “Bodies”). The effects of rotations and changing Sun angles on the appearance of Saturn’s rings can be pretty amazing. It’s also cool to put the camera on one of their moons (Io at Jupiter is always nice) and target the view towards or away from something else, like another moon, or Jupiter, or the Sun.
+
First look at the Earth from a few thousand kilometers out. Speed up time with T to 1,000x or even 10,000x and watch the Earth spin, watch the clouds move around, and watch the Sun set and rise every few seconds (slow down with R). Use the right mouse button to spin your view around. Depending on what the target is and what you hold fixed (cycles between target relative, absolute direction, and global direction), you will see these features change in different ways. Experiment! The orbits of the multiple moons of Jupiter and Saturn are interesting to watch when speeded up (use planetarium mode to turn on labels for “Bodies”). The effects of rotations and changing Sun angles on the appearance of Saturn’s rings can be pretty amazing. It’s also cool to put the camera on one of their moons (Io at Jupiter is always nice) and target the view towards or away from something else, like another moon, or Jupiter, or the Sun.
  
 
It’s your Solar System, make it work for you.
 
It’s your Solar System, make it work for you.
Line 320: Line 300:
 
|style="text-align:right; width=33%;" |[[GPIS_3:_Hovering_At_The_Beach|Chapter 3: Hovering At The Beach]]
 
|style="text-align:right; width=33%;" |[[GPIS_3:_Hovering_At_The_Beach|Chapter 3: Hovering At The Beach]]
 
|}
 
|}
 
[[Category: Articles|Go Play In Space 03]]
 
[[Category:Tutorials|Go Play In Space 03]]
 
{{HasPrecis}}
 

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)