[Mod] Boarding Target Protector V1.04

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

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

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13817
Joined: Sun, 20. Nov 05, 23:45
x4

[Mod] Boarding Target Protector V1.04

Post by UniTrader » Fri, 1. Apr 16, 01:19

hi all, i just created a small extension which protects the Ships which are currently boarded from being shot by others. not much more to say here...

Update 1.04: this script also influenced the player ship which may get annoying - changed.

here the DL-Link: Download

as usual Back up your Savegames - this was created in the last 4 hours and may still have sideeffects

have fun boarding :D
Last edited by UniTrader on Fri, 1. Apr 16, 12:33, edited 1 time in total.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 7166
Joined: Tue, 30. Mar 04, 12:28
x3tc

Post by Sparky Sparkycorp » Fri, 1. Apr 16, 01:43

Nice one, thanks :)

User avatar
Marvin Martian
Posts: 2674
Joined: Sun, 8. Apr 12, 09:40
x4

Post by Marvin Martian » Fri, 1. Apr 16, 07:54

woohoo is that the last one from mod-advent ? :D

linolafett
EGOSOFT
EGOSOFT
Posts: 2144
Joined: Mon, 26. Mar 12, 14:57
x3tc

Post by linolafett » Fri, 1. Apr 16, 09:35

Ah, good addition. Its always annoying to happen while boarding an enemy ship. Great solution, Thanks!
01010111 01101000 01100101 01101110 00100000 01101001 01110011 00100000 01110010 01100101 01101100 01100101 01100001 01110011 01100101 00111111

My art stuff

User avatar
YorrickVander
Posts: 2672
Joined: Tue, 29. Oct 13, 22:59
x3ap

Post by YorrickVander » Fri, 1. Apr 16, 11:39

Smart idea, but could get expensive if the player's ships/drones still attacking. Maybe an alternate version that sets the ship being boarded to min hull 5% or something like that?
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13817
Joined: Sun, 20. Nov 05, 23:45
x4

Post by UniTrader » Fri, 1. Apr 16, 12:37

Oh, thanks for the reminder.. this script also influenced the player ship which could get annoying - changed, player ship is now ignored.. Updated Version 1.04 is now in the OP

And this script works as intended, if you want to change the behavior feel free to take the code and change it ;)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

JESS 246
Posts: 539
Joined: Mon, 3. Jul 06, 03:24
x3

Post by JESS 246 » Fri, 1. Apr 16, 14:41

And about time too this has been needed for a long time.

Will look forward to trying this mod.

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13817
Joined: Sun, 20. Nov 05, 23:45
x4

Post by UniTrader » Sat, 2. Apr 16, 16:55

ok, i think its time to solve this - this Mod is an April Fools Joke - although it does whats stated (Protecting Ships being boarded) i dont think the method used is in everyones interest (blowing up all Attackers :D initially even the Player Ship :P)

i hope you had fun with this, i will leave the Link as is if you still want to use it (or create something better based on this) ;)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

w.evans
Posts: 2954
Joined: Tue, 18. Nov 14, 17:23
xr

Post by w.evans » Sat, 2. Apr 16, 23:00

had a good laugh when I looked at your script. "what the..." then I saw the version numbers!

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

Post by TSM » Sun, 3. Apr 16, 03:10

@Unitrader now your challenge is to get it to work for real :D
FAQ's Egosoft Interactive FAQ
Egosoft Wiki

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

Post by pref » Thu, 14. Apr 16, 21:38

You could do it by changing factions for the duration of the boarding session, did this in hijack and it seemed to work.

Change ship owner to faction.friendly for ex (iirc that means noone will attack , not even pirates), and apply a decent negative rep boost on the target vs the player.

User avatar
alexalsp
Posts: 809
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Mon, 11. Dec 17, 13:22

XR 4.30

Hi. Does not work. Do you want to fix it?

After clicking the "Boarding" menu, the ships disappear.

Code: Select all

[=ERROR=] 138.13 Error in MD cue md.UT_BoardingTargetProtector.ProtectBoardee<inst:343cc>: Evaluated value 'null' is not of type component
* Expression: event.param
[General] 138.13 ======================================
[General] 138.13 ======================================
[=ERROR=] 138.13 Error in MD cue md.UT_BoardingTargetProtector.ProtectBoardee<inst:343d5>: Evaluated value 'null' is not of type component
* Expression: event.param
[General] 138.13 ======================================
[General] 138.15 ======================================
[=ERROR=] 138.15 Error in MD cue md.UT_BoardingTargetProtector.ProtectBoardee<inst:343da>: Evaluated value 'null' is not of type component
* Expression: event.param
[General] 138.15 ======================================
[General] 138.17 ======================================
[=ERROR=] 138.17 Error in MD cue md.UT_BoardingTargetProtector.ProtectBoardee<inst:343db>: Evaluated value 'null' is not of type component
* Expression: event.param
[General] 138.17 ======================================
[General] 138.19 ======================================
[=ERROR=] 138.19 Error in MD cue md.UT_BoardingTargetProtector.ProtectBoardee<inst:343dc>: Evaluated value 'null' is not of type component
* Expression: event.param
[General] 138.19 ======================================
[General] 138.21 ======================================
[=ERROR=] 138.21 Error in MD cue md.UT_BoardingTargetProtector.ProtectBoardee<inst:343dd>: Evaluated value 'null' is not of type component
* Expression: event.param
[General] 138.21 ======================================


iforgotmysocks
Posts: 1000
Joined: Fri, 8. Nov 13, 23:35

Post by iforgotmysocks » Mon, 11. Dec 17, 19:32

alexalsp wrote:XR 4.30

Hi. Does not work. Do you want to fix it?

After clicking the "Boarding" menu, the ships disappear.
Thats exactly what this april fools joke is supposed to do, lol.

Romz
Posts: 6
Joined: Sat, 24. Dec 16, 20:39
x4

Post by Romz » Mon, 11. Dec 17, 23:02

alexalsp wrote:XR 4.30

Hi. Does not work. Do you want to fix it?

After clicking the "Boarding" menu, the ships disappear.
It's work fine for me. I use this mod, and Boarding Options, and Marine Rebalance. Allies make one shot after the start of boarding and then no longer shoot.

User avatar
alexalsp
Posts: 809
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Tue, 12. Dec 17, 12:39

Romz wrote:
alexalsp wrote:XR 4.30

Hi. Does not work. Do you want to fix it?

After clicking the "Boarding" menu, the ships disappear.
It's work fine for me. I use this mod, and Boarding Options, and Marine Rebalance. Allies make one shot after the start of boarding and then no longer shoot.
They do not shoot because there is no one to shoot. ))

Post Reply

Return to “X Rebirth - Scripts and Modding”