The Riftbreaker

The Riftbreaker

Not enough ratings
Attack Drones LUA
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
133.103 KB
19 Jul, 2023 @ 1:26pm
30 Jun, 2024 @ 8:49pm
11 Change Notes ( view )

Subscribe to download
Attack Drones LUA

Description
This mod only change attack drone's .lua file.

Vanilla
In vanilla drones get targets by tower/owner, once drones get a target they wait 1s before starting shooting, when the target is dead/invalid, the drones get back to tower/owner, which interrupt action of the drones at each target.

Mod
This mod adds a condition before drones get back to owner, once the target is dead/invalid, the drones will seek for a new target on their own for a short time before getting back to tower/owner. The new condition makes sure that the drone's action doesn't get interrupted.
Reduce time for drones to start action.

Drones get into action quickly.
Drones no longer check for target resistance validation, so they no longer experience timeouts when an immune target enters their radius.
Because drones get into action quickly, flying between the owner and targets is no longer a downside.

Q: Is this mod compatible with other drone mods?
A: Any mod that adds new defensive/attack/offensive drones probably uses the vanilla .lua. Since this mod replaces the default .lua, it will work with other mods.

The drones shown in the image are from the Attack Drones Physical mod.
5 Comments
Claus  [author] 25 Jun @ 12:04pm 
I’ll be doing updates when 2.0 is out of beta.
Dęąth Viper 25 Jun @ 2:46am 
Please update for 2.0. This is makes drones worth building and slotting!
Mr. Khan 25 Jul, 2023 @ 10:01am 
Thanks for replying back, i have checked that your mod "Attack Drones Physical" is not compatible with the mode which increases the drone range (making the drone towers actually useful).

I was wondering if it was possible to get all drone tower related tweaks in one single mod or at least make them compatible. For example, i would like the following:

1. Attack drone to have physical damage.
2. Attack drone to have a greater range.
3. Attack drones to use the new logic as done in this mod.
Claus  [author] 22 Jul, 2023 @ 11:36am 
This mod I wanted to keep with the .lua alone as it works fine with vanilla or any mod that does something with Attack Drones Tower on itself. But the other mod Drones Physical I could upload a version with increased range.
Mr. Khan 22 Jul, 2023 @ 4:24am 
Thanks for the mod, can you please increase the range of Drone towers within the same mod.