EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[Mod] Boarding Target Protector V1.04
Post new topic Reply to topic Goto page Previous  1, 2
View previous topic :: View next topic
Author Message
Romz





Joined: 24 Dec 2016
Posts: 6 on topic

Thank you for registering your game
PostPosted: Tue, 12. Dec 17, 17:46    Post subject: Reply with quote Print

alexalsp wrote:
They do not shoot because there is no one to shoot. ))
I normally seized ships even in the middle of the sector near the station. Allies do as I wrote above. The main thing - to have time to declare boarding, before the ship is disassembled.

Back to top
View user's profile Send private message
oliverjanda





Joined: 14 Feb 2010
Posts: 289 on topic

Thank you for registering your game
PostPosted: Thu, 4. Jan 18, 15:15    Post subject: Reply with quote Print

I haven't modded for some years and did this in notepad++ but how about this:

Code:

<?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>


Back to top
View user's profile Send private message
Requiemfang





Joined: 16 Jul 2009
Posts: 2706 on topic

Thank you for registering your game
PostPosted: Mon, 8. Jan 18, 03:42    Post subject: Reply with quote Print

Huh seems familiar seeing how J3ANP3T3R did a similar script although it was a combination script of it mainly being around protecting your trade ships from Fields of Opportunity pirates. It added a script that protected any ships you were boarding as well. Though it's old now and no longer works.

Back to top
View user's profile Send private message
oliverjanda





Joined: 14 Feb 2010
Posts: 289 on topic

Thank you for registering your game
PostPosted: Mon, 8. Jan 18, 11:08    Post subject: Reply with quote Print

@ Requiemfang
The mod is not available for download anymore, so i cant take a llok.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Sun, 21. Jan 18, 06:35

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.05644 seconds, sql queries = 18