Turret Automation Kit
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«Turret Automation Kit» — материал мастерской Barotrauma. Моды, подлодки, предметы и новые задания для экипажа. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Ever wonder why humans can achieve space travel but can't make a competent turret AI? Well, this mod has you covered.
I searched Steam for automatic turret controllers, but all of their ranges are hilariously low. So I decide to make my own version with longer ranges. It comes with a 3000 unit turret controller and a 1000 unit one. (1 unit = 1 cm). This kit is for sub designers who are already proficient with the sub editor.
If you have any questions or problems please let me know. I am a noob player who has never gone deeper than the Cold Cavern so I have no idea what could go wrong.
Core Components:
-
Motion Sensor Array, plus axis sensors to detect monsters, as well as fire angle calculation components/relays
-
Fire Trigger Sensors, to determine when to fire at monsters, plus connected relays. I made 4 sets for facing 4 different directions, but generally only one set is enough.
-
Fire Control Relay that connects to the weapon you want to automate
-
Turret Safety features that disables the turret from firing when a human is detected by the fire trigger sensors
-
Manual Control components that disable firing when the periscope is in use
-
Complementary Dummy Components that showcase wiring
Complementary Dummy Components:
-
Dummy pulse laser
-
Dummy AI fire control toggle
-
Dummy turret safety toggle
-
Dummy periscope to showcase the wiring of Manual Control components
Steps to connect the turret controller:
-
Load the mod as submarine, copy all the components minus the 3 redundant sets of Fire Trigger sensors
-
Paste the components to your sub. Important: paste far away from your sub to avoid overlapping items
-
Connect the Fire Control relay with the turret of your choice, following the the wiring to the dummy pulse laser
-
Connect the "Not" component of the Manual Control to the periscope, following the the wiring to the dummy periscope
-
(Optional but recommended) hide any new wires
-
(Optional) add Complementary Components to your ship following the wiring of the Dummy Components
-
Delete the dummy pulse laser and other Dummy Components
-
Organize/fine tune the Fire Trigger sensors to fit your turret's firing arc. Note that for each Fire Trigger sensor you see, there are actually two overlapping sensors, one for humans and one for monsters
-
(Optional) delete the part of the Motion Sensor Array that you don't need
-
Move the trimmed Motion Sensor Array (basically everything that we haven't touched yet) to the turret of your choice, so that the axis sensors (orange ones) overlap with the center of the turret's firing arc
-
Profit
About Toggling AI Fire Control And Turret Safety:
Double check the wiring for the Fire Control and Turret Safety relays if your AI turrets have problems firing.
The default wiring to toggle both relays uses set_state. However, if you are using a navigation terminal, or a vanilla button, or any controller that does not have the "Is Toggle" option selected, then you need to move the wire from set_state to toggle_state.
Special Notes:
-
Great thanks to 江奈 for his Dagger, an awesome ship. I took great inspiration from (shamelessly copied) his automatic turret system and extended the original design's range. The Apo-3A Dagger is here: https://steamcommunity.com/sharedfiles/filedetails/?id=2365108119
-
Koresh seems to have a more elaborately designed version of automatic turrets, but unfortunately the range is still limited. Check out his design here: https://steamcommunity.com/sharedfiles/filedetails/?id=2185206376&searchtext=Auto+turret
-
I eventually decided against making the turrets able to fire at hostile humans, since motion sensors can't tell the difference between a hostile sub and a station, or pirates and you.
-
To see this kit in action, check my personal modification to the Iroh: https://steamcommunity.com/sharedfiles/filedetails/?id=2666989276
-
WARNING: Due to a lot of motion sensors, the performance, especially in multiplayer, suffers.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.