[SCR] Auto / Terran Jump
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
[SCR] Auto / Terran Jump
(Das entsprechende deutsche Topic ist hier.)
I'm missing a few dear features I got used to in Reunion.
Now I have to manually order every Jumpdrive use and convenient commands like Jump to Me just don't exist.
(Yes, there is an Autojump feature in TC but alas, it only works sometimes.)
I also noticed that my ships would not jump to the terran sectors. Later I was told that this behaviour is intended.
Not intended by me, so I fixed that, too.
So there is a new Ship Command.
Of course, a Jumpdrive is required.
When starting it only asks for 1 argument: Solo jump?
Answering with n, N, 0, or Space means no.
No solo jumps.
If the ship has any followers in Sektor it will not jump unless all followers can jump as well.
(Drones do not count. It's their job to be left behind while the TS they were defending jumps out.)
Other than that there isn't much to explain.
If the ship's destination or target is in another sector it will use a jumpdrive if it can.
Exception:
If the destination is in the next sector but only 25 km away as the spacefly buzzes, the ship will not jump.
This script improves several standard commands without touching them in any way.
Follow / Protect now doubles as a jump to target / me command.
The Remote Best Buy / Sell commands all use the Jumpdrive and no longer fly through every Xenon sector they can find.
I can order ships to attack things in another sector...
Much better. =)
Some commands like Move to Position may not work since my script can not identify a clear target.
Note:
As of TC version 1.2, all terran gates are still bugged which means that they can not be selected as a destination for any jump or fly through script (Explorer software).
(They apply for neither of the 2 "gate" arguments in the script editor)
This script does not care.
Classic gate, terran gate, hellgate, no gate at all... it just jumps.
[ external image ] (ZIP)
Resources used:
<t id="1244">COMMAND_TYPE_SHIP_44</t>
T-File = Text page: 7615
I'm missing a few dear features I got used to in Reunion.
Now I have to manually order every Jumpdrive use and convenient commands like Jump to Me just don't exist.
(Yes, there is an Autojump feature in TC but alas, it only works sometimes.)
I also noticed that my ships would not jump to the terran sectors. Later I was told that this behaviour is intended.
Not intended by me, so I fixed that, too.
So there is a new Ship Command.
Of course, a Jumpdrive is required.
When starting it only asks for 1 argument: Solo jump?
Answering with n, N, 0, or Space means no.
No solo jumps.
If the ship has any followers in Sektor it will not jump unless all followers can jump as well.
(Drones do not count. It's their job to be left behind while the TS they were defending jumps out.)
Other than that there isn't much to explain.
If the ship's destination or target is in another sector it will use a jumpdrive if it can.
Exception:
If the destination is in the next sector but only 25 km away as the spacefly buzzes, the ship will not jump.
This script improves several standard commands without touching them in any way.
Follow / Protect now doubles as a jump to target / me command.
The Remote Best Buy / Sell commands all use the Jumpdrive and no longer fly through every Xenon sector they can find.
I can order ships to attack things in another sector...
Much better. =)
Some commands like Move to Position may not work since my script can not identify a clear target.
Note:
As of TC version 1.2, all terran gates are still bugged which means that they can not be selected as a destination for any jump or fly through script (Explorer software).
(They apply for neither of the 2 "gate" arguments in the script editor)
This script does not care.
Classic gate, terran gate, hellgate, no gate at all... it just jumps.
[ external image ] (ZIP)
Resources used:
<t id="1244">COMMAND_TYPE_SHIP_44</t>
T-File = Text page: 7615
Last edited by Gazz on Sat, 18. Jul 09, 12:55, edited 6 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.
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Re: [SCR] Jump!
You've not discovered the very useful auto jump feature yet then. Turn that on then use any other command you like and the ship will use it's jumpdrive.Gazz wrote:...
I'm missing a few dear features I got used to in Reunion.
Now I have to manually order every Jumpdrive use and convenient commands like Jump to Me just don't exist.
...
- Sandalpocalypse
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
Re: [SCR] Jump!
I have seen the button but the feature doesn't always work.moggy2 wrote:You've not discovered the very useful auto jump feature yet then. Turn that on then use any other command you like and the ship will use it's jumpdrive.
(although I appreciate the idea)
Regardless of what I set the jumprange to, sometimes the ship just doesn't jump but flies to the destination.
And yes, I have tons of EC, nav software and all the bells and whistles.
*shrug*
My script just isn't as picky. =)
Anyway, it's not the only undocumented feature.
I couldn't find any info on it in the manual, readme, or changelog. Same with the patrol, supply, or carrier software.
I assume all these were last second additions but a few lines in the readme would have been nice.
Fleet supply is not a trivial item because there are many ways of doing it. Which ship flies where and how, where does it shop and at which prices, how does it get the equipment to which other ships if it does that at all, how do supply ships deal with it when their customers are currently in a fight...
*shrug*
Edit:
Forgot a library in the first upload. Sorry! =)
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: 20
- Joined: Sat, 5. May 07, 04:06
For reference, Gazz, I do not believe the Terran gates to be bugged. In fact, the only Terran jumpgate is the Asteroid Belt / Heretic's End gate. The rest are "Transorbital Accelerators". I do not know if ES will continue keeping them separate, but does it not make sense for the Terrans to keep people of out their more important sectors by making you traverse the less important, and as equally guarded, sectors?
P.S. I would also love to be able to jump into the Terran sectors. . With my very large and heavily armed fleet.
P.S. I would also love to be able to jump into the Terran sectors. . With my very large and heavily armed fleet.
-
- Posts: 3144
- Joined: Sun, 19. Dec 04, 02:41
its defiantly not a bug as intended. Which is y there is a new find command [Find.JumpableGate] so you can tell what gates are supposed to be jumpablePan0pticon wrote:For reference, Gazz, I do not believe the Terran gates to be bugged. In fact, the only Terran jumpgate is the Asteroid Belt / Heretic's End gate. The rest are "Transorbital Accelerators". I do not know if ES will continue keeping them separate, but does it not make sense for the Terrans to keep people of out their more important sectors by making you traverse the less important, and as equally guarded, sectors?
P.S. I would also love to be able to jump into the Terran sectors. . With my very large and heavily armed fleet.
-
- Posts: 2
- Joined: Sun, 12. Aug 07, 21:46
Thanks for the script Gazz, I think I'll give it a try since as already stated, the autojump in works, but the autojump out (back to my stations) doesn't work. Which results in stupid TS going through Xenon Sectors on their way back to home...
One - maybe stupid - question though : Does the jump you added for Best Buy / Sell commands include a refuel script ? If yes, in case a TS is selling E-Cells, does it keep enough E-Cells for jumping (maybe it does check parameters set for autojump ?).
Thanks.
One - maybe stupid - question though : Does the jump you added for Best Buy / Sell commands include a refuel script ? If yes, in case a TS is selling E-Cells, does it keep enough E-Cells for jumping (maybe it does check parameters set for autojump ?).
Thanks.
In my head I can hear it.basicdeisgnroc wrote:a spacefly cannot buzz with no air for the sound waves to pass through... :P
Did you know that the chatter of nebulae tastes blue?
No. I surely would have said so.Grossbaff wrote:One - maybe stupid - question though : Does the jump you added for Best Buy / Sell commands include a refuel script ?
I'm not Egosoft who included a lot of resupply features without documentation in any shape or form.
Not even a hint that they exist.
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.
- supakillaii
- Posts: 2372
- Joined: Mon, 19. Nov 07, 19:52
-
- Posts: 663
- Joined: Wed, 19. Oct 05, 14:07