This addon displays a small HUD which shows how long one can stay underwater. It has been written for the TTT gamemode in Garry's Mod, but it should be adaptable to other gamemodes as well.
https://steamcommunity.com/sharedfiles/filedetails/?id=481440358
Here are the most important commands, cobbled together from the gmod wiki.
You need to have Garry's Mod installed. Clone this repo, cd
into it and run following command:
~/.steam/steamapps/common/GarrysMod/bin/gmad_linux create -folder . -out "drowning_indicator.gma"
Build the addon as above and then run:
LD_LIBRARY_PATH=~/.steam/steam/steamapps/common/GarrysMod/bin/ ~/.steam/steam/steamapps/common/GarrysMod/bin/gmpublish_linux update -addon drowning_indicator.gma -id "481440358" -changes "General fixes and system stability improvements"
You might not need to set LD_LIBRARY_PATH
, however currently this issue still persists.
"Maintainer? This thing is being maintained?! That's news to me!"
— @Xmoe, maintainer of this project
This project is licensed under the GPL-3.0 license.