JPLRepo Posted May 25, 2017 Share Posted May 25, 2017 This is the Official API documentation. Here are the Doxygen docs for KSP 1.12.0 Quote Link to comment Share on other sites More sharing options...
Azimech Posted May 25, 2017 Share Posted May 25, 2017 Perfect! Thanks! Quote Link to comment Share on other sites More sharing options...
Papa_Joe Posted May 25, 2017 Share Posted May 25, 2017 Thanks Much! Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 25, 2017 Share Posted May 25, 2017 Is it the same url or a new one? Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted May 26, 2017 Share Posted May 26, 2017 1 hour ago, linuxgurugamer said: Is it the same url or a new one? Same. My autocompleted CelestialBody bookmark is updated to remove theName. Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted October 6, 2017 Author Share Posted October 6, 2017 The doxygen API docs have been published for 1.3.1 Same link as above. Quote Link to comment Share on other sites More sharing options...
Benjamin Kerman Posted October 6, 2017 Share Posted October 6, 2017 (edited) 17 hours ago, JPLRepo said: The doxygen API docs have been published for 1.3.1 Same link as above. So 1.3.1 has been officially released? Edit: I'm dumb, it is. Just checked announcements. Edited October 6, 2017 by Benjamin Kerman Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted March 7, 2018 Author Share Posted March 7, 2018 API documents updated for KSP 1.4.0 Quote Link to comment Share on other sites More sharing options...
rhoark Posted March 13, 2018 Share Posted March 13, 2018 Does anyone know specifically where the new scenario functionality resides? In particular, I'm wondering if it's possible to design a mission using the stock editor, then programmatically activate that mission in a sandbox/career context. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 13, 2018 Share Posted March 13, 2018 45 minutes ago, rhoark said: Does anyone know specifically where the new scenario functionality resides? In particular, I'm wondering if it's possible to design a mission using the stock editor, then programmatically activate that mission in a sandbox/career context. By "stock editor" I assume you mean the Mission Builder editor? The short answer is no, missions need the Mission Builder DLC Quote Link to comment Share on other sites More sharing options...
rhoark Posted March 13, 2018 Share Posted March 13, 2018 By stock editor I mean Squad-supplied, with the DLC. My understanding is the created missions are run by choosing "Scenarios" at the main menu. I am wondering if a plugin could load a saved mission into career mode. Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted March 13, 2018 Author Share Posted March 13, 2018 The official API docs have been updated in the link in the opening post. Including the Making History Expansions part of the API. 2 hours ago, rhoark said: Does anyone know specifically where the new scenario functionality resides? In particular, I'm wondering if it's possible to design a mission using the stock editor, then programmatically activate that mission in a sandbox/career context. You could try... but it would be very difficult. Missions are designed to specifically ONLY run in mission mode. and cannot be added to the other game modes. Quote Link to comment Share on other sites More sharing options...
sebi.zzr Posted March 14, 2018 Share Posted March 14, 2018 23 hours ago, JPLRepo said: The official API docs have been updated in the link in the opening post. Including the Making History Expansions part of the API. Will there be any "modders notes" for both 1.4.1 and DLC? Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted March 28, 2018 Author Share Posted March 28, 2018 The API docs have been updated for KSP 1.4.2. Link updated in the opening post. Quote Link to comment Share on other sites More sharing options...
N70 Posted March 29, 2018 Share Posted March 29, 2018 Guessing Game.Modes.MISSION means a Making History mission builder mission? Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted April 27, 2018 Author Share Posted April 27, 2018 The API docs have been updated for KSP 1.4.3. Link updated in the opening post. Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted April 27, 2018 Author Share Posted April 27, 2018 On 3/29/2018 at 7:50 PM, N70 said: Guessing Game.Modes.MISSION means a Making History mission builder mission? NO it means the game is running a save/game in Mission mode. Quote Link to comment Share on other sites More sharing options...
DrDam Posted April 30, 2018 Share Posted April 30, 2018 (edited) I @JPLRepo In the class "module Engine" ( https://kerbalspaceprogram.com/api/class_module_engines.html) they are 5 attributs containing curve data : atmosphereCurve : a curve to determine loss or gain of thrust due to changes in atmosphere vs vacuum values are based on ISP to ATM Pressure atmCurveIsp : Same as atmCurve, but changes Isp not flow atmCurve : Normally thrust is proportional to density, but we allow tuning. Tuning is especially needed because there's no stratosphere, so temperature keeps decreasing and thus speed of sound keeps decreasing velCurve : replacement for the existing module's velocityCurve. Note that its x value is Mach, not m/s velocity. High-bypass turbofans will see thrust decrease steadily from static. Low-bypass turbofans and turbojets will see thrust decrease slightly up to about 0.2 Mach then increase steadily until the limit is reached (both in terms of heat, and incoming compression vs compressor compression). Ramjets have 0 static thrust, and do not light until 0.3 Mach or so, but once lit have steadily increasing thrust until Mach 5, when the incoming air can no longer be slowed to subsonic (combustion must be subsonic for ramjets). Thermal limits also apply, of course. For heat limits, see machLimit, below. velCurveIsp : Same as velCurve but changes Isp not flow For the atmosphereCurve, in some parts, the curve are compose by 2 values ( Atm / ISP), but in other ( like toroidalAerospike cfg file) curve points are composed by 4 values : Spoiler 0 340 -50 -73.71224 1 290 -21.23404 -21.23404 5 230 -10.54119 -10.54119 10 170 -13.59091 -13.59091 20 0.001 What is the signification of the 2 others ( -50 and -73.71224) ? The atmCurve seems limited only to JetEngine, each point are composed by 4 values, what are their signification ? ( same as atmosphereCurve ) ? Same question for the velCurve, each point are composed by 4 values, what are their signification ? ( Mach Number, ? , ? , ? ) ? I have not found parts with atmCurveIsp or velCurveIsp attributs in .cfg files Edit : In the same way, there are a real distinction between Engine implementing ModuleEnginesFX class against those implementing ModuleEngines class ? ( I work on configuration files) Thanks DrDam Edited May 5, 2018 by DrDam Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted May 6, 2018 Author Share Posted May 6, 2018 On 4/30/2018 at 11:50 PM, DrDam said: I @JPLRepo In the class "module Engine" ( https://kerbalspaceprogram.com/api/class_module_engines.html) they are 5 attributs containing curve data : atmosphereCurve : a curve to determine loss or gain of thrust due to changes in atmosphere vs vacuum values are based on ISP to ATM Pressure atmCurveIsp : Same as atmCurve, but changes Isp not flow atmCurve : Normally thrust is proportional to density, but we allow tuning. Tuning is especially needed because there's no stratosphere, so temperature keeps decreasing and thus speed of sound keeps decreasing velCurve : replacement for the existing module's velocityCurve. Note that its x value is Mach, not m/s velocity. High-bypass turbofans will see thrust decrease steadily from static. Low-bypass turbofans and turbojets will see thrust decrease slightly up to about 0.2 Mach then increase steadily until the limit is reached (both in terms of heat, and incoming compression vs compressor compression). Ramjets have 0 static thrust, and do not light until 0.3 Mach or so, but once lit have steadily increasing thrust until Mach 5, when the incoming air can no longer be slowed to subsonic (combustion must be subsonic for ramjets). Thermal limits also apply, of course. For heat limits, see machLimit, below. velCurveIsp : Same as velCurve but changes Isp not flow For the atmosphereCurve, in some parts, the curve are compose by 2 values ( Atm / ISP), but in other ( like toroidalAerospike cfg file) curve points are composed by 4 values : Hide contents 0 340 -50 -73.71224 1 290 -21.23404 -21.23404 5 230 -10.54119 -10.54119 10 170 -13.59091 -13.59091 20 0.001 What is the signification of the 2 others ( -50 and -73.71224) ? The atmCurve seems limited only to JetEngine, each point are composed by 4 values, what are their signification ? ( same as atmosphereCurve ) ? Same question for the velCurve, each point are composed by 4 values, what are their signification ? ( Mach Number, ? , ? , ? ) ? I have not found parts with atmCurveIsp or velCurveIsp attributs in .cfg files Edit : In the same way, there are a real distinction between Engine implementing ModuleEnginesFX class against those implementing ModuleEngines class ? ( I work on configuration files) Thanks DrDam They are the Keyframe.inTangent and Keyframe.outTangent on the Unity AnimationCurve.https://kerbalspaceprogram.com/api/class_float_curve.html Unity uses cubic bezier curves for calculating these, or if you define them in the cfg then the tangent will be set to these values. This old post might help explain: https://forum.kerbalspaceprogram.com/index.php?/topic/84201-info-ksp-floatcurves-and-you-the-magic-of-tangents/ Quote Link to comment Share on other sites More sharing options...
DrDam Posted May 16, 2018 Share Posted May 16, 2018 @JPLRepo : thanks Quote Link to comment Share on other sites More sharing options...
Val Posted May 16, 2018 Share Posted May 16, 2018 Moved some post regarding the Wiki to its own thread. Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted June 21, 2018 Author Share Posted June 21, 2018 The API docs have been updated for KSP 1.4.4. and Making History 1.3.0. Link updated in the opening post. Quote Link to comment Share on other sites More sharing options...
DrDam Posted June 23, 2018 Share Posted June 23, 2018 @JPLRepo : Where can I found planetary Data like Go or atmosphereCurve like profile in files ? Quote Link to comment Share on other sites More sharing options...
Sprize Posted June 28, 2018 Share Posted June 28, 2018 (edited) Hello there would not be a part tool for KSP 1.4x version it would be nic to create my first KSP mod Edited June 28, 2018 by Sprize Quote Link to comment Share on other sites More sharing options...
JPLRepo Posted July 27, 2018 Author Share Posted July 27, 2018 The API docs have been updated for KSP 1.4.5. and Making History 1.4.0. Link updated in the opening post. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.