mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-27 20:43:02 +05:00
You need to update your lua/bin!
Update modules and fix Presences
This commit is contained in:
parent
b6687c9cd6
commit
a1ca7e35b9
5 changed files with 8 additions and 9 deletions
|
@ -18,6 +18,7 @@ All of the settings below can be changed in the configuration menu
|
|||
* Toggle between old and new (like in ME) Kick-Glitch - `Beatrun_OldKickGlitch`.
|
||||
* Change HUD's colors - `Beatrun_HUDTextColor`, `Beatrun_HUDCornerColor`, `Beatrun_HUDFloatingXPColor`.
|
||||
* Allow players to spawn props without admin rights - `Beatrun_AllowPropSpawn`.
|
||||
* `Beatrun_DisableGrapple` - Disables grapple ability.
|
||||
* Discord Rich Presence (extract `lua` folder to `garrysmod`, along side with `addons` folder).
|
||||
* Small camera punch when diving.
|
||||
* Ability to remove ziplines that created with *Zipline Gun* - RMB.
|
||||
|
@ -27,8 +28,7 @@ All of the settings below can be changed in the configuration menu
|
|||
- [ ] Gamemodes menu
|
||||
|
||||
## Fixes and changes from previous version
|
||||
* Removed unused anims and merged some together.
|
||||
* Added a module for Steam Presence.
|
||||
* `Beatrun_DisableGrapple` - Disables grapple ability.
|
||||
|
||||
# All changes and fixes
|
||||
* Course saving works with compression and without.
|
||||
|
@ -45,6 +45,7 @@ All of the settings below can be changed in the configuration menu
|
|||
* Allowed punching while crouching.
|
||||
* Grapple fixes. Now it moves with entity it attached to and other players can see it.
|
||||
* More reliable grappling.
|
||||
* Merged some anims into 1 file.
|
||||
|
||||
# Credits
|
||||
* modeltexturesbones - Changed anims a bit.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if not system.IsWindows() or not file.Exists("lua/bin/gmcl_gdiscord_*.dll", "GAME") then return end
|
||||
if file.Find("lua/bin/gmcl_gdiscord_*.dll", "GAME") == nil then return end
|
||||
|
||||
require("gdiscord")
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
if not system.IsWindows() or not file.Exists("lua/bin/gmcl_steamfriends_win64.dll", "GAME") then return end
|
||||
if file.Find("lua/bin/gmcl_steamfriends_*.dll", "GAME") == nil then return end
|
||||
|
||||
local richtext = ""
|
||||
local nextupdate = 0
|
||||
|
||||
local function UpdateRichPresence()
|
||||
if CurTime() < nextupdate then return end
|
||||
|
||||
local rp = steamworks.SetRichPresence
|
||||
if not rp then return end
|
||||
|
||||
local ply = LocalPlayer()
|
||||
if not ply.GetLevel then return end
|
||||
|
||||
|
@ -26,7 +24,7 @@ local function UpdateRichPresence()
|
|||
if richtext ~= updatedtext then
|
||||
richtext = updatedtext
|
||||
|
||||
rp("generic", richtext)
|
||||
steamworks.SetRichPresence("generic", richtext)
|
||||
print("Updating presence")
|
||||
end
|
||||
|
||||
|
@ -34,7 +32,7 @@ local function UpdateRichPresence()
|
|||
end
|
||||
|
||||
local function LoadRichPresenceDLL()
|
||||
require("steamfriends")
|
||||
require("steamrichpresencer")
|
||||
end
|
||||
|
||||
hook.Add("OnGamemodeLoaded", "LoadDLL", function()
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue