Git Product home page Git Product logo

smartpartsdiazo's Introduction

Klockheed Martian Engine Manufacture - Smart Parts Pack
--------------------------------------------------------------

Visit the official forum thread for more information: http://forum.kerbalspaceprogram.com/threads/64227


* Original by dtobi: https://github.com/dtobi/km_SmartParts
* Maintained by BrettWebb: https://github.com/BrettWebb/KerbalSmartParts
* Continued by Diazo (this repository)

Parts:

* Auto-staging device that detects empty tanks, SRBs, batteries, etc.
* Timer that triggers stages and action groups after a countdown
* Remote controller that triggers actions on nearby vessels
* Altimeter device that triggers actions and stages once altitude hits configured target
* Radial fuel controllers that control fuel lines' flow
* In-line fuel controller that controls fuel flow
* Flameout detectors for jet engines
* A fuel valve



------------------------------

About the pack:

Smart Parts control action groups and some other features (light, SAS). Gear control is too unreliable to be added. Most Smart Parts offer a "Select" tweakable that controls the desired action; the field above shows the selected action.

Installation Instructions
-------------------------
Before updating remove old Klockheed Martian Parts and, if using Space Shuttle Engines, update them.

Staging Controllers (also check example crafts Firefly and Explorer)
----------------------------------------------------------------------
The Staging Controllers must be attached to a fuel tank or SRB. The device detects when the attached fuel tank has drained and then, depending on the device, can fire an action group or stage.
Staging indicators can be made by assigning a light to an action group and automatically triggering that action group from via proper stager.
How to use the Staging Controllers (also check example crafts Firefly and Explorer)

Fuel Breakers and Controllers
-------------------------------
Controls fuel drain via action groups and a context menu. Breakers break one large fuel tank into segments that fuel lines can individually drain, far less shifting overall center of mass.

Radio Controller
-------------------
Sends events to other radio controllers on a channel. All radio controllers in range (typically < 2000 m) will execute the command if the channel matches. You can also set the throttle and heading of remote vessels.

Timer
------
Triggers a delayed staging or action group event. The staging event is executed on the vessel to which the timer is attached, therefore able to trigger a timed action even on an inactive vessel (e.g., a separated booster).

Valve
------
Drains excess fuel. It can drain LF, LFO and RCS. Attach it to the tank of a resource that you would like to drain. Provides nominal amount of thrust, useful to push external tank away from shuttle on seperation.

Changelog:

v0.1.0 Initial release
v0.2.0 Trigger improvements
	* Heading control over radio
	* Improved altimeter device (Thanks to Firov)
	* Bugfix in the timer code
	* Fixed overly long part names
	* Added example craft
	* Corrected size descriptions of fuel breakers
v1.0.0 Smart Parts Update and New Example Craft
	* Added example craft for smart parts
	* Minor fixes for smart parts
	* Optimized altimeter scale
	* Made fuel detector more robust against remaining fuel in empty tanks
	* New KM_Lib.dll
v1.1.0 Fuel Valve and Detail Improvements
	* Activation and deactivation action group commands for altimeter and fuel detector
	* Beep command to beep when a condition occurs
	* Fuel valve to drain excess fuel
	* Staging for the timer
	* Improved fuel drain detection (should not fire prematurely)
v1.2.0 Improved fuel sensor, valve and altimeter
	* The stager now works with any resource (including electric charge and custom resources)
	* The valve now works with any resource (excluding electric charge). Other resources (e.g., real fuels should work, too.)
	* Removed double word in descriptions
	* Tweakable added to allow removal of timer staging icon
	* Altimeter altitude detection logic tweaked. Now works over water and buildings!
	* Altimeter no longer requires specifiying if it fires "above" or "below"
	* Altimeter now supports automatic reset as a result of above change
v1.3.0 Improved parts and bugfixes
	* Fixed bug that resulted in a lack of physics on parts ejected by altimeter
	* Fixed bug that created an empty stage whenever staging was activated by a SmartPart
	* Fuel valve now generates minimal amount of thrust and can be staged
	* Timer timescales adjusted. Added 0-30 seconds in .2 second increments and .5 to 60 minutes in .5 minute increments
v1.4.0 Upgraded GUI, Improved parts, and KSP .24 compatibility
	* Compatibility with KSP .24
	* Implemented new GUI to allow more control of Smart Parts
	* Improved Stager
		* Works with any resources, including electricity or custom resources
		* Allows user to select resource to monitor in VAB/SPH
		* Allows user to select target percentage
	* Improved Fuel Controller
		* Crossfeed tweakable now accessible in VAB/SPH
		* Removed redundant fuel controller ("ON")
v1.4.1 KSP .24.1 compatibility
	* KSP .24.1 compatibility
v1.4.2 KSP .24.2 compatibility
	* KSP .24.2 compatibility
v1.4.3 Updated KSPAPIExtension and Real Fuels compatbility
	* Updated KSPAPIExtension to 1.7.0
	* Auto stager now fully supports Real Fuels and will auto update on tank resource change
	* No longer dependant on km_lib.dll
v1.4.4 Updated KSPAPIExtension to add KSP 0.25 compatibility
	* Compatibility update for KSP 0.25
	* Updated KSPAPIExtension to 1.7.1
v1.4.5 Updated KSPAPIExtension to add KSP 0.90 compatibility and bug fixes
	* Compatibility update for KSP 0.90
	* Updated KSPAPIExtension to 1.7.2
	* Hopefully fixed bug affecting timer firing upon save load or scene change
v1.5.0 Added support for Action Groups Extended
	* Added full support for Action Groups Extended (Thanks to Diazo)
v1.5.1 Added support for KSP-AVC and changed "brand"
	* Added support for KSP-AVC
	* Changed "brand" from Klockheed Martian to prevent mod incompatibilities
		* Please delete old Smart Parts folder before installing v1.5.1
v1.5.2 KSP 1.0 Repack
  * Update to KSPAPIExtensions 1.7.4
v1.5.3 Bug fixes
  * Timer module now uses game time, not real time
  * Fuel sensor now triggers at 0.1% when set to 0% to compensate for floating point errors
  * Add Kerbal Inventory System config so parts in this mod will stack, except Fuel Breakers as they are too large
  * The Enable/Disable staging for the Timer module is now available in both Flight and Editor modes

	 
	 
Credits and Acknowledgments
------------------------------
Thanks to swamp_ig and NathanKell for the KSPAPIExtension used in SmartParts
Thanks to cybutek for the KSP Add-on Version Checker used in SmartParts
	 
License	 
-----------------------------
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License. 
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/us/

Author: dtobi, Firov, and Diazo
------------------------------

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.