You are viewing a potentially older version of this package.
View all versions.
![Zehs-ToilHead-1.6.0 icon](https://gcdn.thunderstore.io/live/repository/icons/Zehs-ToilHead-1.6.0.png.128x128_q95.png)
ToilHead
CoilHeads and Manticoils can sometimes spawn with a turret on their head. Highly Configurable.
Date uploaded | 2 weeks ago |
Version | 1.6.0 |
Download link | Zehs-ToilHead-1.6.0.zip |
Downloads | 5849 |
Dependency string | Zehs-ToilHead-1.6.0 |
This mod requires the following mods to function
![BepInEx-BepInExPack-5.4.2100 icon](https://gcdn.thunderstore.io/live/repository/icons/BepInEx-BepInExPack-5.4.2100.png.64x64_q95.png)
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
ToilHead
CoilHeads and Manticoils can sometimes spawn with a turret on their head. Highly Configurable.
This mod does not add new enemies. It gives Coil-Heads and Manticoils a chance to spawn with a turret on their head.
This mod is for all clients!
Toilation (moon)
Download my new moon called Toilation themed around this mod.
Mod Compatibility
This mod is compatible with:
- Toilation - A new moon themed around this mod :3
- Asteroid13 - Adds some secrets
- CoilHeadStare - If you want to die harder :3
- ghostCodes - Adds extra functionality
- Brutal Company Minus - Adds extra functionality
- Monster Plushies - Adds another plushie :3
Config Settings
Expand
General Settings | Setting type | Default value | Description |
---|---|---|---|
EnableConfiguration |
Boolean |
false |
Enable if you want to use custom set config setting values. If disabled, the default config setting values will be used. |
ExtendedLogging |
Boolean |
false |
Enable extended logging. |
Toilation Settings | Setting type | Default value | Description |
---|---|---|---|
<MaxSpawnCount>:<SpawnChance> |
|||
ToilHeadSpawnSettings |
String |
6:75 |
Toil-Head spawn settings for 69-Toilation. |
MantiToilSpawnSettings |
String |
50:90 |
Manti-Toil spawn settings for 69-Toilation. |
ToilSlayerSpawnSettings |
String |
2:10 |
Toil-Slayer spawn settings for 69-Toilation. |
Toil-Head Settings | Setting type | Default value | Description |
---|---|---|---|
<MaxSpawnCount>:<SpawnChance> |
|||
ToilHeadDefaultSpawnSettings |
String |
1:30 |
Toil-Head default spawn settings for all moons. |
<PlanetName>:<MaxSpawnCount>:<SpawnChance> |
Separate each entry with a comma. | ||
ToilHeadSpawnSettingsMoonList |
String |
41 Experimentation:1:10, 220 Assurance:1:20, 56 Vow:1:20, 21 Offense:1:20, 61 March:1:20, 20 Adamance:1:30, 85 Rend:1:40, 7 Dine:1:45, 8 Titan:1:50, 68 Artifice:2:70, 5 Embrion:1:30, 57 Asteroid-13:2:30, 523 Ooblterra:2:70 |
Toil-Head spawn settings list for moons. |
Manti-Toil Settings | Setting type | Default value | Description |
---|---|---|---|
<MaxSpawnCount>:<SpawnChance> |
|||
MantiToilDefaultSpawnSettings |
String |
5:50 |
Manti-Toil default spawn settings for all moons. |
<PlanetName>:<MaxSpawnCount>:<SpawnChance> |
Separate each entry with a comma. | ||
MantiToilSpawnSettingsMoonList |
String |
20 Adamance:5:60, 85 Rend:5:60, 7 Dine:5:65, 8 Titan:5:70, 68 Artifice:8:75 |
Manti-Toil spawn settings list for moons. |
Toil-Slayer Settings | Setting type | Default value | Description |
---|---|---|---|
<MaxSpawnCount>:<SpawnChance> |
|||
ToilSlayerDefaultSpawnSettings |
String |
1:10 |
Toil-Slayer default spawn settings for all moons. |
<PlanetName>:<MaxSpawnCount>:<SpawnChance> |
Separate each entry with a comma. | ||
ToilSlayerSpawnSettingsMoonList |
String |
20 Adamance:1:15, 85 Rend:1:15, 7 Dine:1:15, 8 Titan:1:20, 68 Artifice:1:20, 57 Asteroid-13:1:15, 523 Ooblterra:1:25 |
Toil-Slayer spawn settings list for moons. |
Player Ragdoll Settings | Setting type | Default value | Description |
---|---|---|---|
SpawnToilHeadPlayerRagdolls |
Boolean |
True |
If enabled, will spawn a Toiled player ragdoll when a player dies to a Turret-Head in any way. |
SpawnRealToilHeadPlayerRagdolls |
Boolean |
True |
If enabled, will spawn a real turret on the Toiled player ragdoll. |
Toil-Head Plushie Settings | Setting type | Default value | Description |
---|---|---|---|
SpawnWeight |
Int32 |
10 |
Toil-Head plushie spawn chance weight. |
SpawnAllMoons |
Boolean |
true |
If true, the Toil-Head plushie will spawn on all moons. If false, the Toil-Head plushie will only spawn on moons set in the moons list. |
MoonSpawnList |
String |
Experimentation, Assurance, Vow, Offense, March, Adamance, Rend, Dine, Titan, Artifice, Embrion |
The list of moons the Toil-Head plushie will spawn on. |
CarryWeight |
Int32 |
6 |
Toil-Head plushie carry weight in pounds. |
MinValue |
Int32 |
80 |
Toil-Head plushie min scrap value. |
MaxValue |
Int32 |
250 |
Toil-Head plushie max scrap value. |
Turret Settings | Setting type | Default value | Description |
---|---|---|---|
LostLOSDuration |
Single |
0.75 |
The duration until the turret loses the target player when not in line of sight. |
RotationRange |
Single |
75 |
The rotation range of the turret in degrees. |
CodeAccessCooldownDuration |
Single |
7 |
The duration of the turret being disabled from the terminal in seconds. |
Turret Detection Settings | Setting type | Default value | Description |
---|---|---|---|
Rotation |
Boolean |
false |
If enabled, the turret will rotate when searching for players. |
RotationSpeed |
Single |
28 |
The rotation speed of the turret when in detection state. |
Turret Charging Settings | Setting type | Default value | Description |
---|---|---|---|
ChargingDuration |
Single |
2 |
The duration of the turret charging state. |
RotationSpeed |
Single |
95 |
The rotation speed of the turret when in charging state. |
Turret Firing Settings | Setting type | Default value | Description |
---|---|---|---|
RotationSpeed |
Single |
95 |
The rotation speed of the turret when in firing state. |
Turret Berserk Settings | Setting type | Default value | Description |
---|---|---|---|
BerserkDuration |
Single |
9 |
The duration of the turret berserk state. |
RotationSpeed |
Single |
77 |
The rotation speed of the turret when in berserk state. |
API
Expand
https://github.com/ZehsTeam/Lethal-Company-ToilHead/blob/master/ToilHead/Api.cs
// This is for all enemy turret pairs.
public static Dictionary<NetworkObject, NetworkObject> EnemyTurretPairs { get; }
// Toil-Head spawn count.
public static int ToilHeadSpawnCount { get; }
// If enabled, will force any spawned Coil-Heads to become Toil-Heads.
// This will get reset automatically when the day ends.
public static bool ForceToilHeadSpawns { get; set; }
// If set to any value above -1, will temporarily override the Toil-Head max spawn count.
// This will get reset automatically when the day ends.
public static int ForceToilHeadMaxSpawnCount { get; set; }
// This must only be called on the Host/Server.
// Only accepts an EnemyAI instance where the EnemyType.enemyName is "Spring".
// Returns true if successful.
public static bool SetToilHeadOnServer(EnemyAI enemyAI) { }
// Manti-Toil spawn count.
public static int MantiToilSpawnCount { get; }
// If enabled, will force any spawned Manticoils to become Manti-Toils.
// This will get reset automatically when the day ends.
public static bool ForceMantiToilSpawns { get; set; }
// If set to any value above -1, will temporarily override the Manti-Toil max spawn count.
// This will get reset automatically when the day ends.
public static int ForceMantiToilMaxSpawnCount { get; set; }
// This must only be called on the Host/Server.
// Only accepts an EnemyAI instance where the EnemyType.enemyName is "Manticoil".
// Returns true if successful.
public static bool SetMantiToilOnServer(EnemyAI enemyAI) { }
// Toil-Slayer spawn count.
public static int ToilSlayerSpawnCount { get; }
// If enabled, will force any spawned Coil-Heads to become Toil-Slayers.
// This will get reset automatically when the day ends.
public static bool ForceToilSlayerSpawns { get; set; }
// If set to any value above -1, will temporarily override the Toil-Slayer max spawn count.
// This will get reset automatically when the day ends.
public static int ForceToilSlayerMaxSpawnCount { get; set; }
// This must only be called on the Host/Server.
// Only accepts an EnemyAI instance where the EnemyType.enemyName is "Spring".
// Returns true if successful.
public static bool SetToilSlayerOnServer(EnemyAI enemyAI) { }
Bug Reports, Help, or Suggestions
https://github.com/ZehsTeam/Lethal-Company-ToilHead/issues
Discord server | Forum | Post |
---|---|---|
Lethal Company modding Discord | #mod-releases |
ToilHead |
Unofficial Lethal Company Community | #mod-releases |
ToilHead |
Screenshots
![](https://i.imgur.com/2wvuDcg.jpeg)
![](https://i.imgur.com/dXMbu6m.jpeg)
CHANGELOG
v1.7.0
- Added [REDACTED]
- Added [REDACTED]
- Added support for the RandomEnemiesSize mod.
- Added support for the SCP173CoilheadSFX Coil-Head reskin mod.
- Added support for the WeepingAngels Coil-Head reskin mod.
- Added support for the FNaFEndoCoilhead Coil-Head reskin mod.
- Added support for the ThiccCoilHead Coil-Head reskin mod.
- Added support for the A Rather Silly Coil Head Coil-Head reskin mod.
- Made some changes to the API.
- Other changes.
v1.6.3
- Fixed some Turret-Head turrets sometimes not properly despawning.
- Small changes.
v1.6.2
- Changed some config settings default values.
v1.6.1
- Reduced Turret and Minigun damage.
- Added Manti-Slayer
- Added Toil-Player
- Added Slayer-Player
- Added more properties to the API.
v1.6.0
- Reworked all the configs and added some new ones.
- Made some changes to the API.
v1.5.1
- Moved the moon Toilation to a separate mod.
- Fixed Manti-Toil turrets not despawning after the Manticoil despawns.
- Fixed Manti-Toil config settings not working properly.
- Added
ToilSlayerMaxSpawnCount
config setting.- Description: Toil-Slayer max spawn count.
- Added
ToilSlayerSpawnChance
config setting.- Description: The percent chance a Coil-Head turns into a Toil-Slayer.
- Added Toil-Slayer properties to the API.
v1.5.0
- Added a new moon called Toilation.
Older Versions
v1.4.3
- Added Toil-Slayer
v1.4.2
- Added
EnableConfiguration
config setting.- Description: Enable if you want to use custom set config setting values. If disabled, the default config setting values will be used.
- Changed
PlushieCarryWeight
config setting default value from 4 to 6 - Changed
PlushieMinValue
config setting default value from 150 to 80
v1.4.1
- Changed Manti-Toil line of sight.
- Decreased view distance from 50 to 30 meters.
- Decreased horizontal view range from 40 to 30 degrees.
- Increased vertical view range.
- Added more LevelTypes to the
PlushieMoonSpawnList
config setting.
v1.4.0
- Added Manti-Toils
- Description: Manticoils can sometimes spawn with a turret on their head.
- Added
MantiToilMaxSpawnCount
config setting.- Description: Manti-Toil max spawn count.
- Added
MantiToilSpawnChance
config setting.- Description: The percent chance a Manticoil turns into a Manti-Toil.
v1.3.7
- Added
PlushieSpawnAllMoons
config setting.- Description: If true, the Toil-Head plushie will spawn on all moons. If false, the Toil-Head plushie will only spawn on moons set in the moons list.
- Added
PlushieMoonSpawnList
config setting.- Description: The list of moons the Toil-Head plushie will spawn on. (Experimentation, Assurance, Vow, Offense, March, Adamance, Rend, Dine, Titan, Artifice, Embrion) Only works if PlushieSpawnAllMoons is false.
- Added
PlushieCarryWeight
config setting.- Description: Toil-Head plushie carry weight in pounds.
- Added
PlushieMinValue
config setting.- Description: Toil-Head plushie min scrap value.
- Added
PlushieMaxValue
config setting.- Description: Toil-Head plushie max scrap value.
v1.3.6
- Added
PlushieSpawnWeight
config setting.- Description: Toil-Head plushie spawn chance weight. (Higher = more common)
- Updated Asteroid13 secrets.
v1.3.5
- Updated
CustomSpawnSettings
config setting default value and formatting.
v1.3.4
- Added Asteroid13 secrets back in.
- Added a Toil-Head monster plushie when you have the Monster Plushies mod installed.
v1.3.3
- Added
RealToilHeadPlayerRagdolls
config setting.- Description: If enabled, will spawn a real turret on the Toil-Head player ragdoll.
- Added
CustomSpawnSettings
config setting.- Description: Toil-Head spawn settings for modded moons. You can now specify any modded moon's Toil-Head MaxSpawnCount and SpawnChance.
- Added
ExperimentationSpawnSettings
config setting.- Description: Toil-Head spawn settings for 41-Experimentation
- Added
AssuranceSpawnSettings
config setting.- Description: Toil-Head spawn settings for 220-Assurance
- Decreased
TurretCodeAccessCooldownDuration
from 10 to 7 - Increased
AdamanceSpawnSettings
SpawnChance
from 25 to 30 - Increased
TitanSpawnSettings
MaxSpawnCount
from 1 to 2 - Increased
ArtificeSpawnSettings
MaxSpawnCount
from 1 to 2 - Added XML file for API documentation.
v1.3.2
- Added
forceMaxSpawnCount
int property to the API.- Description: If set to any value above -1, will temporarily override the Toil-Head max spawn count for the day. This will get reset automatically when the day ends.
- Changed
forceToilHeadSpawns
bool property in the API toforceSpawns
.
v1.3.1
- Added
SpawnToilHeadPlayerRagdolls
config setting.- Description: If enabled, will spawn a Toil-Head player ragdoll when a player dies to a Toil-Head in any way.
- Increased
DineSpawnSettings
SpawnChance
from 30 to 45. - Added
forceToilHeadSpawns
boolean property to the API.- Description: If enabled, will force any spawned Coil-Heads to become Toil-Heads. This will get reset automatically when the day ends.
v1.3.0
- Replaced all Toil-Head config settings with new per moon config settings.
- Updated all turret config settings keys.
- Added
ExtendedLogging
config setting. - Improved random percent calculations.
v1.2.3
- Changed
spawnChance
config setting default value to 40 - Added
useAdditionalSpawnChance
config setting.- Description: The dynamic additional spawn chance for the Toil-Head based on certain circumstances.
v1.2.2
- Added API.
v1.2.1
- Improved line of sight logic.
- Renamed
turretRotationWhenSearching
config setting toturretDetectionRotation
. - Added
turretLostLOSDuration
config setting.- Description: The duration until the turret loses the target player when not in line of sight.
- Added
turretChargingDuration
config setting.- Description: The duration of the turret charging state.
- Added
turretFiringRotationSpeed
config setting.- Description: The rotation speed of the turret when in firing state.
- Added
turretBerserkDuration
config setting.- Description: The duration of the turret berserk state.
- Added
turretBerserkRotationSpeed
config setting.- Description: The rotation speed of the turret when in berserk state.
- Balanced config settings to be more fair.
- Other changes.
v1.2.0
- Removed
hideTurretBody
config setting. - Removed
spawnTurretFacingForwardWeight
config setting. - Removed
spawnTurretFacingBackwardWeight
config setting. - Added
turretRotationWhenSearching
config setting.- Description: If enabled, the turret will rotate when searching for players.
- Added
turretDetectionRotationSpeed
config setting.- Description: The rotation speed of the turret when searching for players.
- Added
turretChargingRotationSpeed
config setting.- Description: The rotation speed of the turret when charging at the target player.
- Added
turretRotationRange
config setting.- Description: The rotation range of the turret in degrees.
- Added
turretCodeAccessCooldownDuration
config setting.- Description: The duration of the turret being disabled from the terminal in seconds.
- Fixed the radar map graphics for the turret.
- Fixed the turret code radar map graphic to follow the Toil-Head.
- Hitting the Toil-Head will now trigger the turret berserk state.
- Disabled Asteroid13 secrets until the moon supports version 50.
- Other changes.
v1.1.0
- Tested and working in version 50 and version 49.
- Renamed
maxSpawns
config setting tomaxSpawnCount
. - Added
hideTurretBody
config setting. - Moved all config settings to new categories.
- Changed
spawnChance
andmaxSpawnCount
config setting default values. - Fixed Toil-Head turrets not despawning when the Toil-Head despawns.
v1.0.8
- Hopefully fixed an issue where Toil-Head turrets aren't despawning properly when you leave the moon.
v1.0.7
- Updated Asteroid13 secrets.
v1.0.6
- Fixed Asteroid13 secrets not working sometimes.
v1.0.5
- Small config changes.
- Updated secrets.
v1.0.4
- Added secrets to Asteroid13.
v1.0.3
- Fixed Toil-Head spawning from incorrect seed.
- Fixed max Toil-Head spawns.
v1.0.2
- Turrets can now spawn facing forward or backward depending on the spawn chance weight.
- Added
spawnTurretFacingForwardWeight
andspawnTurretFacingBackwardWeight
config settings.
v1.0.1
- Changed config settings default values.
- Updated README.
v1.0.0
- Initial release.