Jump to content

Search the Community

Showing results for tags 'programming'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements
    • The Daily Kerbal
  • Kerbal Space Program 2
    • KSP 2 Discussion
    • KSP 2 Dev Diaries
  • General KSP
    • KSP Discussion
    • Suggestions & Development Discussion
    • Challenges & Mission ideas
    • The Spacecraft Exchange
    • KSP Fan Works
  • Gameplay and Technical Support
    • Gameplay Questions and Tutorials
    • Technical Support (PC, unmodded installs)
    • Technical Support (PC, modded installs)
    • Technical Support (PlayStation 4, XBox One)
  • Add-ons
    • Add-on Discussions
    • Add-on Releases
    • Add-on Development
  • Community
    • Welcome Aboard
    • Science & Spaceflight
    • Kerbal Network
    • The Lounge
  • Making History Expansion
    • Making History Missions
    • Making History Discussion
    • Making History Support
  • Breaking Ground Expansion
    • Breaking Ground Discussion
    • Breaking Ground Support
  • International
    • International
  • KerbalEDU Forums
    • KerbalEDU
    • KerbalEDU Website

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 20 results

  1. kOS Scriptable Autopilot System v1.3.1.0 for KSP 1.10.1 and KSP 1.11.x (This is a continuation of the old thread about the kOS mod: ( 1.2.2 kOS scriptable autopilot system ).) kOS (Kerbal Operating System) is an autopilot you script yourself. kOS is to programming, what Kerbal Space Program itself is to rocket science. You don’t have to know what you’re doing to get started, but you may find yourself learning a lot by accident as you play with it. And if you already know a lot about programming, it will still be able to hold your interest. kOS is meant to scale with the skill leve
  2. NOTE: the below addons have not been explicitly tested in KSP 1.11, but I'm pretty sure they should work just fine. If you have any issues, let me know! I'm adopting a collection of extensions to kOS that I've found useful and fun: kOS-StockCamera (Adopted from @hvacengi) Allows kOS to control the flight camera and map camera. Documentation: https://github.com/JonnyOThan/KOS-stockcamera#description Download: https://github.com/JonnyOThan/KOS-StockCamera/releases License: GPLv3 kOS-EVA (Adopted from @Ger_space) Allows kOS to control kerbals on EVA. Documen
  3. I think it would be great to heave the ability to programm tasks for the Spaceship to perform... IN ADDITION to the action groups. When you want to design a Capsule that lands in water with parachutes but also got retro thruster to slow the landing. It would be cool to be able to programm the task to ignite the thrusters when reaching a specific height. For example 5 metres above surface height. It would also be great to add the possibility to perform a specific action after a certain number of time. Just like detaching two boosters + disabling the engine (like an action group) so th
  4. I found a potential bug in kOS, where I try to create a maneuver node from a list of four values, and it returns the error "Cannot iterate on an object of type kOS.Safe.Encapsulation.ScalarIntValue. What's going on?
  5. I'm trying to revive someone else's kOS code for rover pathfinding using A*, but their code is so messy I can't make heads or tails of it. Can someone help me? The Reddit post featuring the code is here:
  6. [Edit: For the updated stand-alone version of this tutorial, go here] So I started off getting my video recording & editing software back so I could make an animated GIF for reddit to showcase my robotics powered rover deployment system. But of course I ended up remembered how much fun doing videos can be, and wanted to share the method I found that took my programming time from 3+ hours to less than 1, so the 6+ hours I'd spent programming the arm & doing a comedy showcase GIF ended up spiraling into another 8+ hour editing session. I think it's my most polished video t
  7. I have Asperger even if I was kid I was suspected (wrongly) that I have ADHD I could not learn the multiplication table, which was required in my country, Poland I can not do it until today, and I am almost 33 years old I often flunk math I could make calculations, but only with the help of a calculator. I remember once from boredom I started playing with a calculator and started to add numbers to each other. The teacher saw it and asked what I was doing? I apologized to him, and I said I was just having fun. This teacher said that I was just doing the Fibonacci sequence, do not even know
  8. Got a problem with flacon heavy script, its saying "Cannot find sensor for ACC", and sending to this lines of script: SET vertAcc TO sProj(SHIP:SENSORS:ACC, UP:VECTOR). SET dragAcc TO g + vertAcc. //vertical acceleration due to drag. Same as g at terminal velocity What is ACC, and how to fix this error ? KSP version 1.5.1 (macOS), and latest kos. P. S. Its not my script I just download it so don't be very mad for my stupidness.
  9. Hi, I'm a student games programmer in my final year of University. I absolutely love KSP as it has given me a greater understanding of the difficulty and science behind real life space missions! I really want to make a simple 2D space sim game in order to buff out my portfolio (and for fun of course!). I've looked everywhere on the internet and forums for suggested methods of programming realistic gravity physics for orbiting etc. The problem is the methods I try are inconsistent or unrealistic... Looking at KSP it looks like they calculate trajectories and then put the ship on rails
  10. I want to launch a model rocket with a stability assist system and trajectory system. I want to code it myself but I honestly have no idea what I'm doing. Further I'm terrible at coding in general. Is their any very simple to use code, simpler that kOS, that I can use for this? I would be fine with drag and drop but I cant find anything for robotics that can run multiple programs. Just programs that do a do b do c etc. Any suggestions? Also it would need to run with any simulator that could handle it only because the rocket will take time and money I don't have and I would want the softwa
  11. Yeah, so I would have liked to post this in the Addons section because I'm looking for help from coders and/or math geeks, but since it isn't really KSP-related, I decided on this place. Mods, please do move the topic if you feel it would fit in a more specialized section. Anyway. Here goes: I'm making a little 2D arcade space game that basically puts "Lunar Lander"-like elements in a tiny solar system with orbiting planets and moons. Fuel efficiency is obviously going to be an important gameplay point, and so I want players to use gravity assists etc. For that, I need
  12. Hello guys, I need some help over there. I need to know, how can I get the vector that always poits to the certain spot on the orbit. I'll try to explain. For example, I'm on my stable orbit. And I decide "Oh, such a nice place, I need a vector that starts on my craft and poiting there". Are there any built-in functions in KOS to help me? Or may be I can do it using maths somehow? I've spent a whole day trying to solve it, but nope, I don't know how to do it. Illustrative picture is here (I'm a newbie, so I dont know how to attach my pic without URL). Thx a lot
  13. LASA Robotic Space Program (Lukes Awesome Space Agency) I bring you the Robotic Space Program from LASA. This is somewhat of an experiment/challenge for myself. But I also like story telling so I figured I'd make this thread here. What is the plan then? Well I plan to fly all flights IVA (Hudless where possible) unless they are being controlled by KOS controllers or other similar computer based options. I won't fly remote missions manually though I will manually load scripts to the vessel computers for performing the flights. I'll provide copies of all my scripts in this post. All
  14. Is there a mod that allows me to program actions ahead of time. For instance, I would like to use remote tech for added comms delay realism, but for it to work properly I need to be able to program a robot (which can range from a probe to a rover) to behave according to my specifications, given certain sensor or navigation inputs), effectively, robot programming. Is there a mod that allows me to do this? Does infrenal robotics do this?
  15. I don't have very much experience coding, I have only learned HTML and a bit of Javascript. The only mods I'm able to create are basic part mods and I use textures from other mods (No, I don't release any of them...) and I also use their configs and stuff.What am interested in is Mods to edit terrain and create parts and add Moar physics! So, Does anyone have a recommended language to write these mods? Also what 3d editing software? (Paint 3d?) How to put Everything together? And how the heck to you use unity?
  16. I've got serious problem with using a List / Dictionary collection classes where adding data in one event does not propagate to other event. Code example: using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace TestPartPlugin { public class TestPartPlugin : PartModule { public struct teststruct { public string s; public int i; } public class testclass { public string s; public int i; } // this is shared am
  17. Hi, I have a couple questions on how I would program something like this: - I've already made a "Teleporter" part that can hold 6 kerbals. - I want to program it so you can: 1. Select any other Teleporter within 1000km 2. Hit a button and make the Kerbals disappear from the sending pad and reappear at the recieveing pad after a short delay. 3. Have small chance of catastrophic failure. (I.E. Death of all teleportees) How would I do that? Cheers, UbuntuLinuxKing
  18. So I had always known how to find how much delta-v a spacecraft had but what about efficiency. The efficiency is the ratio of mass wet to delta-v relative to mass dry you can graph the relationship with v=isp*ln(1+w/d) Final I took calculus and I've written an equation so you can find the best amount of fuel based on of payload(anything that is not fuel tanks) and the added weight of the fuel tank shells and isp also you can change the efficiency the payload isp, isp is p, and efficiency is e first, divide e by 10000 side note the value is just representative how close you
  19. I'm trying to write a general one size fits all launch script based around Powered Explicit Guidance, but the math is way over my head, and I'm not quite patient enough to write all those formulas... Can someone help me develop this? I want the final product to be able to pilot a ship from the launch pad to an orbit defined by apoapsis. periapsis, inclination, longitude of ascending node, and argument of periapsis, with the first two being the only mandatory arguments. I am using a heavily modified (mostly trimmed) variant of Seth Persigehl's launch script for the in-atmospheric flig
  20. So as a proper, over ambitious programmer, I decided to tackle a problem that is at least 3-6 years worth of education above my head, delving into big scary math where nobody my age (nor my teachers for that matter) have dared bury their heads in equations before. For context, this is where my problem comes from : http://www-evasion.imag.fr/Membres/Fabrice.Neyret/NaturalScenes/fluids/water/waves/fluids-nuages/waves/Jonathan/articlesCG/simulating-ocean-water-01.pdf I want to try to simulate ocean waves before I get into other scary water related math problems. I currently have two pro
  • Create New...