[SCR] Convoy Control

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

[SCR] Convoy Control

Post by Gazz » Sat, 2. May 09, 22:43

English / Deutsch

Convoy Control

So you're flying an M2 with a leisurely top speed of 60 m/s.
You accept a convoy escort mission and find out that all the TS you are supposed to protect have a top speed of 80+ m/s.
You fail the mission.
The freighters get eaten because they leave you in the dust - their valiant (if mobility challenged) protector.

Now if *I* was a TS pilot I'd think twice about that.
Race to the destination, trying to shake fighters and corvettes... with a freighter.
Or... take my foot off the pedal and stay in the big fat shadow of an escorting destroyer...
Tough decision.
  • This script adds one Hotkey.
  • Press it while targeting any of the convoy ships to initiate the communication link.

    Once the link is established you can identify the convoy ships on the sector map.
    A "+" for the formation leader and a "-" for the other freighters.

    All convoy ships voluntarily lower their speed to a maximum of 90 % of your formation.
    If you fly a fast M6 but have an M2 currently following you, the speed of the M2 will be used.
  • If you have nothing or a non-convoy ship targeted, the hotkey will automatically target the convoy formation leader if one is present in the sector.
  • Press the hotkey if you have any convoy ship targeted and you signal the leader to wait.

    This lets all stragglers catch up and prevents the convoy losing cohesion.

    Repeating this command will cancel the request.

    Note that the captain may choose to completely ignore you if he's too busy getting his ship shot to pieces so try to avoid that.

    If the captain gets restless and turns on his autopilot again, you will be notified.
[ external image ] Download: ZIP


Resources used:
none
Last edited by Gazz on Sat, 2. May 09, 23:17, edited 7 times in total.
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.

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sat, 2. May 09, 22:43

** reserved **
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.

shilhi
Posts: 665
Joined: Sun, 15. Apr 07, 23:28
x3tc

Post by shilhi » Tue, 19. May 09, 01:24

Nice. This is quite useful. I've had that happen to me a few times. =/
Most annoying thing ever.

Spikend
Posts: 58
Joined: Tue, 30. Dec 08, 14:16
x3tc

Post by Spikend » Sun, 14. Jun 09, 16:35

Oh man, if this works, you're awesome! This is probably one of the scripts making me the most happy, since it's so annoying that you need to try to keep up with the convoy all the time when you're protecting it!

Thanks!

Ulfarus
Posts: 107
Joined: Fri, 13. Dec 02, 12:10
x2

Post by Ulfarus » Tue, 24. Nov 09, 14:03

Hi

Does this work with 2.5, I only ask as have installed it and each time I use the hotkey it locks my game up.

It may be my fault as I have quite a few mods running and am using Windows 7 64b. Glutton for punishment I know.

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Tue, 24. Nov 09, 16:40

Game updated practically never affect the function of scripts, no matter what those scripts do.
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.

User avatar
TSM
Not a Moderator
Posts: 2947
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Tue, 24. Nov 09, 17:55

Nice idea Gazz I have avoided convoy jobs because of the rushy off and get killed abilitys :)

Will use this now!

I am now running that many German made script's now I might aswell use German X3:TC :D.
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

Ulfarus
Posts: 107
Joined: Fri, 13. Dec 02, 12:10
x2

Post by Ulfarus » Tue, 24. Nov 09, 19:04

Thanks for the reply, it is probably a conflict with one of the other scrips/mods I have installed.

I will have to work out which one it is.

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Wed, 25. Nov 09, 16:11

Well, it could be a genuine bug but I can't see where.
It's one hotkey and 200some lines of script. That's pitifully simple.
Definitely no infinite loop in there which is the typical cause of X3 locking up.
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.

Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang » Sat, 5. Dec 09, 03:15

Gazz I noticed something with some convoy missions. SOME of them have military transports and thus since I try to use the convoy control on it it won't allow it even if there are cargo transport ships present in the convoy. might want to take that into account if you release another version of this in the future

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sat, 5. Dec 09, 11:18

Yah, it's a bit picky about what ships are a "convoy" because it was never intended that you are able to lower the speed of just about every ship in the universe. =)
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.

vincentf563
Posts: 39
Joined: Tue, 14. Sep 10, 11:34

Post by vincentf563 » Mon, 18. Oct 10, 02:12

I just put the ships in decending order by speed. then the entire convoy is chasing a ship that is faster than it is. This always seems to keep them from runing around in circles after eachother.
Vincent Farnham

Khaak_Slayer
Posts: 403
Joined: Sun, 18. Apr 04, 17:04
x4

Post by Khaak_Slayer » Sun, 16. Jan 11, 04:02

This sounds amazing, thank you so much for this.
Rawr.

LarryBurstyn
Posts: 295
Joined: Sat, 19. Nov 05, 19:26
x4

Post by LarryBurstyn » Mon, 17. Jan 11, 14:36

Have not had this problem since I don't escort convoys in a slow ship. But I stopped escorting ships because they DON'T fly through the stupid gates. There I sit for several HOURS waiting for some idiot to fly through the gate. Just when it looks like he'll make it a Xenon (or priate) will show up a shoot at the ship before I can even react...and what does the IDIOT flying the frieghter do...he turns away from the safety of the gate and starts a new try at flying through the gate.

User avatar
TSM
Not a Moderator
Posts: 2947
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Sat, 24. Dec 11, 01:45

Any reason why this would not work with AP? or shall I be guinea pig and find out?
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

Moizo
Posts: 70
Joined: Thu, 20. May 10, 09:12
xr

Post by Moizo » Sat, 24. Dec 11, 09:05

Let us know! :)

coolerking2
Posts: 1
Joined: Fri, 27. Nov 09, 22:17
x3tc

Post by coolerking2 » Tue, 16. Jul 13, 19:52

How do I install this

EgoGimb
Posts: 139
Joined: Sun, 2. Aug 09, 00:01
x3tc

Post by EgoGimb » Sun, 4. Oct 15, 22:25

Hiya, your download link leads to a "Library" link I dunno if you wanna fix it or not.
To live or Die that is the fate you seek.

User avatar
TSM
Not a Moderator
Posts: 2947
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Mon, 5. Oct 15, 00:08

EgoGimb wrote:Hiya, your download link leads to a "Library" link I dunno if you wanna fix it or not.
As far as I am aware all of Gazz's scripts lead to his libary of scripts.
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”