You are viewing a potentially older version of this package. View all versions.
347956-JPOGTrex-1.0.6 icon

JPOGTrex

JPOGTrex for Lethal Company.

Date uploaded 2 weeks ago
Version 1.0.6
Download link 347956-JPOGTrex-1.0.6.zip
Downloads 2041
Dependency string 347956-JPOGTrex-1.0.6

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-LethalLib-0.16.0 icon
Evaisa-LethalLib

Personal modding tools for Lethal Company

Preferred version: 0.16.0

README

JPOGTrex 🦖

This mod adds the T-rex from the game Jurassic Park Operation Genesis.

⚠️
This is the first mod I made for Lethal Company. Release (v1.0.0) has the bare minimum features I think the T-rex should have to function as an enemy. The T-rex should function, but the mod is not done yet. You may experience some buggy behaviour from the T-rex. I'll try and keep the mod updated and fix bugs.

Description 📃

JPOGTrex is a fully animated custom enemy that can spawn outside and will target players that are moving to much in it's vision.

Behaviour ▶️

  • Player spotting:
    • The Trex will spot players in it's line of sight that are moving (emotes, walking), once it's suspicion level reaches the treshold, it will start chasing the last player seen moving.
    • When you get to close to the T-rex you will also be spotted.
    • If you hear the T-rex's footsteps, you're in range to be detected and targeted.
  • Chasing:
    • The T-rex will chase the player last seen moving.
    • If the player gets to far from the T-rex, the T-rex will go to the last know position of the target player.
    • Going inside the facility or in the ship (and closing the door) will make the T-rex stop chasing you.
  • Attacking:
    • The T-rex will grab and kill the player once it gets close enough.
  • Eating:
    • If a player has been grabbed and killed, the T-rex will eat the body of the player.
  • Killable:
    • The T-rex should have around the same HP as a giant (hitboxes/colliders need some improvement).
    • The T-rex can be killed by Earth Leviathan.

Preview 👀

JPOGTrex on experimentation

Future 🎯

In the future I would like to make add more behaviours to the T-rex, and make it feel more like a "neutral" enemy that attacks both players and entities.

Other projects 💭

  • Create a custom moon with JPOG assets.
  • Add other JPOG dinosaurs.

TODO 🛠️

  • Make improvements to the audio (mainly the roars)
  • Make the T-rex attack other entities
  • Make the T-rex will eat other entities
  • Make the T-rex's collision boxes better
  • Make the hit detection of the T-rex better
  • Fix the running animation for the T-rex. For some reason the T-rex's right foot has a strange animation when running.
  • Fix the T-rex's "MouthGrip" not being set propperly. ✅
  • Add adrenaline effect to players that are seen moving by the T-rex
  • Add more configurable properties to the T-rex (speed, vision range, hunger level, etc.)

Source 🌐

The source code for the T-rex can be found on my GitHub. If you are making your own enemy mod for Lethal Company, feel free to take a look at my code for inspiration.

JPOGT-rex assets 📦

All assets (model, textures, animations and some audio) are from the game: Jurassic Park Operation Genesis
I also used some audio form the T-rex from the game: Primal Carnage: Extinction

CHANGELOG

1.0.7

  • Changed the in game name of JPOGTrex to "T-rex":
    • When scanning the T-rex it should now be called "T-rex" instead of "JPOGTrex".
  • Changed the T-rex agro on hit:
    • The T-rex should now start chasing the player that hit it.
    • During a chase this should cause the T-rex to switch targets.
    • Careful: The T-rex will agro instantly and start chasing. Shovel attacks are not recommended.
    • The T-rex should not start chasing the player if it has grabbed a player or is eating a player.
  • Fixed Death Animation:
    • When the T-rex's HP becomes 0 or less it should now instantly die.
    • No more delayed death animation.
    • Note: If The T-rex dies while grabbing/eating a player, the body will be recoverable with the teleporter.
      (I could also try and make it so that it drops/"ungrips" the body. But the TP method also makes sense. How else could you properly recover a body from a dead T-rex's clutched jaws anyway?)*

1.0.6

  • Changes to the roar audio clips:
    • The roar is now divided into multiple clips that are played on different audio sources. This should make it so that only the "main" part of the roar audio clip is loud and/or heard from further away.
  • Fixed the bite sound effect:
    • The Bite audio clip should now be played correctly when the T-rex begins the grab animation.

1.0.5

  • Changed how the T-rex MouthGrip is set:
    • OLD: The MouthGrip used to be set by being updated to match the MouthBone's location
    • NEW: The MouthGrip is now a Child of the MouthBone (in the prefab) and should thus inherit it's position
    • Result: Bug where the MouthGrip is not set properly when the T-rex spawns should now be fixed. Now multiple T-rexes should be able to coexist without the body of the player teleporting to the first T-rex's MouthGrip.
  • Fixed preview image

1.0.4

  • Fixed package

1.0.0

  • Initial release