GreatRamilOfficial-Disable_Turret_On_Hit icon

Disable Turret On Hit

Lets you disable a turret by hitting it with a shovel (CONFIGURABLE)

Last updated 3 weeks ago
Total downloads 1708
Total rating 1 
Categories Mods Server-side
Dependency string GreatRamilOfficial-Disable_Turret_On_Hit-2.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

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: https://thunderstore.io/c/lethal-company/p/MiffyL/Kill_It_With_Shovel/

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 there is no spawn animation (you know, that one when you join the lobby and your character looks down at his hands first, it's just gone), but in modpacks which is most likely having such a popular mod as MoreCompany, it conflicts with it or something beacuse it removes all accessories off player's model. And also when i were testing it in modpack once we became invincible. We could drop down to 1 hp but not less. I'm not sure if it's somehow related to my mod, but it happened after i added it, but anyway later when i tested it again i were mortal again, but still no accessories and spawn animation. So that's why i tried to rework the mod and publish it as 2.0.0, i just tried to keep it as similiar as possible to the original which works fine.

  • Added a couple more configurations. Yep, that's it.