You are viewing a potentially older version of this package. View all versions.
TwinDimensionalProductions-CoilHeadStare-1.0.9 icon

CoilHeadStare

Makes the Coil Head slowly turn and face you even while you are looking directly at it. Reminding you that it only needs you to falter for a single moment. Extra feature: Coil Head spring bounces when hit with a shovel.

Date uploaded 3 months ago
Version 1.0.9
Download link TwinDimensionalProductions-CoilHeadStare-1.0.9.zip
Downloads 801181
Dependency string TwinDimensionalProductions-CoilHeadStare-1.0.9

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

CoilHeadStare - made by TDP

This mod makes the Coil Head slowly turn its head to stare at you after standing close to it for a while. Because it just isn't scary enough already.

You are looking right at it. It shouldn't be able to move, right? Slowly, its head begins to turn towards you, menacingly. Mocking you. It knows you can't escape.

This is a client-mod, anyone who has it installed will see the Coil Head stare at the closest player.

Values like the speed at which the head turns are tweakable in the config file.

Extra feature: If you hit the Coil Head with a shovel or something similar, the head spring will bounce. This is on by default but can be changed in the config file.

preview gif


Important: This mod is incompatible with many model replacements or reskins of the Coil Head.

But even if the head doesn't turn, hitting it with a shovel for the recoil animation should almost always work.

 

To modders: If you want to make your reskin work with CoilHeadStare:

  • Make sure to have the head and body mesh seperate, and have the head as a child transform of "springBone.002".
  • The transform hierarchy does not have to be the exact same as the default Coil Head, but this mod does a recursive search for a transform with the name "springBone.002", and its last child is expected to be the head.
  • If there are multiple "springBone.002", perhaps because the original hierarchy is not deleted, the last one the recursive search finds is used.
  • If you use the default rig, there is another animated bone as child of "springBone.002". The head needs to be behind that in the hierarchy.
  • The head needs to have a MeshRenderer, not a SkinnedMeshRenderer.
  • Make sure the head transform origin / pivot point is at the neck, where you would expect it to turn.
  • Lastly, if the Z axis of your head is not pointing forward, make it the child of an empty gameobject at the same position which points forward.

There does seem to be a way to not have the head seperate but instead entirely weighted to the single bone under springBone.002, however if this works in all cases is uncertain.

CoilHeadStare has a thread in the unofficial "Lethal Company Modding" community on discord. Feel free to ask any questions you have about the process there.

CHANGELOG

1.0.9

improved head bonk error catching and logging

1.0.8

fixed bug accidentally introduced in last patch

1.0.7

fixed script breaking due to error when no head was found

1.0.6

improved instructions in readme for reskin compatibility

improved log output

changed showcase gif to include shovel head bonk

1.0.5

increased compatibility with reskins

after working together with CommanderJoJo, ThiccCoilHead is guaranteed to work with CoilHeadStare

1.0.4

added toggle-able feature to make the coil heads spring bounce when hit with shovel

modified code to allow for better compatibility with coil head reskins

1.0.3

fixed an error being logged to console when coil head couldn't find any player

1.0.2

when the head starts turning, it won't switch its stare target anymore

also the head will now stop turning when the targeted player leaves its radius

1.0.1

improved config value descriptions

improved readme