Page 1 of 2

[SCRIPT] Automated Defense System 1.01 (06-02-22)

Posted: Wed, 22. Feb 06, 02:26
by Serial Kicked
ADS: Automated Defense System 1.01
Idea from apricotslice

This script will add two commands to the TS and M6. Allowing them to drop mines or lasertowers in order to lay a defense grid or to protect a factory. The lasertowers will be equiped with a 125MJ shield. Another command is added to factories to allow destroyed LT replacement.
This script adds the two following commands to Special Command Mk1 equipped TS and M6.

ADS: Lay a defensive grid
Allow to drop arrays of 125Mj Laser Towers (or Squash Mines) of the specified size and orientation. The player will be charged for each LT dropped except if the ship also has 125M Shields in its cargo bay. First you'll have to choose a center position for your grid. Then the orientation, type 0 for (x,y), 1 for (x,z) and 2 for (y,z). The third parameter is the ware you want to drop (only lasertowers and mines will work), this ware must be loaded in the cargo bay. An finally a max amount, 0 = unlimited.

ADS: Protect a station with LTs
Choose the factory you want to protect and the amount of LT your want to use (0=unlimited) and the TS will start to drop Laser Towers (with a 125MJ shield) around the factory. The LT's homebase will be set to the protected factory. Player will be charged the price of a 125Mj shield minus the price of a 25Mj shield for each LT dropped except if the ship have those shields in its cargobay.


An additional command slot is also added to factories (only working available on factories/complex producing lasertowers).

ADS: Replace destroyed LTs
This command allows the factory to use a TS in order to replace destroyed lasertowers in the current sector for a small fee of 50k credits. Player will also be charged for each LT dropped.

Compatibility: This script should be compatible with all other mods, scripts and plugins for X3 Reunion except for LV's cheat pack.

:arrow: Download Link

Dev Notes and Changelog

Posted: Wed, 22. Feb 06, 02:26
by Serial Kicked
Official Topic :
http://anarkis.fxnetworks.org/forum/viewtopic.php?id=17


Used Slots :

Code: Select all

<t id="850">ANARKIS_ADS_LAYFIELD</t>
<t id="851">ANARKIS_ADS_PROTECT</t>
<t id="1125">ANARKIS_ADS_GRID</t>
Textfile/page : 8511


Changelog :

Code: Select all

v1.01 - Official Release
 (+) Special Software ST1 is needed to activate the commands
 (+) Lasertower price adjusted (125Mw shield price - 25Mw shield price)
 (+) Added french support
 (+) If the ships have 125Mw shields in the cargobay, they will be used to drop free LTs
 (*) Command Slots changed to avoid conflicts
 (*) Textfiles upgraded

Special Thanks
XaiCorp for the library lib.Xai.ship.eject.cargo.xml i'm using

Posted: Wed, 22. Feb 06, 12:23
by Shada
Nice one, I hate manually placing defences. They always end up looking stupid or shooting each other.

Posted: Wed, 22. Feb 06, 16:56
by fud
Nice, I'll grab this when I get home.

One question tho, could this be modified to automatically make docked M3s undock when the station's under attack to protect it (then they dock again when the threat is gone)?

Posted: Wed, 22. Feb 06, 17:14
by PainGod85
You'd block the station's docking clamps with that command...

Posted: Wed, 22. Feb 06, 20:25
by Serial Kicked
Thanks all :D
fud wrote:One question tho, could this be modified to automatically make docked M3s undock when the station's under attack to protect it (then they dock again when the threat is gone)?
Nice idea, i'll add this in a future version :)

antagonist wrote:You'd block the station's docking clamps with that command...
No. Except maybe for biggest complexs and eq. docks.

Posted: Wed, 22. Feb 06, 21:48
by fud
Serial Kicked wrote:Thanks all :D
fud wrote:One question tho, could this be modified to automatically make docked M3s undock when the station's under attack to protect it (then they dock again when the threat is gone)?
Nice idea, i'll add this in a future version :)

Sweet. I asked about it before in a round-about way. The answers/explanations I got went right over my head. :D


I just thought it'd be fairly logical to set {x} number of ships, of any type to protect a station/complex. Rather than having them cruising all over the sector they stay within 3-5km of the station.

Posted: Wed, 22. Feb 06, 22:59
by Azz
Fud a écrit:
One question tho, could this be modified to automatically make docked M3s undock when the station's under attack to protect it (then they dock again when the threat is gone)?

The script RS.security do already that

http://forum2.egosoft.com/viewtopic.php?t=112290

But it will be nice that you integrate such a fonction in your script SK :)

Posted: Thu, 23. Feb 06, 15:35
by fud
Nice. :thumb_up:

Posted: Thu, 23. Feb 06, 18:29
by Serial Kicked
Azz wrote:Fud a écrit:
One question tho, could this be modified to automatically make docked M3s undock when the station's under attack to protect it (then they dock again when the threat is gone)?

The script RS.security do already that

http://forum2.egosoft.com/viewtopic.php?t=112290

But it will be nice that you integrate such a fonction in your script SK :)
I know, like there's already some scripts to lay lasertowers grids. But i want to create a "all-in-one" sector defense script in the long term :)

Posted: Thu, 23. Feb 06, 23:39
by BoDgE
bugrep: (maybe) :?

I only get the ADS: replace destroyed LTs command in the station command menu.

Am I missing something, or is there a conflict with either burianek and Alaardb's station manager or naffarin's station trader scripts?

I have tried re-downloading an re-istalling them.

:cry:

Posted: Fri, 24. Feb 06, 03:03
by Serial Kicked
Your TS and M6 with "special command mk1" software should have the two other commands in the general command menu. I've tested both Alaardb and Burianek plugins scripts without any issue.

The only reported issue i had was with the LV's cheat pack. You can't use it with my plugin because they are using the same command slots.

If you're not using the cheat pack, i would be happy to know the whole list of scripts you're using in order to know which script make this issue.

Posted: Tue, 15. Aug 06, 10:09
by ORIOLE
Is this script X3 1.4 compatible?

Thx :)

Posted: Tue, 15. Aug 06, 16:16
by Serial Kicked
Yes.
Compatibility: This script should be compatible with all other mods, scripts and plugins for X3 Reunion except for LV's cheat pack.

Posted: Tue, 6. Feb 07, 21:22
by Khaak_Slayer
Bugger! What the hell is up with all these 403 Forbidden errors i keep getting left, right and center

Posted: Mon, 22. Oct 07, 21:21
by Deleted User
Hate to bump up the topic. But I have been looking around and I'm unable to find this hosted anywhere, seeing as Serial Kicked is unavailable. (Wish Xai-Corp hosted this one too). Could anyone that has it email it to me?

Posted: Fri, 14. Dec 07, 18:04
by Neeko
I want to download this mod, so I hope no one minds if I bump htis in effort of finding someone who can send me the script.

Posted: Fri, 14. Dec 07, 21:38
by Malakie
Neeko wrote:I want to download this mod, so I hope no one minds if I bump htis in effort of finding someone who can send me the script.
Same here.. been looking for this script as well... Anyone who has it, please pass it along if possible! Thanks

Malakie

Posted: Tue, 25. Dec 07, 13:47
by angrysquirrel
me too! If someone has this script could you please let me know where I can download it? Thanks!

Posted: Fri, 4. Jan 08, 15:14
by Tarthrin
Still hunting around for this script.

The only other lasertower scripts I've seen charge you for them and then create them out of thin air. This one does what I want, uses the lasertowers that I have collected/produced. No offense to the other scripts, I just don't like creating things to buy from nothing, its like messing with the economy (or ignoring it actually).