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