You are viewing a potentially older version of this package. View all versions.
bcs4313-Moai_Enemy-1.8.0 icon

Moai Enemy

Adds a funny little easter man to your game. Spawns outside with variants.

By bcs4313
Date uploaded 6 months ago
Version 1.8.0
Download link bcs4313-Moai_Enemy-1.8.0.zip
Downloads 6434
Dependency string bcs4313-Moai_Enemy-1.8.0

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
Evaisa-HookGenPatcher-0.0.5 icon
Evaisa-HookGenPatcher

Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.

Preferred version: 0.0.5
xilophor-LethalNetworkAPI-2.1.7 icon
xilophor-LethalNetworkAPI

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

Preferred version: 2.1.7
AinaVT-LethalConfig-1.4.2 icon
AinaVT-LethalConfig

Provides an in-game config menu for players to edit their configs, and an API for other mods to use and customize their entries.

Preferred version: 1.4.2
Evaisa-LethalLib-0.16.0 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 0.16.0

README

MoaiMod

Adds an Easter island Moai Statue to help kill your entire squad :)

This enemy spawns outside on any planet (for now), and has elemental variants to keep you on your toes.

Variants

Normal 

  • Your average Moai. Chases down the player to give them a big hug. *
  • Spawn Time: Day, Rarity: Common

    

Blue 

  • Summons lightning in a range that gets more and more violent the closer he is.
  • Do NOT mess with him.
  • Spawn Time: Night, Rarity: Uncommon

    

Angel 

  • An Angel moai will patrol around players, looking for enemies.
  • These moai are identified by their shiny halo on their heads.
  • Spawn Time: Any, Rarity: ???

    

Red 

  • A relentless, explosive psychopath.
  • Rushes down players at extreme speeds.
  • Likes to keep weak and lonely players organized (this is a warning)
  • Spawn Time: Night, Rarity: Rare

    

Size 

  • Moai have a 20% chance to be larger/smaller than usual.
  • Could be minor, or so severe that you can see him from a mile away.
  • Affects sfx pitch.

Special Behaviors

Consumption

  • Moai need a lot of energy dragging their heavy bodies around, so they tend to get hungry.
  • Moai may seek out very questionable items and devour them without a second thought.
  • Devouring an object will turn the moai into an angel variant, for some time.

Guardian Mode

  • Angel Moais charge and murder any threat it sees in order to protect the player.
  • Angel Moais are sophisticated, refusing to eat any disgusting scrap/player.

There is no escape

  • Moais may enter/exit the facility at any time.
  • The closer a moai is to an entrance/exit, the more likely they will enter it.

    

The mod is configurable. You can set a moai's rarity, size, speed, and sound volume in the main menu.

Currently Planned Features:

  • More Variants (Gold).
  • Unique sounds for each variant.
  • General asset/code cleanup and console logging fixes.

Changelog

1.0.0
* Mod Release 

1.01
* Manifest.json fix.

1.02-04
* Increased sight range. Made them much less common.

1.14
* Added configuration options for the mod, including:
- Enemy Rarity
- Enemy Size
- Enemy Speed
- Chase Volume
- Idle Volume
Lowered the default volume of moai chase sound fx.

1.15
- Sound distance adjustments and AI bugfix.\

1.16
- Increased mod compatibility with other enemy mods.

1.17
- Added strict spawn control params, cutting moai spawn rates by 1/6.
- Added group spawn chance, (18% per spawn success, adding 1-5 extra moai).

1.20
- Added moai size variants (with pitch adjustments). Big moais are horrifying.
- Adjusted Nav-mesh hitbox and hit collision to accurately represent moai size in navigation.
- Moai should no longer be able to phase through doors (if experienced, please report).
- Size Variant Chance Adjustable in settings.
- Made moai give up chase from a significantly closer distance.
- Moai give up chase closer if they do not see the player.

1.32
- Moai sounds/actions/sizes/pitch are completely synchronized on client/server.
- Gave the moai the ability to consume various things, with the desired objects being questionable sometimes.
- Gave the ability to eat (spoiler)-> ---------------------------------------------------------------------------------------------------------------> corpses, with a custom disgusting sound effect
- Fixed bug when host dies from moai while inside ship/factory/etc, causing ship desync.

1.5.0
Added Angel Variant:
- Angel moai have a glowing halo over their head
- Angel Moai will follow the player, essentially guarding them and attack enemies that are nearby. 
- They also have additional health proportional to the scrap value of the eaten object.
- Angel Moai don't try to eat scrap or players in this state.
- Angel Moai heal the player if they collide with them,
- Angel Moai stay as an angel for a fixed time, depending on how valuable the loot fed was.
- Moais may spawn as an angel (15% chance).
- moai can now be killed
- added death animation
- added death and hit sound effect
- added ability for moai to become angels after eating scrap
- some moai are not distracted by scrap during chase (33% chance)
- moai follow distance nerfed when they can't see the player
- moai synchronizes destruction of corpse after it is eaten

1.5.5
- Added ability for moai to enter indoor areas.
The closer they are to the entrance, the higher the chance.
- Angel moai will follow players indoors to guard them.
- Fixed v50 error that is caused from an updated HitEnemy method.
- Fixed a really annoying navigation spam error.
- Fixed an issue where moai would sometimes have a much larger follow range than they should.
- Nerfed angel variant duration from eating scrap.
- Nerfed blue moai rarity.

1.5.7
- Completely fixed Blue Moai Lightning synchronization (fully tested).
- Angel moai now will heal both clients and the host if they collide with them.

1.6.0
- Migrated from out-of-date dependency LC_API to LethalNetworkAPI.
- This should greatly increase mod compatibility and reduce synchronization issues.

1.6.2
- Added walk animation.
- Added scrap eating animation (fairly minor, may be improved later).
- Reduced chance for moai to ignore scrap during chase.
- Added transition smoothing to all animations.

1.6.3
- CRITICAL BUGFIX: Moai are no longer invisible on client side due to spawn control parameters.
- Moai vision area degrees boosted due to movement sway.

1.6.5
- Spawnrate overhaul:
- Normal moai have an exact 1/3 chance to be able to spawn AT ALL on each planet.
- 13% chance for spawnrate multiplier to be 16%
- 10% chance for spawnrate multiplier to be 50%
- 10% chance for spawnrate multiplier to be 100% (moai hell).
- Increased tendency for many normal moai to spawn in one day (if applicable).
- Blue moais are unaffected by this change.

1.7.0
- Changed moai and blue moai textures to be more detailed and fit properly in the game.
- Made it so you can't hear all moai sounds as far away as before.
- Nerfed moai hp to 6 (previously 8).
- Nerfed moai dmg to enemies (2->1).
- Fixed moai ai being buggy while inside a ship (camping) 
and getting confused when the player is at certain elevations.
- Moais no longer go for food during chase (making it safe to drop items and run)
- Added stamina mechanic.
- Moai chase players/enemies for a limited time, before having to recover.
- Moai may chase for a shorter period if their stamina isn't fully recovered.
- Moai start with 0 stamina on spawn.
- Moai attach corpses to their mouth now when eating them.
- Fixed client animation bugs from client using an RPC it shouldn't.
- Other general bugfixes.

1.7.2
- Redesigned idle/search sounds.
- Reduced chance for moai to be spawning on any day (33%->20%)
- 8% chance for spawnrate multiplier to be 16%
- 6% chance for spawnrate multiplier to be 50%
- 6% chance for spawnrate multiplier to be 100% (moai hell).

1.8.0
- Added Red Moai (Berzerk Moai)
- Red Moai pursue and stare at players, attacking when they get angry enough.
- Red Moai will attack via a blitz attack, or kidnap a player.
- Blitz:
- Moai charges up and launches 4 times, causing explosions in its wake.
- A blitz can be dodged effectively with good footwork.
- Kidnap:
- Steals the player, taking them somewhere inside the factory.
- The kidnapping red moai may decide to lock you behind a door if it feels like it.
- Conditions for stealing the player:
Carry weight < 40
No defensive item in inventory
Player is Alone
Player is not standing on a rocky surface 

- Moai now retailiate when they are hit.
- Made sliding fx louder.

I am open to any feedback and/or requests for new features. Check my thread on the lethal company modding discord:

https://discord.com/channels/1168655651455639582/1231401205234667571

or message me through my email at [email protected].

Also I would love to watch your friends be slaughtered by him (yes I am a sadist)!