Skip to content

Commit a1a615b

Browse files
committed
tweak marble volume (again) and doorbash.lua changes
1 parent fe19317 commit a1a615b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

gamemodes/beatrun/gamemode/sh/Sounds_Footsteps.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ sound.Add({
153153
-- Marble --
154154
sound.Add({
155155
name = "Footsteps.Marble",
156-
volume = 0.8,
156+
volume = 1,
157157
level = 40,
158158
channel = CHAN_STATIC,
159159
pitch = {90, 110},
@@ -162,7 +162,7 @@ sound.Add({
162162

163163
sound.Add({
164164
name = "Walk.Marble",
165-
volume = 0.75,
165+
volume = 0.85,
166166
level = 40,
167167
channel = CHAN_STATIC,
168168
pitch = {90, 110},
@@ -1022,7 +1022,6 @@ FOOTSTEPS_LAND_LUT = {
10221022
["player/footsteps/concrete"] = "Concrete",
10231023
["player/footsteps/duct"] = "Duct",
10241024
["player/footsteps/metal"] = "Metal",
1025-
["player/footsteps/grass"] = "",
10261025
["physics/metal/metal_box_footstep"] = "Metal",
10271026
["player/footsteps/chainlink"] = "MetalCrane",
10281027
["player/footsteps/tile"] = "Marble",

gamemodes/beatrun/gamemode/sv/DoorBash.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ util.AddNetworkString("DoorBashAnim")
77

88
hook.Add("PlayerUse", "DoorBash", function(ply, ent)
99
if doors[ent:GetClass()] then
10-
if ply:GetVelocity():Length() < 100 or ply:Crouching() then return end
10+
if ply:GetVelocity():Length() < 200 or ply:Crouching() then return end
1111
if ent.bashdelay and ent.bashdelay > CurTime() then return end
1212
if ent:GetInternalVariable("m_bLocked") then return end
1313

@@ -20,6 +20,8 @@ hook.Add("PlayerUse", "DoorBash", function(ply, ent)
2020

2121
net.Start("DoorBashAnim")
2222
net.Send(ply)
23+
ply:ViewPunch(Angle(15, 5, -10))
24+
ply:FaithVO("Faith.Impact")
2325

2426
ent:SetSaveValue("speed", ent.oldspeed * 4)
2527
ent:Use(ply)

0 commit comments

Comments
 (0)