New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some issues with landing... #352
Comments
All sound like reasonable requests - will see what I can do! |
For point 3 on brakes, what would be awesome to go with this is wheel speed! Or at least a wheel locked indication because then I could make anti-skid! |
Here are some thoughts and questions:
|
|
I've added the bounding box RPCs. It was a bit more tricky than I first thought: using Getting the travel distance of the suspension is a bit tricky (there is no simple property to access it). However, there is a boolean |
I've also had a look into programmatically finding the runway locations. The only thing I could find is that each celestial body has a list of PQSCity objects attached to it. A PQSCity is a structure on the surface of a planet. For example, Kerbin has the following PQSCities (which include a position, relative to the center of the planet):
Unfortunately there's just a single entry for the KSC and the position is roughly 100m east of the VAB. To get the ends of the runway, you'd need to apply a manual offset to this position which, as far as I can tell, can't be found through KSP's API :( I don't want to hardcode this offset into kRPC, as it wouldn't be correct when you use mods that add new launch sites and move the KSC around. An alternative approach would be to place a flag at the ends of the runway and use the positions of them for guidance? I'll look into adding RPCs to get flag locations. |
Ok, i understand. May be in future we can improve this. I am simply add a txt file to my application with user defined runways and landing locations. And add location output in the interface, to get numbers for current position simply. If you can add the flags list, then i can append it to selection menu. So, issues 1, 2, 4 and 5 is resolved for now. Thank you. Waiting for other... |
Getting back to this after a long time...
|
For people still waiting for for p in vessel.parts.all:
if "parachute" in p.name:
for m in p.modules:
if m.has_event("Deploy Chute"):
m.trigger_event("Deploy Chute") |
I am working on a landing system for space planes and rockets, please look at this videos:
http://www.4shared.com/video/BA6po3Tece/KSP_x64_2016-09-25_18-00-16-96.html
http://www.4shared.com/video/zMDxxP_Mce/VLand.html
You can dowload it for hi quality.
I have some problems there:
The text was updated successfully, but these errors were encountered: