a mod for War Brokers
Find a file
2021-08-30 14:34:07 +09:00
.vscode added weapon stat, configs, and fixed player index 0 bug 2021-08-26 11:47:42 +09:00
images added OBS overlay instructions 2021-08-30 13:23:51 +09:00
overlay/Elo added basic overlay 2021-08-30 12:18:03 +09:00
WBM moved variable location 2021-08-30 14:34:07 +09:00
.gitignore initial commit 2021-08-23 20:49:46 +09:00
LICENSE initial commit 2021-08-23 20:49:46 +09:00
README.md improved readability 2021-08-30 14:33:34 +09:00
WBM.sln initial commit 2021-08-23 20:49:46 +09:00

War Brokers Mods (WBM)

License: MIT

IF YOU USE THIS TO DEVELOP HACKS YOUR MOM IS GAY.

WBM logo

War Brokers Mods, AKA WBM is a unofficial mod for War Brokers.

Example Images (click to unfold)

Example 1

Example 2

Example 3

Installation

Only Windows, MacOS, and Linux are officially supported. It is Not compatible with browsers.

WARNING
I do not upload WBM anywhere other than github. If you find it elsewhere, IT IS NOT UPLOADED BY ME.

Installing BepInEx

  1. Download the latest version of BepInEx version 5 from here.

    Platform Filename
    Linux & MacOS BepInEx_unix_5.Y.Z.W.zip
    Windows BepInEx_x86_5.Y.Z.W.zip
  2. Extract (Unzip) the contents to where the game executable is located.

    How to find game location: how to find game location

  3. If you are using Linux or MacOS, you must also perform the following setup:

    https://docs.bepinex.dev/v5.4.11/articles/advanced/steam_interop.html

  4. [ IMPORTNT ] Run the game at least once to generate the plugins folder as well as other necessary files.

Installing WBM

  1. Download the latest version of WBM (a .dll file).
  2. Put the dll file in the <Game folder>/BepInEx/plugins folder.

Setting up OBS

  1. Create a new browser source

    OBS source

  2. Check the Local file checkbox and set the file to index.html of the overlay you want to use. Width and height of the overlays can be found here

    OBS source property

Updating

Simply replace the existing dll file with the latest version.

Usage

  • Hold down LCtrl or RShift to show shortcuts in-game.
Function Shortcut
Move GUI by one pixel at a time LCtrl+Arrow
Move GUI (long press) LCtrl+LShift+Arrow
Reset GUI position LCtrl+R
Toggle All GUI visibility RShift+A
Toggle Player statistics visibility RShift+P
Toggle Weapon statistics visibility RShift+W
Toggle Team statistics visibility RShift+L
Toggle Elo visibility on leaderboard RShift+E
Squad server visibility RShift+S
Testing servers visibility RShift+T
Toggle shift to crouch RShift+C
Reset everything RShift+R

Features

in-game overlays

  • Tab Leaderboard

    • show kills Elo
  • Player statistics

    • KDR
    • kills Elo
    • kills Elo earned/lost
    • games Elo
    • games Elo earned/lost
    • total damage dealt
    • longest kill
    • points earned
  • Weapon statistics

    • total headshot count

OBS overlays

  • kills and games Elo (size: 355, 140)

Elo overlay

Controls

  • Shift to crouch

Building

If you are a casual user, this is completely unnecessary. This is only recommended for developers.

Assumes that working directory is project root.

  1. Install .NET sdk.

    MacOS:

    https://docs.microsoft.com/en-us/dotnet/core/install/macos

    Windows:

    https://docs.microsoft.com/en-us/dotnet/core/install/windows

    Linux:

    https://docs.microsoft.com/en-us/dotnet/core/install/linux

    Arch linux:

    pacman -S dotnet-sdk
    
  2. Clone this repository.

  3. Copy the following DLL files from <WB install path>/war_brokers_Data/Managed (in WB) to ./WBM/dll. Create directory if it does not exist.

    • Assembly-CSharp.dll
    • Assembly-CSharp-firstpass.dll
    • UnityEngine.*.dll
  4. Run the build command.

    Build in debug mode

    dotnet build
    

    Build in release mode

    dotnet build --configuration Release
    
  5. The built dll can be found at:

    • ./WBM/bin/Debug/net48/WBM.dll
    • ./WBM/bin/Release/net48/WBM.dll

Bug reports / Suggestions

If you have a cool idea that will make WBM better, or if WBM misbehaves in any way (no matter how minor the problem is), feel free go to the Issues page and open a new issue!

Contributing

Special thanks

License

This project is licenced under the MIT License.

Fonts: