mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53: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`.
|
* Toggle between old and new (like in ME) Kick-Glitch - `Beatrun_OldKickGlitch`.
|
||||||
* Change HUD's colors - `Beatrun_HUDTextColor`, `Beatrun_HUDCornerColor`, `Beatrun_HUDFloatingXPColor`.
|
* Change HUD's colors - `Beatrun_HUDTextColor`, `Beatrun_HUDCornerColor`, `Beatrun_HUDFloatingXPColor`.
|
||||||
* Allow players to spawn props without admin rights - `Beatrun_AllowPropSpawn`.
|
* 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).
|
* Discord Rich Presence (extract `lua` folder to `garrysmod`, along side with `addons` folder).
|
||||||
* Small camera punch when diving.
|
* Small camera punch when diving.
|
||||||
* Ability to remove ziplines that created with *Zipline Gun* - RMB.
|
* 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
|
- [ ] Gamemodes menu
|
||||||
|
|
||||||
## Fixes and changes from previous version
|
## Fixes and changes from previous version
|
||||||
* Removed unused anims and merged some together.
|
* `Beatrun_DisableGrapple` - Disables grapple ability.
|
||||||
* Added a module for Steam Presence.
|
|
||||||
|
|
||||||
# All changes and fixes
|
# All changes and fixes
|
||||||
* Course saving works with compression and without.
|
* 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.
|
* Allowed punching while crouching.
|
||||||
* Grapple fixes. Now it moves with entity it attached to and other players can see it.
|
* Grapple fixes. Now it moves with entity it attached to and other players can see it.
|
||||||
* More reliable grappling.
|
* More reliable grappling.
|
||||||
|
* Merged some anims into 1 file.
|
||||||
|
|
||||||
# Credits
|
# Credits
|
||||||
* modeltexturesbones - Changed anims a bit.
|
* 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")
|
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 richtext = ""
|
||||||
local nextupdate = 0
|
local nextupdate = 0
|
||||||
|
|
||||||
local function UpdateRichPresence()
|
local function UpdateRichPresence()
|
||||||
if CurTime() < nextupdate then return end
|
if CurTime() < nextupdate then return end
|
||||||
|
|
||||||
local rp = steamworks.SetRichPresence
|
|
||||||
if not rp then return end
|
|
||||||
|
|
||||||
local ply = LocalPlayer()
|
local ply = LocalPlayer()
|
||||||
if not ply.GetLevel then return end
|
if not ply.GetLevel then return end
|
||||||
|
|
||||||
|
@ -26,7 +24,7 @@ local function UpdateRichPresence()
|
||||||
if richtext ~= updatedtext then
|
if richtext ~= updatedtext then
|
||||||
richtext = updatedtext
|
richtext = updatedtext
|
||||||
|
|
||||||
rp("generic", richtext)
|
steamworks.SetRichPresence("generic", richtext)
|
||||||
print("Updating presence")
|
print("Updating presence")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -34,7 +32,7 @@ local function UpdateRichPresence()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function LoadRichPresenceDLL()
|
local function LoadRichPresenceDLL()
|
||||||
require("steamfriends")
|
require("steamrichpresencer")
|
||||||
end
|
end
|
||||||
|
|
||||||
hook.Add("OnGamemodeLoaded", "LoadDLL", function()
|
hook.Add("OnGamemodeLoaded", "LoadDLL", function()
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue