Space Engineers

Space Engineers

466 ratings
Smart Turrets 2 [Obsolete]
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script
File Size
Posted
Updated
53.021 MB
13 Jun, 2019 @ 10:58pm
7 Apr, 2020 @ 11:36pm
4 Change Notes ( view )

Subscribe to download
Smart Turrets 2 [Obsolete]

Description
A complete rewrite of my Smart Turrets mod, Smart Turrets 2 is a turret AI overall that give you an excessive amount of control over exactly what your turrets are shooting at.


So What EXACTLY Does It Do…
Smart Turrets 2 add a plethora of new controls to all turrets, vanilla and modded alike. These controls allow you to use a completely custom turret AI that is far more configurable then Keens vanilla turret AI, simple :) (Not actually simple at all, this mod was quite a large undertaking and has been about a year in the making).


So How Do I Do The Thing?!?
Well, since it’s quite complicated, here is an enormous image that explains how all the controls work, it should provide you with almost all the information you need to use the new turret controls.




What About Decoys?
Although it might seem at first like this mod makes decoys irrelevant, there are still quite useful. Decoys are targeted as if they where the highest priority block type, using the default settings shown in the image above.


Does It Work In Multiplayer?
Yes it does, it should work fine in multiplayer and on dedicated servers ;)


Saving Things To My Storage Directory, What Does That Mean?
Space Engineers has a folder in the same place as all your world saves for mods to put things. That’s where the mod will save your presets, meaning they will be available to you across all your worlds and on any server running this mod.


Performance Notes
This mod needs to do a lot of math to find targets, although it is significantly more performance friendly then it’s predecessor it can still generate some lag if you have a stupid number of turrets near enormous hostile grids. You have been warned :P


Bugs/Crashes and Known Issues
This mod is immensely complicated and as such, despite rigorous testing, there is almost certainly the odd bug or crash still lurking around. If anything does go wrong, please pop a message in the appropriate discussion below.

There are two known issues with this mod currently:

1. I’ve had to disabled targeting of players, spiders/wolves and meteors due to some issues with Keens turret aiming and shooting code, I can’t do much about it without writing my own code for aiming and shooting turrets, so I don’t know when I’ll fix it if at all. I don’t really see much reason to fix it as players and meteors are often best dealt with using different turrets then you use for shooting ships, so there is no reason I can think of not to use vanilla targeting for that.

2. Sometimes turrets aim really slowly and jerkily, it happens at random and fixes itself at random, I’ve seen it happen with and without Smart Targeting enabled. Not sure what’s causing it or how to fix it.
Popular Discussions View All (5)
9
18 Jul, 2020 @ 10:28am
please null exception fix
jimkey
1
8 Sep, 2021 @ 8:42am
What is going on?
Futurepast1
0
20 Jun, 2020 @ 11:26am
PINNED: New Bug Reports
xirathonxbox
258 Comments
Kodaxmax 9 Feb @ 11:47pm 
why is this mod marked obsolete? is there a spiritual successor? The vanilla turret ai is still bugged and practically useless if it did work.
DaysofKnight 9 May, 2023 @ 4:32pm 
Has this mod not seen any attention in THREE YEARS? That was the last time you or your contributor replied to the comments here.

Can we get this updated to work properly? The turrets are kinda stupid
DaysofKnight 8 May, 2023 @ 6:30am 
Is this is obsolete, where's the mod that made it obsolete so I can subscribe to it? That way I can tell my turrets which priorities are more important than others
Zombie 12 Aug, 2022 @ 1:42pm 
I do not think this script will work for me since the server I play on uses Weapon Core Mod

I hate AI turrets in a way. I mean once the ship is disabled the turrets should stop firing, but noo they keep firing wasting ammo destroying so much of the ship that it hardly even worth going out to salvage it. 95% of what you end up with is steel plates Metal grids and scrap metal
maxwindude 10 Mar, 2022 @ 11:32am 
This is still better than the new AI update.
Unruly 25 Nov, 2021 @ 8:55am 
@maxwindude: well, the thing is it *does* appear, at times, on other grids in the same session. Moving ST2 to the bottom didn't change anything for me. As well, ST2 beta does the same thing, at the top or the bottom of the mod list.
ariesfighter15 10 Nov, 2021 @ 5:29pm 
Is there a way to have this and weaponcore in my world at the same time? It seem that one will work while the other doesn't.
maxwindude 29 Oct, 2021 @ 5:49pm 
The UI problem Is most likely a load order problem. Try putting Smart turrets 2 at the bottom of your load order under your weapon mods.
Unruly 13 Oct, 2021 @ 9:43am 
I'm using the beta version, and it also doesn't show up in the UI all the time. restarting/reordering doesn't seem to help. And then suddenly, there's the UI options again for no apparent reason.

The funny thing is, the turrets I have already set to be Smart continue to work, I just can't adjust them or set new turrets to be Smart.
Jimbodiah 22 Sep, 2021 @ 5:39pm 
Doesn't show up on any of the weapons mod we use for some reason (MWI, PDC, GH).