PITCH COMPANY
So I wanted to try modding the extremely popular indie game - Lethal Company.
Since the developer made it easy to mod + it's a Peer-to-Peer game + it's made in Unity, the modding community for the game also blew up!
What is Pitch Company?
Well, it's a pitch shifter mod that I am currently developing for the game. I already tried some logic out here.
The mod is inspired by the TZP Inhalant item that you can buy in the game. It gives a speed and stamina buff, but also increases the voice pitch of the player who used it!
I thought, why don't we have it on ALL THE TIME?
And that got me started working on modding Lethal Company. It's a super fun experience!
How am I modding it?
Using ILSpy, I can look under the hood of any Unity game - through the Assembly.cs file.
I find the settings and functions where I need to put in my script that change the pitches of the players.
Then I create a new C# solution file using the Harmony library and the BepInExPack, to make a "PostFix" patch - which is executed after the game code is executed so I can overwrite my changes to the game's source code (or the execution of the Mono behavior script in Unity).
Then I make a JSON file, a changelog, a readme, design an icon, package it up, and upload it to Thunderstore. (That's the deprecated version I made lol)
I got this attempt to work only on LAN, since my mod also has to be compatible with a few other popular mods. Which is why I'm reworking it.
UPDATE: A revised attempt is up on Thunderstore.io.
I wish to be a great great asset and keep the Company crew happy with my work.