1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

Tweaking Gravity ?

Discussion in 'Gameplay Help' started by Capt.SkuLL, May 28, 2020.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Capt.SkuLL

    Capt.SkuLL Apprentice Engineer

    Messages:
    152
    I did a lot of thread hopping in the forum recently looking for answers about simulating an orbit around earth.
    if found out that in conclusion it is not possible due to too many factors.
    there are scripts but i think i have seen someone mentioned that game tick issue again that could render the scripts skipping a mili sec or something.

    so i have given up on the idea of simulating an orbit but i have thought about pretending to be in orbit but not in the Thrusters maniac way. anyway i thought i should explain my target first before i ask

    can i move, the zero gravity height to a much lower level ? i mean the G on the ground remains 1.0
    but i want to have zero gravity at the point where i get 0.40g in current system gravity.
    maybe increasing gravity decay per height ? idk.
    the reason is that im trying to build an ISS type of station up there but without the use of thrusters i can only maintain that position in zero gravity which is way further from the planet.

    what i noticed in game is that from 0.05g it jumps to 0.00 instantly. skipping 0.04.
    but jumping from 0.40g to 0.00 instantly is also not my aim.
    just increasing the gravity decay from 1.0 on the ground to 0 about 78km from the core.

    if this is possible, is there a downside ? im not going to be floating on top of a mountain am i ?
     
    Last edited: May 28, 2020
  2. Malware

    Malware Master Engineer

    Messages:
    9,867
    What? No. That's not how scripts work. For high-precision work (which is very rarely needed even for something like orbit scripts) you can even have the script run every single tick. That's 60 updates a second, the same frequency the game itself runs on.

    It is definitely possible to simulate orbits with scripts, obviously using thrusters. It's been done. I am sorry I can't point to any scripts as I don't use 3rd party scripts, but it has been discussed on the Discord programmable block channel. It's not easy of course since you have to do all the math yourself, but it is absolutely possible.

    I mean, or you could go the very easy route and simply create remote control waypoints all around the planet, I guess.

    - - -

    I believe you'd have to create a modded planet in order to adjust gravity. However the grand problem is that the gravity falloff is too steep - creating too small a window - and I believe this value is unmoddable. I do, however, believe that people have been able to establish a stable-ish orbit around one of the moons.
     
  3. Capt.SkuLL

    Capt.SkuLL Apprentice Engineer

    Messages:
    152
    could it be possible for a script that doesn't use thrusters to maintain a stable orbit around the planet ? like accelerate and forget.
     
  4. Malware

    Malware Master Engineer

    Messages:
    9,867
    I'm not really the right person to answer that. Too much math :p In theory, I guess, but in practice I suspect it would be too hard. Again too small a window, and it would probably be enough to simply have another ship dock to it, and the orbit would fail.

    I mean, even our own ISS has attitude thrusters to keep it up there.
     
  5. NoThanks

    NoThanks Apprentice Engineer

    Messages:
    479
    Not to beat a dead horse... but couldn't you angle it just right with dampeners off and thrust override set at a miniscule value to keep your ship moving in a wide arc, effectively creating an orbit?
     
  6. Capt.SkuLL

    Capt.SkuLL Apprentice Engineer

    Messages:
    152
    but that is the problem that they are telling me. you would have to set it at a certain speed to try and maintain that orbit. it could still go off course or crash into the planet.
     
Thread Status:
This last post in this thread was made more than 31 days old.