[SCR] Fix for manual jumping (v1.20)

The place to discuss scripting and game modifications for X³: Reunion.

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

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

[SCR] Fix for manual jumping (v1.20)

Post by Gazz » Thu, 10. Apr 08, 23:17

Das entsprechende deutsche topic ist hier.

If you use a Nav Command to jump your ship somewhere then all Wingmen and Escorts will jump with you.

If you use the Jumpdrive Hotkey they stay behind, wondering where you went. Morons.

This AL-Script finally fixes that. (And it only took 2 years!)

If escorts have too little energy (or no jumpdrive at all) they complain with an audio message so they won't get lost unnoticed.
No logbook entry. There's too much spam in there already.

They also complain if they get left behind when you do an autopilot controlled jump. (from the nav menu)
So no matter how you jump, you are notified when your escorts get left behind.

Only the direct escorts of the playership are checked. If the escorts have escorts, too, you have to take care of them. (*)

Image (ZIP)

Installation: Copy both files into the scripts folder.

Deinstallation: Turn it off in the AL settings menu or simply delete those 2 files from the script folder. There are no side effects.

V1.20: Fixed exessively long pause when script disabled / no jumpdrive
V1.12: Fixed endless loop bug on a new installation.
V1.10: Complete overhaul of the jumping procedure to be more inline with standard scripts.
V1.03: Script does nothing whatsoever when the player himself has no jumpdrive.
V1.02: Proper detection of followers doing AP controlled jumps already
V1.00: Followers only perform a next sector jump if they would have to fly 17+ km to reach the gate the player is at.
So if you only jump next sector but to a far gate, they will jump.


(*) The code to check the full formation already exists except for 2 lines but is disabled.
Their escorts will try to follow using the jumpdrive - my script merely doesn't play any audio messages for them.
Last edited by Gazz on Sun, 14. Sep 08, 00:48, edited 4 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.

natha
Posts: 431
Joined: Wed, 9. Jan 08, 09:04
x4

Post by natha » Thu, 8. May 08, 20:54

Great script this! I had big issues using the command console especially when i need to disengage the fight quickly (survive to fight another day and the like).
Thanks Gazz :thumb_up:

silenced
Posts: 2029
Joined: Tue, 20. Jun 06, 19:43
x4

Post by silenced » Thu, 8. May 08, 20:56

2 years ? that can't be good :/


nice work aswell gazz =)
... what is a drop of rain, compared to the storm? ... what is a thought, compared to the mind? ... our unity is full of wonder which your tiny individualism cannot even conceive ...

< Ich werde ab sofort auf eine korrekte Deutsche Rechtschreibung achten ! =) >

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

Post by Gazz » Thu, 8. May 08, 21:20

silenced wrote:2 years ? that can't be good :/
Well, if ES had implemented the hotkey jump as a real feature - consistent with the rest of the game - instead of some hack, this wouldn't have been necessary. =P
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
Sandalpocalypse
Posts: 4183
Joined: Tue, 2. Dec 03, 23:28
x4

Post by Sandalpocalypse » Fri, 9. May 08, 03:52

Impressive. sign please! :D

User avatar
Makita
Posts: 123
Joined: Sat, 14. Jan 06, 02:32
x3tc

Post by Makita » Fri, 9. May 08, 12:48

Sandalpocalypse wrote:Impressive. sign please! :D
I second that :wink:

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

Post by Gazz » Fri, 9. May 08, 16:07

I don't think there will be any more signing.
Altough there was no official announcement about it, any kind of development on another version of the BP seems to have stopped.

Signing doesn't add anything useful to the script, only restrictions. So *shrug*.
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
Makita
Posts: 123
Joined: Sat, 14. Jan 06, 02:32
x3tc

Post by Makita » Fri, 9. May 08, 19:21

Weather they do or not, it was meant as a compliment :D

TheBeast2
Posts: 19
Joined: Thu, 26. Jan 06, 11:36
x3tc

Post by TheBeast2 » Tue, 9. Sep 08, 19:22

dos this work for x2 too?

Brisos
Posts: 38
Joined: Sat, 18. Mar 06, 02:41

Wingmen jumping (I know it is an old question) - script

Post by Brisos » Sat, 13. Sep 08, 15:34

I finally figured out how to get my 2nd ship to jump with me. If I got it correctly I must go in my own ship's commands and select a jump option from there for a wingman to jump with me.

The problem is that it requires a lot of actions to get to that menu. Is there a script that allows you to use a hotkey for jumping with wingmen so I only have to use one key?

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

Post by Gazz » Sat, 13. Sep 08, 17:38

I suggest you look at the script download sticky and search for "jump".

It's not that hard...
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.

raleksandr
Posts: 56
Joined: Wed, 6. Nov 02, 21:31
x3

Post by raleksandr » Sat, 13. Sep 08, 19:17

Hi. There is no need for going into any menue to give an extra order. You need to modify some of your scripts in a following way: In your script when you order your vessel to jump into any sector add local variable for new dwstination where you will store new sector that would be stored with your vessel, in a script that orders other vessels to follow you use script command to get that local variable assosiated with your new destination and cript commant to order your following wessels to jump into that sector. Or, you may use other approach: use your following vessels to get sector for a ship (your vessel) they should fololow and then script a jumping order. Good luck! :lol:

proflex87
Posts: 11
Joined: Tue, 13. May 08, 00:24
x3tc

jump

Post by proflex87 » Sat, 13. Sep 08, 20:39

use the advanced jumpdrive :)

if you and your wingman have one and you are using the protect command the 2nd wil jump one sec. before you.

the only downside is that the 2nd will fly to the nearest jumpgate after entering the destination sector before he flys back to your side.
but still it works and is not as bad as it sounds.

Brisos
Posts: 38
Joined: Sat, 18. Mar 06, 02:41

Post by Brisos » Sat, 13. Sep 08, 22:42

Did not realize there was a sticky with all mods... Easy enough indeed.

The advanced jumpdrive would work if I had the cash. This is still the beginning of my game and I only have 2 fighters, a mercury and pocket change left :P although I seem to have been playing for more than 24 hours according to my save games folder... :oops:

Thanks for the replies.

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

Post by Gazz » Sun, 14. Sep 08, 00:52

Version 1.20 released.

Under certain conditions the script used to take a 90 minute nap.
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.

Post Reply

Return to “X³: Reunion - Scripts and Modding”