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