[MOD] Hijack!

The place to discuss scripting and game modifications for X Rebirth.

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

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Post by pref » Sun, 6. Mar 16, 04:09

Sparky Sparkycorp wrote:Pref, I don't think this is a cheat mod - more that it fixes a feature I think Bernd announced in his boarding video ;)

That said, well-spotted Goliath. Maybe this is a reason why it doesn't seem implemented in vanilla. Something like a timer sounds like a good idea. Whereas stopping the option to board a ship running "Exploring" (AKA move.die) would prevent a pirate player being able to capture NPC CVs built occasionally by shipyards.
Oh lol.. i stole his idea then - sorry :D

That sell loop problem is taken care of. Now such an attempt will hurt a bit.

@TSM: i checked boarding options quickly, and see no real conflict possibilities. The only possible problem i see that it clears the hints from the screen quite often - might happen that some of hijack's messages will be removed by boarding options (near) instantly.

If this is the case you should still be able to see if hijack started, because then the ship's faction will show 'enemy', with a smiley face - right after you initiate boarding.
Note that you must retarget the ship to get your target info refreshed on the skunk cockpit.

Let me know if there are issue, i might try to find a fix then. Boarding options is like vanilla, so many people use it :)

Regarding the video demo, i hoped it would be self explanatory - might be i failed with that. If yes, i can try to find a video editor and record a quick session. Maybe cubase works for that, never tried..

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Post by pref » Mon, 7. Mar 16, 01:47

@TSM, denison10: I uploaded some screenshots to the workshop page.
Let me know if it clears things up, or a vid is truly needed.

BlackRain
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 5386
Joined: Mon, 15. Dec 03, 19:53
x4

Re: [MOD] Hijack!

Post by BlackRain » Mon, 7. Mar 16, 04:05

pref wrote:With this mod you can pull off a boarding operation without reputation loss, if you target an isolated ship and cripple its radar(s) before initiating boarding.

Conditions:
* No operational radar on the target
* No friendly ships within 20km with a functional radar
* No stations within 30km or the station's radar range (lower value used: same logic as with vanilla distress calls)

If this all checks out, the target's emergency protocols will commence: drone pad will be brought to a working state, and all available drones queued for repair will be equipped, increasing the ship's defence strength.
The crew will also get really mad at you, and wont forget easily - better succeed once started, as a failed attempt might leave you with a ship that will kill any of your assets on sight - and which might belong to an otherwise friendly faction.
Any further actions against it will result in reputation loss - the skunk can only jam the identification and comm signals while boarding is in progress and the radar of the target is defunct.

Selling hijacked ships to a shipyard friendly to the original owner will have some annoying consequences - the shipyard will turn on you for a while, and you will have to pay for the ship as well.
Ships can only be hijacked once.

Anyway, yarr.


Workshop
dropbox
What exactly do you mean by any further actions ? I am trying to use this but have yet to be able to successfully capture a ship without reputation loss.

I should destroy the radar dish first? Then initiate boarding? But then I have to destroy stuff on the ship and attack the ship to get its defenses down. So further action is necessary, or did you mean something else?

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

Post by TSM » Mon, 7. Mar 16, 04:05

pref wrote:@TSM, denison10: I uploaded some screenshots to the workshop page.
Let me know if it clears things up, or a vid is truly needed.
:thumb_up: looks good to me :)
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Re: [MOD] Hijack!

Post by pref » Mon, 7. Mar 16, 04:21

BlackRain wrote: What exactly do you mean by any further actions ? I am trying to use this but have yet to be able to successfully capture a ship without reputation loss.

I should destroy the radar dish first? Then initiate boarding? But then I have to destroy stuff on the ship and attack the ship to get its defenses down. So further action is necessary, or did you mean something else?
I have uploaded some screenshots to the workshop hopefully it will be more clear.

Process goes like this anyway:

0. You can start boarding just to get the info if hijack could work. A hint will display in-range ship/station and radar count. Cancel the ops.
1. If found a clean target, destroy the radar on the ship. This will drop your rep a little, but this loss is inevitable (and intended).
2. Start boarding. A hint will be displayed, either saying hijack started, or if anything moved in range then you will be notified about that instead (in that case you can still cancel).

If hijack could start, from this point on right until the op is finished attacking the target or its XS/S/M escorts will not hurt your rep.

3. Get rid of the escorts if needed, board the ship.
4. Try to sell the ship to a shipyard that is friendly to the original owner if you dare :p


Either you destroyed the radar after starting the op, or there were friendly objects nearby which means you board normally.
That or there was a mod conflict or you foud a bug. If there is anything in log please let me know!

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Post by pref » Mon, 7. Mar 16, 13:27

