DavidJoacaRo / Budget-Backrooms

Open-source Singleplayer Backrooms game in Unreal Engine 4, and on a low ass budget.
GNU General Public License v3.0
17 stars 9 forks source link

Replace paid plugins with free stuff #28

Closed Nadwey closed 1 year ago

Nadwey commented 1 year ago

Replace Discord Rich Presence plugin with DiscordRPC

Discord RPC is now initialized once in the BB_GameInstance blueprint instead of getting initialized and destroyed in each level

DiscordRPC constructor in BB_Gameinstance

Most of the discord functionality was moved to the BB_Discord for convenience

To set presence global Set Presence function can be used with Tick Discord function getting called every tick

Currently the Party Id is set to random string, but it needs to be the same for every player in one game, I left a note to change it in BB_Discord

obraz

Replace Hardware Information plugin with own C++ implementation (which works better lmao)

I added only the used things, but if you need more check the links below and contact me (or learn C++ :D)

Fixes #23

Nadwey commented 1 year ago

Btw to install DiscordRPC you need to run git submodule update --init --recursive in the game directory

DavidJoacaRo commented 1 year ago

Good solution, forking the project rn and imma let ya know

DavidJoacaRo commented 1 year ago

Merging, what could go wrong?