[Mod] Boarding Target Protector V1.04
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
[Mod] Boarding Target Protector V1.04
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
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
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
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
-
- Moderator (English)
- Posts: 8074
- Joined: Tue, 30. Mar 04, 12:28
- Marvin Martian
- Posts: 3547
- Joined: Sun, 8. Apr 12, 09:40
-
- EGOSOFT
- Posts: 3357
- Joined: Mon, 26. Mar 12, 14:57
Ah, good addition. Its always annoying to happen while boarding an enemy ship. Great solution, Thanks!
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110
My art stuff
My art stuff
- YorrickVander
- Posts: 2701
- Joined: Tue, 29. Oct 13, 21:59
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
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
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
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 initially even the Player Ship )
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)
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
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
XR 4.30
Hi. Does not work. Do you want to fix it?
After clicking the "Boarding" menu, the ships disappear.
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 ======================================
-
- Posts: 1244
- Joined: Fri, 8. Nov 13, 22:35
They do not shoot because there is no one to shoot. ))Romz wrote: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.alexalsp wrote:XR 4.30
Hi. Does not work. Do you want to fix it?
After clicking the "Boarding" menu, the ships disappear.
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
I haven't modded for some years and did this in notepad++ but how about this:
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<mdscript name="BoardingTargetProtector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cues>
<cue name="BoardingStarted" instantiate="true" namespace="this" version="100">
<conditions>
<event_boarding_triggered/>
</conditions>
<actions>
<set_value name="$boardee" exact="event.param2"/>
<set_owner object="$boardee" faction="faction.friend"/>
<add_relation_boost object="$boardee" otherobject="$boardee.boarder" value="-0.1" decay="1" delay="480min" silent="true" />
</actions>
<cues>
<cue name="BoardingEnded" checktime="5s" checkinterval="5s" version="100">
<conditions>
<check_value value="$boardee.boarder.exists" negate="true"/>
</conditions>
<actions>
<cancel_cue cue="BoardingStarted"/>
</actions>
</cue>
</cues>
</cue>
</cues>
</mdscript>
-
- Posts: 3206
- Joined: Thu, 16. Jul 09, 12:24
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47