Disable Turret On Hit
Lets you disable a turret by hitting it with a shovel (CONFIGURABLE)
模組介紹 作者原文
Kill-It-With-Shovel
Introduction
Have you ever meet a turret face-to-face at the entrance?
If you have--and like me, you're super annoyed by it, this mod is for you! And it's fully configurable!
Description
You can now:
- Deactivate the turret for 5 seconds by hitting it with a shovel.
- Activate the turret again by hitting it twice. BEWARE: turret does NOT like being disturbed in sleep.
- Change if you can send turret into berserk mode on awakening it only if it has been deactivated by other weapon previously.
- Change with what chance turret gonna deactivate upon getting hit, in other case, it will enter berserk mode.
- Set the guaranteed berserk mode value, it's amount of hits it will take to turret to start guaranteed berserk mode ignoring the chances (doesn't count if have been hit in deactivated or berserk state, also you can disable this by setting the guaranteed berserk mode value to -1).
- Set if guaranteed berserk mode value is gonna decrease only if turret was successfully deactivated by hit.
Config Options
Berseker Mode when being waked
- If it's set to true, will make turret go into berserk mode when being hit by a weapon while it's deactivated.
- If it's set to false, just disables that feature completely
Can be Waked only after deactivating to a weapon
- If it's set to true, you will be able to wake turret only if it has been deactivated by a previous weapon hit.
- If it's set to false, you can wake it no matter in what way turret was deactivated, it will enter berserk mode.
Disable Duration
- The time it takes for turret to become active again, in seconds.
Deactivate Chance
- A chance that turret will be deactivated on hitting it in number between 0 and 1. It doesn't has to be a full number, it could be something like 0.34 or whatever, it will count as 34% chance.
- 1 is 100% meaning that turret will be always deactivated on hitting it, with 0 it will always enter berserk mode.
Guaranteed Berserk Mode
- Amount of hits it will take to send turret into guaranteed berserk mode. It fully ignores the chances, it will 100% enter berserk mode. Note, that hitting it while it's already deactivated or in berserk mode will not decrease the amount of hits left to send turret into berserk mode.
- -1 Means that it will never enter guaranteed berserk mode if you always want to random to choose your fate 😈
Increase Guaranteed Berserk Mode Value on failure to deactivate the turret
- Couldn't end up with name shorter than that and understandable at the same moment, but what it does is that if it's false then amount of hits you need to deal to the turret to start guaranteed berserk mode will not decrease if it were sent into berserk mode by random, and only if it was deactivated.
Credits
I wanna be honest, this isn't fully my mod. It's a upgraded version of already existing mod by MiffyL - Kill It With Shovel
Here's the link:
But i edited the mod and added more configurations to make turret behaivor more configurable to the users.
Some questions
Do i plan to update mod?
- Of course, i'll try at least. This is my first mod i used scripting at, and i'm not too well at it right now, but i want to get better at this and update this mod to make turrets more configurable. For example terminal control, change the deactivate duration from the ship, maybe even add a feature to make player able to toggle berserk mode straight out of the ship to troll his friends... 😈😈😈
When do i plan to update it?
- Not sure, this mod isn't even published yet, i mean it is but not the 2.0.0 version. In 1.0.0 i even forgot to edit mod page description. So i don't know if this mod will get ANY KIND of popularity in future, i hope it does. It will really motivate me keep moving into modding direction, especially for the game like Lethal Company.
What did you update in 2.0.0?
- Tried to do bug fix. Talking about 1.0.0, it works fine in vanilla, except for the fact that ther
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: