rbreslow / speak

A full featured chatbox addon for Garry's Mod.
GNU Affero General Public License v3.0
4 stars 0 forks source link

Improve compatibility for DarkRP and TTT #23

Closed rbreslow closed 4 years ago

rbreslow commented 4 years ago

Overview

Connects #14

Testing Instructions

I downloaded DarkRP and then applied the following diff:

diff --git a/docker-compose.yml b/docker-compose.yml
index 4998d45..8f26363 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,6 +4,7 @@ services:
     image: quay.io/rbreslow/garrysmodds:slim
     volumes:
       - ./src/speak:/var/lib/steam/.steam/SteamApps/common/GarrysModDS/garrysmod/addons/speak
+      - ~/Downloads/DarkRP-master:/var/lib/steam/.steam/SteamApps/common/GarrysModDS/garrysmod/gamemodes/darkrp
     tty: true
     ports:
       - "27015:27015"

Then, after running ./scripts/server, switch to DarkRP:

gamemode darkrp
Changing gamemode to DarkRP (darkrp)
changelevel gm_construct

See that the compatibility layer works as intended:

Garry's Mod - OpenGL (x64) 2020-04-11 23-57-42

Switch to Trouble in Terrorist Town:

gamemode terrortown
Changing gamemode to Trouble in Terrorist Town (terrortown)
changelevel gm_construct

See that the compatibility layer works as intended:

Garry's Mod - OpenGL (x64) 2020-04-10 19-33-42

rbreslow commented 4 years ago

Added you guys again if you're interested in taking a look. This might be more interesting than the VGUI changes in my last PR. No pressure to review.