[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

User avatar
Gazz
Posts: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

[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.
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: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

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: 640
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, 15: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, 13:10
x2

Post by Ulfarus » Tue, 24. Nov 09, 15: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: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Tue, 24. Nov 09, 17: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: 1766
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Tue, 24. Nov 09, 18: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, 13:10
x2

Post by Ulfarus » Tue, 24. Nov 09, 20: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: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Wed, 25. Nov 09, 17: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: 3197
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang » Sat, 5. Dec 09, 04: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: 12430
Joined: Fri, 13. Jan 06, 17:39
x3tc

Post by Gazz » Sat, 5. Dec 09, 12: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: 38
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: 388
Joined: Sun, 18. Apr 04, 17:04
x4

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

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

LarryBurstyn
Posts: 270
Joined: Sat, 19. Nov 05, 20:26
x3

Post by LarryBurstyn » Mon, 17. Jan 11, 15: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: 1766
Joined: Thu, 1. Jul 04, 12:31
x4

Post by TSM » Sat, 24. Dec 11, 02: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

Post Reply

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