Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
If you really need collision avoidance, you can use a remote control block to fly you near, and you can set the last Waypoint to activate this script.
The flying nose forward issue you raise is just down to the way I chose to do movement. It's too complex to work out which way "forwards" is, so it just continues in the rotation you start it in.
Alternatively, you can set a waypoint just before the connector using the scripts Waypoint feature and it will remember set rotation then
Too bad it doesn`t avoid collision like the game`s autopilot feature. I even set waypoints high above the connector but the ship will always fly straight to the connector no matter what---while hitting on everything in it`s path.
I wonder why the ship doesn`t use the waypoints created and why it doesn`t maintain its initial altitude until it reaches the connector.
"Hi, I'm afraid this script does not use collision avoidance! It just used clever maths to estimate where a clear path might be, but it can't actually sense things.
If you really need collision avoidance, you can use a remote control block to fly you near, and you can set the last Waypoint to activate this script."
If your waypoints aren't working, that's another matter entirely! One I can help you try to fix.
If the screen says 2-3 waypoints added then it sounds like you are successfully writing them to memory. Check you are saving the waypoints to a particular argument that you then use in the future, perhaps you are doing this step wrong?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2559461462
But with no success, maybe you can look at it?
It's placing dynamic gps(to use with collison avoidence by RC), but it place gps directly on PB.
If it would be possible to set GPS related to PB by some Vector and direction, it may fix ann issue with collision on your script.
Let me know what to you think about it! :)
But your's don't place any GPS coords in game, and this one do.
I was thinking for a hybride that's use gps created by this script to avoid collisions, and when ship will find ship/station in sensor range will execute your's
A hardy thank you and a slap on the back for a job well done! keep up the good work!
Love the script, and I use it exactly as you recommend with remote control autopiloting to a set approach point, followed by recorded docking route waypoints in this script. But one thing bugs me. The (not) nose forward issue is actually because you have it rotate to attitude of next waypoint first, then you translate to the waypoint--hence sideways flying. If you could possibly reverse that--translate first THEN rotate on arrival--it'll more closely replicate what was flown during the original waypoint recording. I tried flying one run with the bool rotate_during_waypoints set to false, to see if it would correct the attitude sequencing ... that was a disaster, with a wonky attitude held throughout the waypoint route even onto the connector at the end; I immediately set that back to true. Anyway, script still works swell as is, as long as there are a couple of recorded waypoints with good attitudes just prior to the final docking connector. It just disturbs my sensitive pilot's ego to see my ship careening around the approach pattern off-angle until the very end. Cheers!
1) From stop, at initial approach location, point ship in the direction you want to fly to NEXT position in the approach pattern.
2) Run w/ "record" argument; run again with "approach name" argument; run again with same argument to set initial script waypoint (which already has correct attitude for pathing to next waypoint).
3) Fly to next approach position & stop (minimize rotational movements as much as possible). Run to set 1st part of "double-waypoint."
4) Rotate to point at NEXT approach position. Run to set the 2nd part of "double-waypoint."
5) Fly to next position, and repeat "double-waypoints," until docked.
Now in practice, fly to initial approach point either manually or via auto-pilot (I have a GPS marker there, so I can always find it, or easily plop it into auto-pilot route in remote control block). When you activate the auto-dock script, ship rotates to point at next position, flies straight at it, then rotates after arriving at that position. Same for each leg of the pattern where you've set the "double-waypoints." Ahhhhhh ... precision.
Hi DM-Ratman
I like this haha. I agree this double waypoint solution is not ideal. Sadly I don't have time to make feature changes to this script, I'm just maintaining it and ensuring it doesn't break for everyone.
I bet it looks glorious when it does pilot your double waypoints route.
All the best,
Spug