This repository contains the full source code for the JPOGTrex for Lethal Company, including the Unity project which can be used to build its asset bundle.
The guide I followed for this project can be found here.
A video Tutorial can be found here.
[!NOTE]
The wiki page might be slightly out of date regarding how the JPOGTrex prefab is constructed.[!NOTE]
I do not own any of the Assets nor made them myself. The models, animations and some of the audio clips were made by: Blue Tongue Entertainment, which was closed down in 2011.
I also got some sounds for the T-Rex from the game: Primal Carnage: Extinction.
You need to install the following dependencies for this mod to work in the game (these are not installed by the setup script):
If you didn't run the setup script you will also need to, in the Plugin
directory where our plugin code is, run dotnet tool restore
on the command-line to install the rest of the dependencies.
That should be all the required setup for this project, and now you can move to coding AI or making your own 3D models for your custom enemy. Good luck!
We have configured JPOGTrex.csproj to build a Thunderstore package to /Plugin/Thunderstore/Packages/ using tcli each time we make a release build of our mod. A release build can be done for example from the command-line like this: dotnet build -c release
. This will use configuration options from thunderstore.toml, so configure it for your own mod! Do note that we have not included a way to upload your mod to thunderstore via tcli in this project.
This section is mostly for myself to check how things should be made, or what to check if something isn't working as intended.
It should give some tips when encountering problems in this project or your own.