Git Product home page Git Product logo

kos-utils's Introduction

#kOS Utils v1.2

This boot script is designed to offer some useful utilities to otherwise normal gameplay via the powers of the Kerbal Operating System mod. Using it requires absolutely no coding skills whatsoever, however the script itself is well-commented and designed to be an example of how you can use kOS to automate various tasks in Kerbal Space Program.

##How to install

  1. Download and install kOS (CKAN is great for this!)
  2. Download the kOS Utilities Script and place it in your [KSP install location]/Ships/Script folder (kOS will create this folder, however if you haven't run KSP with kOS installed, you may create it yourself).
  3. Attach a kOS CPU to your craft of choice
  4. In the tweakable menu for the CPU, select boot_kos_utils as the boot script
  5. Launch your ship and follow the instructions!

##Utilities included

  • Panel Util - Opens and closes your ship's solar panels based on whether you're in atmosphere or not. This prevents you from forgetting to open them and running out of power, or forgetting to close them and breaking them off in flight. Also opens the panels if the ship is landed and stationary.
  • Gear Util - Raises and lowers your ship's landing gear and/or landing legs based on how high you are off the ground. 100m is the default setting, although that can be changed in the script if you so desire.
  • Chute Util - Automatically deploys your ship's parachutes if you're descending below 10km and the chutes show as 'Safe To Deploy' in the right-click menu. Best used for capsules returning from orbit.
  • RT Antenna Util - Automatically deploys any extendable RemoteTech antennas once you leave the atmosphere and retracts them when you re-enter. This prevents you from forgetting to open your antennas and losing contact with your probe. Also opens the antennas if the ship is landed and stationary. Will continue to function even if there's no RT connection!
  • Fairing Util - Automatically jettisons all fairings on the vessel when you reach 95% of the current body's atmosphere height. This utility will automatically disable itself once it is fired. Compatible with stock, KW, and procedural fairings.
  • LES Util - Automatically jettisons the stock Launch Escape Tower when exiting the atmosphere or three seconds after a manual abort. This utility automatically disables itself once it is fired.
  • Autobrake Util - Automatically activates the wheel brakes on landing and releases them during takeoff.
  • Low Power Shutdown (always-on) - Automatically shuts down the kOS core if the ship's electric charge is below 10% and still falling.

I also left room in the menu for two more utilities for you to write! You can use the current utilities as an example of how to write one. Be sure to consult the kOS documentation and feel free to ask questions in the /r/kOS subreddit.

If you write a utility that you feel should be included with this release, I'll happily entertain a pull request!

kos-utils's People

Contributors

space-is-hard avatar tdw89 avatar

Watchers

Marc Vieira-Cardinal (VA2MVC) avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.