[SCRIPT] Free Jump - version 1.4

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
Graxster
Posts: 814
Joined: Sat, 14. Oct 06, 01:01

[SCRIPT] Free Jump - version 1.4

Post by Graxster » Wed, 12. Nov 08, 19:12

Free Jump

:arrow: Adds Navigation Command: Free Jump

:arrow: Adds a Hotkey for Free Jump (you can use from Nav commands or hotkey).

:arrow: Required: Navigation Command Software MK1 and a Jump Drive

What it does:

Having nav cmd MK1 and a jump drive, player ships will now have the command, "Free Jump" in the Navigation menu. Warps ship to specific coordinates within any sector. Does not require energy cells or cargo space for energy cells. Can warp ships to all Terran Sectors (doesn't require gates).

Enjoy!

-Grax

---------------------------------------------------------------------
UPDATE: version 1.1

Added a popup menu when a ship using Free Jump has followers.
Asks you if you want the followers to jump also (just in case you don't).
Makes followers use Free Jump.

UPDATE: version 1.2

Added some variation/randomization of destination position for followers, so they don't jump in right on top of the ship they're following.
Removed an unnecessary wait command when the jumping ship is not the Playership.

UPDATE: version 1.3

Fixed player ship sometimes ending up at coordinates 0,0,0.
Reorganized code.

UPDATE:

Repackaged so the hotkey scripts are included in main package.

UPDATE: version 1.4

Hotkey script now checks for jumpdrive.
Added Free Jump command for Wings.
---------------------------------------------------------------------

Free Jump - Credits - v1.4

Calculates how many energy cells the ship would have used, and deducts the cost from your money (@ 12cr per energy cell).

SPK

Image

RAR archive

Image

---------------------------------------------------------------------
Non-credits version no longer updated/supported
Too much work - may change later...
---------------------------------------------------------------------

Free Jump - v1.3

SPK

Image

RAR archive

Image

---------------------------------------------------------------------
Last edited by Graxster on Wed, 3. Dec 08, 20:39, edited 8 times in total.

bounty_hunter66
Posts: 465
Joined: Tue, 15. Aug 06, 13:36

Post by bounty_hunter66 » Wed, 12. Nov 08, 19:28

Question: If i Freejump to a point in another sector, will the ships that follow me jump with me and land at the same point as i specified for my own ship? In other words, is it playership only? Or other player owned ships can jump in groups?

User avatar
Graxster
Posts: 814
Joined: Sat, 14. Oct 06, 01:01

Post by Graxster » Wed, 12. Nov 08, 19:51

It's not player ship only, but it doesn't include followers... yet. I'll have to take a look at the jump commands to see how they're doing that to see if it's possible.

-Grax

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

Post by TSM » Wed, 12. Nov 08, 20:12

Nice one Grax do you ever find time to play TC :D
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

bounty_hunter66
Posts: 465
Joined: Tue, 15. Aug 06, 13:36

Post by bounty_hunter66 » Wed, 12. Nov 08, 20:54

It IS possible!! Just take a look at this

http://forum.egosoft.com/viewtopic.php?t=77552

The first script on the list "MH_AdvJumper"...thats the one!! Please just download it and look at it

With that script, if you freejump to a position in a sector, followers will jump at the same time with you and land at the same location at the same time with you (but first you have to set "Auto Jump" in the Additonal Commands menu of every ship)

The cool thing is that if you remote order a ship to Freejump, it will make a cool light effect when it jumps(like the khaak when they jump in and out)

But the bad news is that script is for x2. It worked well in X3:R but in TC it doesnt apear to work. And the maker of that script hasnt posted another message since 2005/2006 or so. So no one will be converting it unless you try Graxster :D

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

Post by TSM » Wed, 12. Nov 08, 21:05

Graxster wrote:It's not player ship only, but it doesn't include followers... yet. I'll have to take a look at the jump commands to see how they're doing that to see if it's possible.

-Grax
Feedback

I am using the Credits Version and with Auto jump set with protect my ship my followers jumped obviously using a count down version.
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

fud
Posts: 6989
Joined: Wed, 25. Jan 06, 15:26

Post by fud » Wed, 12. Nov 08, 21:06

Hmmm

I've got ideas of UT uses now...

Might just have to edit the UT scripts a bit to call this jump command (I'm sure it's a little work).

If you figure out the follower thing, I think you'll have given a new feature to X3 that should have been there a long time ago:

Escorts for UTs that can actually jump with them... :)

User avatar
Graxster
Posts: 814
Joined: Sat, 14. Oct 06, 01:01

Post by Graxster » Wed, 12. Nov 08, 21:24

No worries... it was pretty easy to do. Figured it out within a few minutes. Thanks for the link, bounty hunter, but I didn't even come back to the forum until I already finished it. Oh well. As I said, it was easy.

@TSM: Sometimes I find time to actually play... :lol:

And yeah, Auto Jump makes them follow with the standard script. This new version includes a standalone "followers jump" script that uses no energy cells.

Updating links now to version 1.1.

-Grax

fud
Posts: 6989
Joined: Wed, 25. Jan 06, 15:26

Post by fud » Wed, 12. Nov 08, 21:30

Sweet.

I made M6s UT-able, but I think TS with a couple M4 escort would be a cheaper route to go. :P

Lancefighter
Posts: 2936
Joined: Sun, 19. Dec 04, 03:41

Post by Lancefighter » Thu, 13. Nov 08, 02:00

would it be possible to use a hotkey for this by any chance?
in the market for a new sig, willing to pay 1 billion credits for a proper sig...

User avatar
Graxster
Posts: 814
Joined: Sat, 14. Oct 06, 01:01

Post by Graxster » Thu, 13. Nov 08, 02:11

Lancefighter wrote:would it be possible to use a hotkey for this by any chance?
Actually, I made a hotkey version that I've been using for weeks. Just never posted it in the forum. I'll package it later on or tomorrow.

-Grax

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

Post by TSM » Thu, 13. Nov 08, 02:13

:lol: you do more updates than M$ :wink:
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

Lancefighter
Posts: 2936
Joined: Sun, 19. Dec 04, 03:41

Post by Lancefighter » Thu, 13. Nov 08, 04:50

Graxster wrote:
Lancefighter wrote:would it be possible to use a hotkey for this by any chance?
Actually, I made a hotkey version that I've been using for weeks. Just never posted it in the forum. I'll package it later on or tomorrow.

-Grax
score \o/

Now, to clarify; when you use a personal free-jump, weather by hotkey or autopilot, does the AI follower ships also use their free-jump?
in the market for a new sig, willing to pay 1 billion credits for a proper sig...

User avatar
Graxster
Posts: 814
Joined: Sat, 14. Oct 06, 01:01

Post by Graxster » Thu, 13. Nov 08, 21:38

Lancefighter wrote:Now, to clarify; when you use a personal free-jump, weather by hotkey or autopilot, does the AI follower ships also use their free-jump?
Yes

To clarify :wink: , Any time "Free Jump" command is used and the ship using FJ has followers, the Player gets a popup menu that asks, "Should followers jump too?", with a Yes or No option. I added this for the rare instances where you may not want a follower to jump. It only takes a second... just press Enter when the question pops up. This applies in ALL cases, whether it's the Player using FJ and having followers or any other player-owned ship. All follower ships will also use Free Jump.

Adding hotkey scripts now.

-Grax

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

Post by TSM » Thu, 13. Nov 08, 21:47

Grax this is great I FJ'ed and one of my follower's was M2 it jumped far enough away from me to block my assasination targets exit :)
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

Post Reply

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