-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the BroforceMods wiki!
This wiki aims to explain how to create mods for Broforce.
- Experience in Programming (ideally C#) - Required
- Experience with the Unity Engine - Optional
- Experience with the Harmony Library - Optional
I would recommend having some amount of programming experience, ideally in C#, before trying to make a Broforce mod. C#'s syntax basically feels like a combination of Java and C++, so if you have experience with either of those languages, C# should be fairly easy to learn. Broforce doesn't have official modding support, which means there's no modding API, so you'll need to be able to read code well enough to look through Broforce's source code and figure out which parts you have to modify to make the changes you're trying to make with your mod. It would also be helpful to have some knowledge of how the Unity Engine works and how to patch functions with the Harmony library, but it's not required.
For reference, when I started making mods, I only had a little bit of experience with C#, but a decent amount of experience with Java and C++. I had no modding experience and no experience with the Unity Engine. There were also no existing mods for Broforce to work off of. Despite that I was able to figure it out and make some fairly complex mods. So I would say it's not quite as hard as it might sound at first, and it should be even easier for you hopefully, since you have my mods and this wiki to work off of.
-
Setting Up a Development Environment
- If you're experienced with programming and modding games, you may want to skip or just skim through this section.
-
Creating a Unity Mod Manager Mod for Broforce
- This section goes over how to set up the mod in Visual Studio 2022, compile it, and load it into the game
-
Patching Functions Using Harmony
- Harmony is what we use to actually change the game's code.
- Viewing Broforce's Code
- Questions