forked from HaodongMo/ArcCW
basic menu sounds
uses edited halo sounds for now
This commit is contained in:
parent
12e68d331b
commit
7db2f6a561
@ -218,6 +218,8 @@ function SWEP:OpenCustomizeHUD()
|
|||||||
|
|
||||||
gui.EnableScreenClicker(true)
|
gui.EnableScreenClicker(true)
|
||||||
|
|
||||||
|
surface.PlaySound("weapons/arccw/extra.wav")
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function SWEP:CloseCustomizeHUD()
|
function SWEP:CloseCustomizeHUD()
|
||||||
@ -229,6 +231,8 @@ function SWEP:CloseCustomizeHUD()
|
|||||||
if vrmod and vrmod.MenuExists( "ArcCW_Customize" ) then
|
if vrmod and vrmod.MenuExists( "ArcCW_Customize" ) then
|
||||||
vrmod.MenuClose( "ArcCW_Customize" )
|
vrmod.MenuClose( "ArcCW_Customize" )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
surface.PlaySound("weapons/arccw/extra2.wav")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1138,6 +1142,7 @@ function SWEP:CreateCustomizeHUD()
|
|||||||
atttrivia:Hide()
|
atttrivia:Hide()
|
||||||
attslidebox:Hide()
|
attslidebox:Hide()
|
||||||
atttogglebtn:Hide()
|
atttogglebtn:Hide()
|
||||||
|
surface.PlaySound("weapons/arccw/close.wav")
|
||||||
else
|
else
|
||||||
activeslot = span.AttIndex
|
activeslot = span.AttIndex
|
||||||
triviabox:Hide()
|
triviabox:Hide()
|
||||||
@ -1146,6 +1151,7 @@ function SWEP:CreateCustomizeHUD()
|
|||||||
attslider:SetSlideX(self.Attachments[span.AttIndex].SlidePos)
|
attslider:SetSlideX(self.Attachments[span.AttIndex].SlidePos)
|
||||||
lastslidepos = self.Attachments[span.AttIndex].SlidePos
|
lastslidepos = self.Attachments[span.AttIndex].SlidePos
|
||||||
self.InAttMenu = true
|
self.InAttMenu = true
|
||||||
|
surface.PlaySound("weapons/arccw/open.wav")
|
||||||
|
|
||||||
span.TextRot = 0
|
span.TextRot = 0
|
||||||
span.StartTextRot = CurTime()
|
span.StartTextRot = CurTime()
|
||||||
|
BIN
sound/weapons/arccw/close.wav
Normal file
BIN
sound/weapons/arccw/close.wav
Normal file
Binary file not shown.
BIN
sound/weapons/arccw/extra.wav
Normal file
BIN
sound/weapons/arccw/extra.wav
Normal file
Binary file not shown.
BIN
sound/weapons/arccw/extra2.wav
Normal file
BIN
sound/weapons/arccw/extra2.wav
Normal file
Binary file not shown.
BIN
sound/weapons/arccw/open.wav
Normal file
BIN
sound/weapons/arccw/open.wav
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user