[SCR] Docking Lockup Fix + Upgrade (v6 - 13.06.09)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 813
- Joined: Fri, 11. Nov 05, 23:18
Version 6 released.
Corrected a typo. (rather an oddity of the script editor)
Since noone noticed so far, it didn't have any noticable effect anyway. =)
Corrected a typo. (rather an oddity of the script editor)
Since noone noticed so far, it didn't have any noticable effect anyway. =)
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Hi Gazz,
I'm using this script along with the Transcend II mod and while it generally works great in certain situations it gets confused. I'll try to explain...
The Trancend mod gives some ships both internal and external docking bays - the external intended for TS and larger ships. However with the docking fix running these externally docking ships elect to dock internally.
If the ship in question only has external docks then it works fine.
I know you wrote your script for vanilla TC but is this something fixable so it works with Transcend II and other mods which allow larger ships to dock externally?
Cheers,
Scoob.
I'm using this script along with the Transcend II mod and while it generally works great in certain situations it gets confused. I'll try to explain...
The Trancend mod gives some ships both internal and external docking bays - the external intended for TS and larger ships. However with the docking fix running these externally docking ships elect to dock internally.
If the ship in question only has external docks then it works fine.
I know you wrote your script for vanilla TC but is this something fixable so it works with Transcend II and other mods which allow larger ships to dock externally?
Cheers,
Scoob.
Try removing the docking computer from your big ships.
And what is the problem anyway?
You said that the ships dock. Internally, externally - docked is docked.
You're not describing a problem.
And what is the problem anyway?
You said that the ships dock. Internally, externally - docked is docked.
You're not describing a problem.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Hmm, maybe this explains the problems with the Hangarmod I experienced:Gazz wrote:Try removing the docking computer from your big ships.
And what is the problem anyway?
You said that the ships dock. Internally, externally - docked is docked.
You're not describing a problem.
The TS docked internally at the TL where it should have docked externally. When jumping into the TS I got effects as known for beamdock and LV's Dock TS, i.e. being lost somewhere between the stars.
(maybe it was caused by something completely different, but I'm no longer using Hangarmod and I'm happy enough with beamdock to not miss it )
Hi,
Yes, removing the docking computer would fix the issue of course. I just found it odd that the ship will insist on docking internally but with vanilla it will dock externally correctly. I guess there must be some extra check or something in vanilla so the docking ship choses an appropriate docking point.
Like you say docked is docked, however undocking = boom for these large internal dockers...sorta like trying to pass a whole watermelon I'd imagine...ouch.
Cheers,
Scoob.
Yes, removing the docking computer would fix the issue of course. I just found it odd that the ship will insist on docking internally but with vanilla it will dock externally correctly. I guess there must be some extra check or something in vanilla so the docking ship choses an appropriate docking point.
Like you say docked is docked, however undocking = boom for these large internal dockers...sorta like trying to pass a whole watermelon I'd imagine...ouch.
Cheers,
Scoob.
Well, noone mentioned any ships getting destroyed. Only that there would be some vague "problem".Scoob wrote:Like you say docked is docked, however undocking = boom for these large internal dockers...sorta like trying to pass a whole watermelon I'd imagine...ouch.
Alas, scripts can not tell if an object has multiple types of hangars.
Only if ship A is physically able to dock at object B and if object B has a matching docking slot free. This is just an overall total of all available docking bays.
Since the script can only use put into environment to fake-dock the ship it can not tell what kind of docking slot the ship is actually put in.
So this problem is unavoidable with objects that can dock more than one ship class. There is no way for a script to detect this situation.
For 99% of vanilla X3 this script should be perfectly safe. Worst case a TS tries to undock from the internal hangar of an argon trading station or somesuch...
Hmmm. However...
What if every ship in the game were invulnerable when undocking until it had traveled 200m + it's own ship length.
It would still not be perfect in some situations but maybe...
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
You were saying it would be silly to instantly dock across 24km of open space, I suppose you could look at it this way gazz: In eve you can dock with some stations from a HUGE unrealistic distance due to massive docking radii. However, there's a bit of RP they put in, when you dock, a message comes up saying "Your ship will be TOWED into station"
Applying this to your script could make large docking more feasible from a roleplay point of view.
By the way, is the flight paths hard coded for undocking? It would really help if the ships would dock facing OUTWARDS rather than inwards, it would allow them to launch away from the station rather into each other.
Applying this to your script could make large docking more feasible from a roleplay point of view.
By the way, is the flight paths hard coded for undocking? It would really help if the ships would dock facing OUTWARDS rather than inwards, it would allow them to launch away from the station rather into each other.
Signature.
I do not have problems with ships being destroyed, only with being sent into the void when trying to fly the docked the TS myself.Gazz wrote:Well, noone mentioned any ships getting destroyed. Only that there would be some vague "problem".Scoob wrote:Like you say docked is docked, however undocking = boom for these large internal dockers...sorta like trying to pass a whole watermelon I'd imagine...ouch.
It looks like I am outside and the ship still is landed (internally). After that I can only restart TC.
But I tried replacing this script with the original script files from the DVD and for me it behaved identically, so I think it is a different script that causes this (for me).
But your idea with turning of collisions while undocking might be a good thing anyway.
I don't think that this script is responsible because it always aborts the "auto docking" when used on the playership.ThomasAH wrote:I do not have problems with ships being destroyed, only with being sent into the void when trying to fly the docked the TS myself.
It looks like I am outside and the ship still is landed (internally). After that I can only restart TC.
Yah, but it's only an idea and leads to... different issues. =)But your idea with turning of collisions while undocking might be a good thing anyway.
A TS undocking from a complex needs to fly away from it. With collisions off it would not evade the complex hub but directly fly away from the docking clamps ignoring the hub structure.
So it might just as easily fly straight through the hub or another station... at which point the collision avoidance would come back on and it turns into a pretty but brief fireball.
So while the idea itself has merit, it will take a lot of brain sweat to secure it against all possible eventualities and turn it into a working concept.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
-
- Posts: 933
- Joined: Fri, 5. Mar 04, 17:23
Unfortunately I still get the lockups when trying to dock with my Magnetar. It doesn't happen as often(maybe?) but it still happens enough to be annoying.
Also sometimes the ship will try to fly through the Magnetar while trying to get to the docking "lane", dying in the process.
Thanks for trying though.
It docks at stations just fine strangely. How difficult would it be to simply make the ship appear inside the Magnetar once it gets within 500m or so?
Also sometimes the ship will try to fly through the Magnetar while trying to get to the docking "lane", dying in the process.
Thanks for trying though.
It docks at stations just fine strangely. How difficult would it be to simply make the ship appear inside the Magnetar once it gets within 500m or so?
That's all the "docking computer upgrade" does so if you give your ship one...
Doesn't work properly, though. Since the ship does not land, it cannot know where it would have landed. So it doesn't show up on ships with external docking like a TM.
Also, an M1 using this DC doesn't know, either. It may try to launch from small docking clamps or even an internal hangar...
Doesn't work properly, though. Since the ship does not land, it cannot know where it would have landed. So it doesn't show up on ships with external docking like a TM.
Also, an M1 using this DC doesn't know, either. It may try to launch from small docking clamps or even an internal hangar...
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Buying docking computers for all ships I want to land on my Magnetar is a bit of a silly workaround for a stupid game design decision.
From a programming point of view they should fix the bug that causes this, but from a design point of view the bug shouldn't be there in the first place because it doesn't desperately need to show that tiny landing "animation".
Also the vanilla scripts don't use the docking computer when auto-docking.
I think my point is that the best solution to the docking problem is to simply not do a complete docking simulation; magically teleporting into the docking bay when 200m from the Magnetar will not only completely fix the whole docking issue forever, but it won't even be noticeable.
From a programming point of view they should fix the bug that causes this, but from a design point of view the bug shouldn't be there in the first place because it doesn't desperately need to show that tiny landing "animation".
Also the vanilla scripts don't use the docking computer when auto-docking.
I think my point is that the best solution to the docking problem is to simply not do a complete docking simulation; magically teleporting into the docking bay when 200m from the Magnetar will not only completely fix the whole docking issue forever, but it won't even be noticeable.
- Argonaught.
- Posts: 1827
- Joined: Wed, 6. Nov 02, 20:31
Can the script be altered to allow the playership to autodock when in range and has a docking computer installed?
Would be interested in a script that could do that while on auto pilot to a station to save all those key presses...I'm a bit lazy while flying around when not in combat.
Would be interested in a script that could do that while on auto pilot to a station to save all those key presses...I'm a bit lazy while flying around when not in combat.
[MOD]X3TC No Fog / [MOD]X3AP No Fog / [MD]X3TC Menagerie Shipyard / [MD]X3AP Menagerie Shipyard
<==<<Argonaught>>==>
XBTF>XT>X2TT>X3R>X3TC>X3AP>X4F
I lurk alot for the most part now
<==<<Argonaught>>==>
XBTF>XT>X2TT>X3R>X3TC>X3AP>X4F
I lurk alot for the most part now
No.Argonaught. wrote:Can the script be altered to allow the playership to autodock when in range and has a docking computer installed?
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
I had the same issue, but not with Gazz's mod. In vanilla, if you order a ship to dock with your Magnetar that's too close to a station, that ship will either freeze right next to it, or make several fly-by's before it gives up and freezes.Mystery00 wrote:Unfortunately I still get the lockups when trying to dock with my Magnetar. It doesn't happen as often(maybe?) but it still happens enough to be annoying.
Also sometimes the ship will try to fly through the Magnetar while trying to get to the docking "lane", dying in the process.
Thanks for trying though.
It docks at stations just fine strangely. How difficult would it be to simply make the ship appear inside the Magnetar once it gets within 500m or so?
- Lord Dakier
- Posts: 3243
- Joined: Fri, 8. Dec 06, 13:45
-
- Posts: 4
- Joined: Fri, 23. Apr 10, 22:00
This script is fantastic; the lack of AI docking computer use was one of the first things I noticed, and I'm glad you found a solution. As mentioned previously, it doesn't seem to work with CLS/CAGs due to their unique travel routines. I haven't delved into editing yet, but I was wondering how difficult it would be if I wanted to enable them to utilize the docking computer. Would it be as simple as copy/pasting some code from this into those scripts?