@TSM: Unfortunately Boarding Options keeps spamming hints on the screen, and hides messages from Hijack.
Cant do much about it - BO clears any hints instantly, and keeps displaying the marine count.

A workaround would be to move my hints to the event monitor - i just hate when target data is hidden because of messages on the event monitor, wanted to avoid it.
Feedback/ideas welcome how to get around this best.

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

Post by TSM » Mon, 7. Mar 16, 13:55

its a pity its not possible to give the Skunk a new scan mode like Pirating/Hijack with new commands for F button.
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Post by pref » Mon, 7. Mar 16, 14:12

XR UI cannot handle the game's needs unfortunately. All the messages/comms have to fight with eachother, you can only handle 1 incoming comm or 1 custom hint properly at a time.

I wrote to camus, maybe we can come up with a solution.

Vanilla now displays marine count after each round in detail monitor since 4.0 - maybe he can remove his display or tells me a way to mod it out without hurting the functionality of boarding options.

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Post by pref » Tue, 8. Mar 16, 04:13

Boarding Options should be compatible now.
Feedback welcome if there are any issues with this or other mods.

birdtable
Posts: 1436
Joined: Sat, 7. Feb 04, 21:42
x4

Post by birdtable » Sat, 12. Mar 16, 18:58

Started new game, using this mod :) only thing have to switch from joystick to mouse to be able to target radar,, then back to joy.... still not boarded yet,, always some ship around and guns a bit weak to take out radar quick enough.. certainly adds some badly needed tension.... good stuff.!!!

BlackRain
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 5386
Joined: Mon, 15. Dec 03, 19:53
x4

Post by BlackRain » Sat, 12. Mar 16, 19:21

birdtable wrote:Started new game, using this mod :) only thing have to switch from joystick to mouse to be able to target radar,, then back to joy.... still not boarded yet,, always some ship around and guns a bit weak to take out radar quick enough.. certainly adds some badly needed tension.... good stuff.!!!
I have edited hijack so that only factions friendly to another faction will care if I am boarding a ship and I am really loving it. I set up my shipyard in Lava Flow and have been acting as a pirate, capturing any ships that come through from any faction. Quite fun.

birdtable
Posts: 1436
Joined: Sat, 7. Feb 04, 21:42
x4

Post by birdtable » Sat, 12. Mar 16, 19:36

This may be a dumb questions but since I have never needed to check before how do I define 20km and 30km ....
Yes to "pirate" ... very tempted to either use old galaxy or new HOL as base and use the other/old galaxy as a treasure trove .. options.. :)

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Post by pref » Sat, 12. Mar 16, 20:25

BlackRain wrote: I have edited hijack so that only factions friendly to another faction will care if I am boarding a ship and I am really loving it. I set up my shipyard in Lava Flow and have been acting as a pirate, capturing any ships that come through from any faction. Quite fun.
As soon as hijack triggers, your target becomes a 'friendly faction' member, and should be skipped by any other race as target. Not sure why you needed to edit anything, no other ships should interfere, nor should any station/ship care about what you do with the target (rep loss will not occur regardless of friend/foe settings of any of the involved races).

Or do you mean excluding neutral ships when doing initial proximity check before hijack starts?
I wasn't sure if faction relations are fine for that in vanilla XR initially. Won't that result in being able to pirate almost any 'foreign' faction ships?
Practically letting boarding happen without any penalty in most cases?
For ex being able to capture any Argon defence forces in a zone where only JSS has stations.
If it makes for a better experience i would implement it, but unsure about the consequences.

********

@birdtable: you can fly to your target and check any nearby ship/station's distance via targeting. Or just start boarding to get the initial status report of how many objects are in range and cancel out if anything is too close.
You can do that as soon as you can target the ship (from 30km? or perhaps 50?).
Last edited by pref on Sat, 12. Mar 16, 20:52, edited 2 times in total.

birdtable
Posts: 1436
Joined: Sat, 7. Feb 04, 21:42
x4

Post by birdtable » Sat, 12. Mar 16, 20:47

Thanks pref ...All required info appeared on screen, sorted.. :)

pref
Posts: 3516
Joined: Sat, 10. Nov 12, 18:55
x4

Post by pref » Sat, 12. Mar 16, 20:50

Cheers, hope you'll have fun with it :)

Edit: regarding weak guns - you can use limpet mines for a quick solution.
Has the added benefit of the escorts not attacking the Skunk afterwards IF you let the escorts hit/kill the traitor drone.

The radar is often next to the boarding bay, so watch out for blast radius. But hijack will repair the drone bay anyway (and adds some drones to increase defence rating).

Post Reply

Return to “X Rebirth - Scripts and Modding”