You are viewing a potentially older version of this package. View all versions.
VirusTLNR-LethalIntelligenceExperimental-0.0.7 icon

LethalIntelligenceExperimental

[EXPERIMENTAL]Improved AI in Lethal Company (WIP)

Date uploaded a month ago
Version 0.0.7
Download link VirusTLNR-LethalIntelligenceExperimental-0.0.7.zip
Downloads 3036
Dependency string VirusTLNR-LethalIntelligenceExperimental-0.0.7

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
xilophor-LethalNetworkAPI-2.2.0 icon
xilophor-LethalNetworkAPI

A library/API to allow developers to easily add networking to their mods.

Preferred version: 2.2.0

README

LethalIntelligence

Information

A mod aiming to tweak all AI in the game to have improved flavour and perhaps be more intelligent

This mod is built upon Piggy's "MaskedAiRevamp v0.2.1" (https://thunderstore.io/c/lethal-company/p/Piggy/MaskedAIRevamp/).

As piggy wrote in the readme for v0.2.1 - this mod maybe very buggy, i hope to make it more stable over time!

All clients must have this mod installed for it to work!

There is compatibility with RugbugRedfern's SkinWalkers mod.

The current version is a very very early version, no optimization work has been done, so you may experience significant frame drops even with high PC specs!!!

Also... There may be tons of bugs. (please do report them to me, either via github or the Lethal Company Modding Community on discord!)

Masked Behaviour (spoiler?):
  • Aggressive

    • If you have a dropped shotgun, pick it up and shoot people.
    • If there is a player with a shotgun, attack with a shovel type item.
  • Stealthy

    • No major features yet..
  • Cunning

    • Stealing in the area around the ship and hiding them in bushes (currently 1 occurs 99% of the time, more is possible but not guaranteed!)
    • Call a fake dropship using the terminal
    • Tampers with the breaker box to turn off the lights, will keep turning the lights off while they are alive.
  • Deceiving

    • Use terminal code
  • Insane

    • Use signal translator

Known Issues

  • sometimes masked have issues with picking up items (possibly fixed)
  • masked sometimes seem a bit confused after leaving the terminal (cunning should be fixed in 0.0.7)
  • masked love to crouch to much.. lets make thier knees less bendy! (partially fixed in 0.0.7)
  • if the breaker box is not reachable, the masked will struggle to route anywhere due to being focused on routing to the breaker box. once the box is reachable again, they will be fine.

Mods

Recommended to install with this mod:

  • 'MaskedEnemyOverhaulFork' mod by Coppertiel (the original by HomelessGinger is bugged at time of writing this).
  • 'Skinwalkers' by RedbugRedfern. OR 'Mirage' by qwbarch (no integration for mirage as of yet, but it is planned)

Thanks to...

  • Piggy for the original Masked AI Revamp to which this mod is built on and inspired me to do more, and for the permission to use your code as a base point.
  • TestAccount666 for the signal translator code from AutomaticSignals.
  • MattyMatty for the LobbyCompatibility softdependency class.
  • Kite (on discord) for the Masked joining/leaving terminal fixes.
  • WhiteSpike (on discord) for help and suggestions regarding the breaker box.

CHANGELOG

Changelog

0.1.2

  • switched from FPS based timing to a fixed update timing of 0.1s and fixed all relevent timing issues related to this change.
  • fixed some variables not updating since v0.1.1 leading to masked being unable to perform some tasks.
  • fixed masked "sight" parameters to correct the sight they have so they are not seeing through the back of their skulls (well almost..)

0.1.1

  • attempted to improve the pathing to the breaker box
  • prevented "Stealthy" from focusing on items as they have no logic for items.
  • potentially fixed an issue with fps drops due to heavy calculations, hopefully this fix doesnt cause other issues :)

0.1.0

  • fixed null reference exception regarding to MaskedAggressive Focus.Player when player escapes the masked.

0.0.9

  • Added some basic background coding to help debug issues quicker while using Imperium. (for my benefit really).
  • Potentially fixed an issue with item log spam due to errors with the list when a masked spawns (usually due to items being "removed" from the game completely i think))
  • Made it so personalities can be turned on/off, if you turn off all personalities, the whole "Masked AI" functionality will automatically be disabled.

0.0.8 - Masked AI Revamp Coding Re-Write patch

  • Rewritten a big chunk of the Masked AI Revamp original code, we have gone from "Personalities" only, to include "Focuses" and when there is no focus.. "Activities"
  • Potentially added integration with Wendigos_Voice_Cloning by Tim_Shaw (please do test and let me know how it goes :))
  • Removed some code branches which I could not fit into the new code logic branches of Personality/Focus/Activity.
  • Fixed masked loving to linger at the main entrance, they should now "reposition" themselves between the MainEntrance, The ShipLocker and the BreakerBox.. I plan to add the "Apparatus" and the "FireExits" as other options in the future.
  • Potentially fixed a bug where more than 1 masked will use the terminal.
  • Masked now have a random chance to change focus to a nearby detected player (depends on the personality what the chance is, from something like 20% to near 100%)
  • Fixed an issue where the mod would flag up as a virus on some Anti-Virus scanners due to having the word "Virus" in the AssemblyName.

0.0.7 - the Masked "Cunning" major fix patch

  • Masked "Cunning" will now successfully steal 1 item from the ship and will no longer bring items to the ship, the stolen item will be hidden in a 'bush' on moons that have 'bushes'. may steal more items as well.
  • Masked "Cunning" will tamper with the breaker box (turn it off), they may be able to turn it on if its already off.. then turn it off later.. but this doesnt 100% work yet.
  • added a check to fix an issue with Masked<->Player collision that caused incompatibility with DramaMask
  • Fixed the list of items which "Cunning" can use to take items from the ship
  • Modified some animation selection logic to hopefully stop the masked using incorrect animations.

0.0.6

  • Potentially fixed masked "aimbot" by stopping them look at you if they visually cant see you
  • potentially fixed an issue causing masked to run slowly

0.0.5

  • Fixing masked terminal interactions (hopefully) (joining/leaving mostly)
  • Prevented a null exception related to masked picking up items

0.0.4

  • Added more words to the selection of words for the insane to use.

0.0.3

  • Fixed "SoftDependency" with BMX.LobbyCompatibility

0.0.2

  • Added a new masked Personality (Insane) - may rename this later, but for now this is what it is called, the Insane will enter randomised signal translator messages to confuse/help/kill you. More functionality will come soon.
  • Fixed the "Deceiving" Personality where in it seemed like it didnt actually do anything at the terminal, it will now enter terminal codes at the terminal for a period of time (a set amount of codes), there is a randomised time delay between codes.

0.0.1