-
Notifications
You must be signed in to change notification settings - Fork 0
Viewing Broforce's Code
Viewing Broforce's code requires a decompilation program such as dnSpy.
In order to use dnSpy to view Broforce's code, you have to open dnSpy, click File, click Open..., and select Broforce's Assembly-CSharp.dll, which will likely be located here:
C:\Program Files (x86)\Steam\steamapps\common\Broforce\Broforce_beta_Data\Managed\Assembly-CSharp.dll
Then expand the Assembly-CSharp section, Assembly-CSharp.dll section, and the section just labeled "-", and there you'll be able to see all of Broforce's classes.
If you want to look at the code for a particular game object, but you're not sure what it's called in the game's code, then you can use the RuntimeUnityEditor tool in-game to see what the class is called. I go over how to use this tool in the debugging page of this wiki.
If you have questions or need help with creating custom bros, you can join the Free Lives Discord Server and post your questions in the bf-mods channel.