scope sens related things...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5177 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -8,14 +8,6 @@ loadcrosshair red_dot.png scope // Scope crosshair.
|
||||
skin 0 // Change your look.
|
||||
autoreload 1 // Reload the guns automatically by default.
|
||||
|
||||
// NOTE: by default the zoom script just divides your sensitivity by 2 while you use the scope
|
||||
// if you want to set your own value for it, go to the following line and
|
||||
// replace $scopesensscale by your desired sensitivity value:
|
||||
|
||||
//alias scopesensscale 0.5 // the seperator may be "." or "," depending on locale!
|
||||
alias scopesensscale (divf 1 2)
|
||||
alias scopesens [ *f $sensitivity $scopesensscale ]
|
||||
|
||||
//bind MOUSE2 [ zoom 1; onrelease [ zoom 0 ] ]
|
||||
|
||||
// alternative zoom toggle
|
||||
|
||||
+207
-207
@@ -1,22 +1,22 @@
|
||||
newmenu settings
|
||||
|
||||
menuitem "Video settings" "showmenu video"
|
||||
menuitem "Head-Up Display settings" "showmenu HUD"
|
||||
menuitem "Gameplay settings" "showmenu gameplay"
|
||||
menuitem "Input controls" "showmenu controls"
|
||||
menuitem "Sound settings" "showmenu sound"
|
||||
menuitem "Misc settings" "showmenu Misc"
|
||||
|
||||
menuitem "Video settings" "showmenu video"
|
||||
menuitem "Head-Up Display settings" "showmenu HUD"
|
||||
menuitem "Gameplay settings" "showmenu gameplay"
|
||||
menuitem "Input controls" "showmenu controls"
|
||||
menuitem "Sound settings" "showmenu sound"
|
||||
menuitem "Misc settings" "showmenu Misc"
|
||||
menuitem "" -1
|
||||
menuitem "Reset all settings" [ showmenu "Reset settings" ]
|
||||
|
||||
newmenu Weapons
|
||||
|
||||
menumdl weapons/assault/menu mapmodel 75 12
|
||||
menuitem "MTP-57 Assault Rifle" "nextprimary 6;echo MTP-57 Assault Rifle selected" "chmenumdl Weapons weapons/assault/menu mapmodel 75 12"
|
||||
menuitem "A-ARD/10 Submachine Gun" "nextprimary 4;echo A-ARD/10 Submachine Gun selected" "chmenumdl Weapons weapons/subgun/menu mapmodel 75 12"
|
||||
menuitem "MTP-57 Assault Rifle" "nextprimary 6;echo MTP-57 Assault Rifle selected" "chmenumdl Weapons weapons/assault/menu mapmodel 75 12"
|
||||
menuitem "A-ARD/10 Submachine Gun" "nextprimary 4;echo A-ARD/10 Submachine Gun selected" "chmenumdl Weapons weapons/subgun/menu mapmodel 75 12"
|
||||
menuitem "Precision Tech AD-81 Sniper Rifle" "nextprimary 5;echo Precision Tech AD-81 Sniper Rifle selected" "chmenumdl Weapons weapons/sniper/menu mapmodel 75 12"
|
||||
menuitem "V-19 Combat Shotgun" "nextprimary 3;echo V-19 Combat Shotgun selected" "chmenumdl Weapons weapons/shotgun/menu mapmodel 75 12"
|
||||
menuitem "TMP-M&A Carbine" "nextprimary 2;echo TMP-M&A Carbine selected" "chmenumdl Weapons weapons/rifle/menu mapmodel 75 12"
|
||||
menuitem "V-19 Combat Shotgun" "nextprimary 3;echo V-19 Combat Shotgun selected" "chmenumdl Weapons weapons/shotgun/menu mapmodel 75 12"
|
||||
menuitem "TMP-M&A Carbine" "nextprimary 2;echo TMP-M&A Carbine selected" "chmenumdl Weapons weapons/rifle/menu mapmodel 75 12"
|
||||
|
||||
newmenu CLA
|
||||
|
||||
@@ -42,170 +42,170 @@ menuitem "Police" "skin_rvsf 5" "chmenumdl RVSF playermodels/RVSF/06 a
|
||||
|
||||
newmenu "QUICK setup"
|
||||
|
||||
menuitemtextinput "Nickname: " "" "name $arg1"
|
||||
menuitemtextinput "Resolution (Width): " "$scr_w" "scr_w $arg1"
|
||||
menuitemtextinput "Resolution (Height): " "$scr_h" "scr_h $arg1"
|
||||
menuitemtextinput "Mouse sensitivity " "$sensitivity" "sensitivity $arg1"
|
||||
menuitemtextinput "Nickname: " "" "name $arg1"
|
||||
menuitemtextinput "Resolution (Width): " "$scr_w" "scr_w $arg1"
|
||||
menuitemtextinput "Resolution (Height): " "$scr_h" "scr_h $arg1"
|
||||
menuitemtextinput "Mouse sensitivity " "$sensitivity" "sensitivity $arg1"
|
||||
menuitemslider "Graphics detail: " 1 6 "$gfxqualityalias" 1 [ Horrible Low Medium Good "High (Performs slow)" "INSANE! (Performs really slow)"] "new_gfx_quality $arg1"
|
||||
menuitemslider "Sound detail: " 1 3 "$soundqualityalias" 1 "Low Medium High" "new_sound_quality $arg1"
|
||||
menuitem "" -1
|
||||
menuitem "2 [ OK ]" [ closemenu "QUICK setup"; resetgl ]
|
||||
menuitem "2 [ OK ]" [ closemenu "QUICK setup"; resetgl ]
|
||||
|
||||
|
||||
alias new_gfx_quality [
|
||||
if (= $arg1 6) [ // "INSANE!" gfx quality
|
||||
fsaa 8
|
||||
minlod 250
|
||||
alias gfxqualityalias 6
|
||||
fpsrange 100 1000
|
||||
watersubdiv 1
|
||||
dynlight 1
|
||||
waterreflect 1
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
dynshadow 40
|
||||
lighterror 1
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
echo "Be mighty careful! This setting puts any & every graphics setting as high as absolutely possible!"
|
||||
trilinear 1
|
||||
waterrefract 1
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 5) [ // High gfx quality
|
||||
fsaa 4
|
||||
minlod 200
|
||||
alias gfxqualityalias 5
|
||||
fpsrange 100 1000
|
||||
watersubdiv 2
|
||||
dynlight 1
|
||||
waterreflect 1
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
dynshadow 40
|
||||
lighterror 1
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 4) [ // Good gfx quality
|
||||
fsaa 0
|
||||
minlod 100
|
||||
alias gfxqualityalias 4
|
||||
fpsrange 60 60
|
||||
watersubdiv 2
|
||||
dynlight 1
|
||||
waterreflect 1
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
dynshadow 40
|
||||
lighterror 4
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 3) [ // Medium gfx quality (DEFAULT)
|
||||
fsaa 0
|
||||
minlod 60
|
||||
alias gfxqualityalias 3
|
||||
fpsrange 30 40
|
||||
watersubdiv 4
|
||||
dynlight 1
|
||||
// Makes sure the 3D card is powerful enough for water reflection/shadow stencils...
|
||||
if (glext "GL_ARB_fragment_program") [ waterreflect 1 ] [ waterreflect 0 ]
|
||||
if (|| (glext "GL_EXT_stencil_two_side") (glext "GL_ATI_separate_stencil")) [
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
] [
|
||||
stencilbits 0
|
||||
stencilshadow 0 ]
|
||||
dynshadow 40
|
||||
lighterror 4
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 2) [ // Low gfx quality
|
||||
fsaa 0
|
||||
minlod 60
|
||||
alias gfxqualityalias 2
|
||||
fpsrange 20 25
|
||||
watersubdiv 16
|
||||
dynlight 0
|
||||
waterreflect 0
|
||||
stencilshadow 0
|
||||
stencilbits 0
|
||||
dynshadow 0
|
||||
lighterror 10
|
||||
scorch 0
|
||||
bullethole 0
|
||||
blood 0
|
||||
gib 0
|
||||
shotline 0
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [ // Horrible gfx quality
|
||||
fsaa 0
|
||||
minlod 60
|
||||
alias gfxqualityalias 1
|
||||
fpsrange 20 25
|
||||
watersubdiv 64
|
||||
dynlight 0
|
||||
waterreflect 0
|
||||
stencilshadow 0
|
||||
stencilbits 0
|
||||
dynshadow 0
|
||||
lighterror 16
|
||||
scorch 0
|
||||
bullethole 0
|
||||
blood 0
|
||||
gib 0
|
||||
shotline 0
|
||||
trilinear 0
|
||||
waterrefract 0
|
||||
texreduce 1
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
if (= $arg1 6) [ // "INSANE!" gfx quality
|
||||
fsaa 8
|
||||
minlod 250
|
||||
alias gfxqualityalias 6
|
||||
fpsrange 100 1000
|
||||
watersubdiv 1
|
||||
dynlight 1
|
||||
waterreflect 1
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
dynshadow 40
|
||||
lighterror 1
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
echo "Be mighty careful! This setting puts any & every graphics setting as high as absolutely possible!"
|
||||
trilinear 1
|
||||
waterrefract 1
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 5) [ // High gfx quality
|
||||
fsaa 4
|
||||
minlod 200
|
||||
alias gfxqualityalias 5
|
||||
fpsrange 100 1000
|
||||
watersubdiv 2
|
||||
dynlight 1
|
||||
waterreflect 1
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
dynshadow 40
|
||||
lighterror 1
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 4) [ // Good gfx quality
|
||||
fsaa 0
|
||||
minlod 100
|
||||
alias gfxqualityalias 4
|
||||
fpsrange 60 60
|
||||
watersubdiv 2
|
||||
dynlight 1
|
||||
waterreflect 1
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
dynshadow 40
|
||||
lighterror 4
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 3) [ // Medium gfx quality (DEFAULT)
|
||||
fsaa 0
|
||||
minlod 60
|
||||
alias gfxqualityalias 3
|
||||
fpsrange 30 40
|
||||
watersubdiv 4
|
||||
dynlight 1
|
||||
// Makes sure the 3D card is powerful enough for water reflection/shadow stencils...
|
||||
if (glext "GL_ARB_fragment_program") [ waterreflect 1 ] [ waterreflect 0 ]
|
||||
if (|| (glext "GL_EXT_stencil_two_side") (glext "GL_ATI_separate_stencil")) [
|
||||
stencilbits 8
|
||||
stencilshadow 40
|
||||
] [
|
||||
stencilbits 0
|
||||
stencilshadow 0 ]
|
||||
dynshadow 40
|
||||
lighterror 4
|
||||
scorch 1
|
||||
bullethole 1
|
||||
blood 1
|
||||
gib 1
|
||||
shotline 1
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [
|
||||
if (= $arg1 2) [ // Low gfx quality
|
||||
fsaa 0
|
||||
minlod 60
|
||||
alias gfxqualityalias 2
|
||||
fpsrange 20 25
|
||||
watersubdiv 16
|
||||
dynlight 0
|
||||
waterreflect 0
|
||||
stencilshadow 0
|
||||
stencilbits 0
|
||||
dynshadow 0
|
||||
lighterror 10
|
||||
scorch 0
|
||||
bullethole 0
|
||||
blood 0
|
||||
gib 0
|
||||
shotline 0
|
||||
trilinear 1
|
||||
waterrefract 0
|
||||
texreduce 0
|
||||
] [ // Horrible gfx quality
|
||||
fsaa 0
|
||||
minlod 60
|
||||
alias gfxqualityalias 1
|
||||
fpsrange 20 25
|
||||
watersubdiv 64
|
||||
dynlight 0
|
||||
waterreflect 0
|
||||
stencilshadow 0
|
||||
stencilbits 0
|
||||
dynshadow 0
|
||||
lighterror 16
|
||||
scorch 0
|
||||
bullethole 0
|
||||
blood 0
|
||||
gib 0
|
||||
shotline 0
|
||||
trilinear 0
|
||||
waterrefract 0
|
||||
texreduce 1
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
alias new_sound_quality [
|
||||
if (= $arg1 3) [ // high sound (DEFAULT)
|
||||
soundqualityalias = 3
|
||||
soundqualityalias = 3
|
||||
maxsoundsatonce 10
|
||||
footsteps 1
|
||||
bulletairsound 1
|
||||
bulletbouncesound 1
|
||||
] [
|
||||
if (= $arg1 2) [ // medium
|
||||
soundqualityalias = 2
|
||||
soundqualityalias = 2
|
||||
maxsoundsatonce 8
|
||||
footsteps 1
|
||||
bulletairsound 0
|
||||
bulletbouncesound 1
|
||||
] [ // low
|
||||
soundqualityalias = 1
|
||||
soundqualityalias = 1
|
||||
maxsoundsatonce 5
|
||||
footsteps 0
|
||||
bulletairsound 0
|
||||
@@ -218,8 +218,8 @@ alias new_sound_quality [
|
||||
newmenu "Reset settings"
|
||||
menuinit [ alias resetyes 0 ] // Ensures this menu works correctly.
|
||||
menuitemcheckbox "Yes, reset all settings: " "alias resetyes 1" "alias resetyes $arg1"
|
||||
menuitem "2 [ Apply! ] " [ if $resetyes [ resetcfg 1; quit ] [ showmenu "" ] ] [ echo "3If the above option is ticked, AssaultCube will now quit and your settings will be reset." ] //If checkbox is ticked, reset settings and quit, otherwise, close menus.
|
||||
|
||||
menuitem "2 [ Apply! ] " [ if $resetyes [ resetcfg 1; quit ] [ showmenu "" ] ] [ echo "3If the above option is ticked, AssaultCube will now quit and your settings will be reset." ] //If checkbox is ticked, reset settings and quit, otherwise, close menus.
|
||||
|
||||
|
||||
newmenu controls
|
||||
|
||||
@@ -245,25 +245,25 @@ menuitemkeyinput "Console output: " toggleconsole
|
||||
menuitemkeyinput "Screenshot: " screenshot
|
||||
menuitemkeyinput "Map overview: " toggleshowmap
|
||||
menuitemkeyinput "Drop CTF flag: " dropflag
|
||||
menuitemkeyinput "Fullscreen: " fullscreenscript
|
||||
menuitemkeyinput "Fullscreen: " fullscreenscript
|
||||
menuitem "" -1 // Invert mouse is a slider instead of a checkbox so the 2 sensitivity textboxes don't look weird.
|
||||
menuitemslider "Invert mouse: " 0 1 "$invmouse" 1 "Disabled Enabled" "invmouse $arg1"
|
||||
menuitemtextinput "Mouse sensitivity: " "$sensitivity" "sensitivity $arg1"
|
||||
menuitemtextinput "Smooth Mouse (0 to 3) " "$mfilter" "mfilter $arg1"
|
||||
menuitemtextinput "Sniper-scope sensitivity scale: " "$scopesensscale" "alias scopesensscale $arg1"
|
||||
menuitemtextinput "Mouse sensitivity: " "$sensitivity" "sensitivity $arg1"
|
||||
menuitemtextinput "Smooth Mouse (0 to 3) " "$mfilter" "mfilter $arg1"
|
||||
menuitemtextinput "Sniper-scope sensitivity scale: " "$scopesensscale" "scopesensscale $arg1"
|
||||
menuitem "" -1
|
||||
menuitem "Reset keybinds to default settings..." [ showmenu "Reset Binds" ]
|
||||
|
||||
newmenu "Reset Binds"
|
||||
menuinit [ alias resetbindsyes 0 ] // Ensures this menu works correctly.
|
||||
menuitemcheckbox "Yes, reset all binds: " "alias resetbindsyes 1" "alias resetbindsyes $arg1"
|
||||
menuitem "2 [ Apply! ] " [ if $resetbindsyes [ resetbinds ] [ showmenu "" ] ]
|
||||
menuitem "2 [ Apply! ] " [ if $resetbindsyes [ resetbinds ] [ showmenu "" ] ]
|
||||
|
||||
|
||||
newmenu video
|
||||
|
||||
menuitemtextinput "Screen width: " "$scr_w" "scr_w $arg1" "" 11
|
||||
menuitemtextinput "Screen height: " "$scr_h" "scr_h $arg1" "" 11
|
||||
menuitemtextinput "Screen width: " "$scr_w" "scr_w $arg1" "" 11
|
||||
menuitemtextinput "Screen height: " "$scr_h" "scr_h $arg1" "" 11
|
||||
menuitemslider "Graphics detail: " 1 6 "$gfxqualityalias" 1 [ Horrible Low Medium Good "High (Performs slow)" "INSANE! (Performs really slow)"] "new_gfx_quality $arg1"
|
||||
menuitem "" -1
|
||||
menuitemslider "Field of view: " 75 120 "$fov" 2 "" "fov $arg1"
|
||||
@@ -271,9 +271,9 @@ menuitemslider "Gamma: " 30 300 "$gamma" 5 "" "gamma $arg1"
|
||||
menuitemcheckbox "Fullscreen: " "$fullscreen" "fullscreen $arg1"
|
||||
menuitemslider "Vsync: " -1 1 "$vsync" 1 "Default Disabled Enabled" "vsync $arg1"
|
||||
menuitem "" -1
|
||||
menuitem "Advanced video settings..." [ showmenu "Advanced video settings" ]
|
||||
menuitem "Advanced video settings..." [ showmenu "Advanced video settings" ]
|
||||
menuitem "" -1
|
||||
menuitem "2 [ Apply now! ]" resetgl
|
||||
menuitem "2 [ Apply now! ]" resetgl
|
||||
|
||||
|
||||
|
||||
@@ -326,21 +326,21 @@ menuitem "Enable 0.93 FOV compatiblity..." [ fovcompat; sleep 100 [ fovcompatmen
|
||||
menuitem "" -1
|
||||
menuitem "FPS Range..." [ showmenu "FPS Range" ]
|
||||
menuitem "" -1
|
||||
menuitem "2 [ Apply now! ] " "resetgl"
|
||||
menuitem "2 [ Apply now! ] " "resetgl"
|
||||
|
||||
alias fovcompatmenu [ showmenu settings; showmenu video; showmenu "Advanced video settings" ]
|
||||
|
||||
newmenu "FPS Range"
|
||||
|
||||
menuitem "My 486 0wnz y00 (8-10 FPS)" [closemenu "FPS Range"; fpsrange 8 10]
|
||||
menuitem "Slow machine (20-25 FPS)" [closemenu "FPS Range"; fpsrange 20 25]
|
||||
menuitem "Sensible default (30-40 FPS)" [closemenu "FPS Range"; fpsrange 30 40]
|
||||
menuitem "FPS whore (60-60 FPS)" [closemenu "FPS Range"; fpsrange 60 60]
|
||||
menuitem "My 486 0wnz y00 (8-10 FPS)" [closemenu "FPS Range"; fpsrange 8 10]
|
||||
menuitem "Slow machine (20-25 FPS)" [closemenu "FPS Range"; fpsrange 20 25]
|
||||
menuitem "Sensible default (30-40 FPS)" [closemenu "FPS Range"; fpsrange 30 40]
|
||||
menuitem "FPS whore (60-60 FPS)" [closemenu "FPS Range"; fpsrange 60 60]
|
||||
menuitem "I don't understand LOD (100+ FPS)" [closemenu "FPS Range"; fpsrange 100 1000]
|
||||
|
||||
newmenu gameplay
|
||||
|
||||
menuitemtextinput "Nickname: " "result $curname" "name $arg1"
|
||||
menuitemtextinput "Nickname: " "result $curname" "name $arg1"
|
||||
menuitemslider "Player skins: " 0 2 "$teamdisplaymode" 1 [Normal "Colored vests" "Full color"] "teamdisplaymode $arg1"
|
||||
menuitemslider "Custom player skins: " 0 2 "$hidecustomskins" 1 [ "Always show" "Show in non-team modes" "Never show" ] "hidecustomskins $arg1"
|
||||
menuitem "" -1
|
||||
@@ -362,13 +362,13 @@ menuitemslider "Console size: " 0 20 "$consize" 1 "" "consize $arg1"
|
||||
alias poniesmodeon 0
|
||||
alias reducedviolencemode [
|
||||
if (= $arg1 1) [
|
||||
alias poniesmodeon 1
|
||||
alias poniesmodeon 1
|
||||
blood 0
|
||||
gib 0
|
||||
loop i 8 [ mutesound (+ $i 24) 0 ] // Mute pain sounds : 24..31
|
||||
echo OMG!Ponies! mode enabled - Violent game content has now been reduced.
|
||||
] [ // Violent
|
||||
alias poniesmodeon 0
|
||||
alias poniesmodeon 0
|
||||
blood 1
|
||||
gib 1
|
||||
loop i 8 [ mutesound (+ $i 24) 1 ] // Un-mute pain sounds
|
||||
@@ -389,14 +389,14 @@ menuitemcheckbox " Console " "(= $hideconsole 0)" "hideconsole (= $arg1 0)"
|
||||
menuitemcheckbox " Spectator info " "(= $hidespecthud 0)" "hidespecthud (= $arg1 0)"
|
||||
menuitemcheckbox " Quick messages " "(= $hidehudmsgs 0)" "hidehudmsgs (= $arg1 0)"
|
||||
menuitemcheckbox " Damage direction indicator " "(= $hidedamageindicator 0)" "hidedamageindicator (= $arg1 0)"
|
||||
menuitemcheckbox " Damage screen flash " "$damagescreen" "damagescreen $arg1"
|
||||
menuitemcheckbox " Damage screen flash " "$damagescreen" "damagescreen $arg1"
|
||||
menuitemcheckbox " Crosshair team-sign " "$crosshairteamsign" "crosshairteamsign $arg1"
|
||||
menuitemcheckbox " CTF icons" "(= $hidectfhud 0)" "hidectfhud (= $arg1 0)"
|
||||
menuitemslider " " 0 2 [ $hudextras ] 1 [ "No extra messages" "Show extra messages in console" "Pop up extra messages!" ] [ hudextras $arg1 ]
|
||||
menuitemcheckbox " CTF icons" "(= $hidectfhud 0)" "hidectfhud (= $arg1 0)"
|
||||
menuitemslider " " 0 3 [ $hudextras ] 1 [ "No extra messages" "Show extra messages in console" "Pop up extra messages!" "SPAM EXTRA MESSAGES!" ] [ hudextras $arg1 ]
|
||||
menuitem "" -1
|
||||
menuitemslider "Crosshair size: " 0 50 "$crosshairsize" 5 "" "crosshairsize $arg1"
|
||||
menuitem "Change crosshair... " "showmenu Crosshairs"
|
||||
menuitem "Change scope crosshair... " "showmenu [Scope crosshairs]"
|
||||
menuitem "Change crosshair... " "showmenu Crosshairs"
|
||||
menuitem "Change scope crosshair... " "showmenu [Scope crosshairs]"
|
||||
|
||||
newmenu "Crosshairs"
|
||||
menudirlist "packages/misc/crosshairs" "png" "loadcrosshair (concatword $arg1 .png)" 1
|
||||
@@ -421,43 +421,43 @@ menuitemcheckbox "Bullet hit: " "$bulletbouncesound" "bulletbouncesound $arg1"
|
||||
menuitemcheckbox "Bullet near-miss: " "$bulletairsound" "bulletairsound $arg1"
|
||||
menuitemcheckbox "Disable own footsteps: " "(= $localfootsteps)" "localfootsteps (! $arg1)"
|
||||
menuitem "" -1
|
||||
menuitem "Mute/Un-mute specific sounds..." [ showmenu "Mute specific sounds" ]
|
||||
menuitem "Mute/Un-mute specific sounds..." [ showmenu "Mute specific sounds" ]
|
||||
|
||||
|
||||
newmenu "Mute specific sounds"
|
||||
|
||||
menuitem "Weapon sounds" [ showmenu "Mute weapon sounds" ]
|
||||
menuitem "Bullet/explosion sounds" [ showmenu "Mute bullet/explosion sounds" ]
|
||||
menuitem "Pain/death sounds" [ showmenu "Mute pain/death sounds" ]
|
||||
menuitem "Pickup sounds" [ showmenu "Mute pickup sounds" ]
|
||||
menuitem "Movement sounds" [ showmenu "Mute movement sounds" ]
|
||||
menuitem "Voice-com sounds" [ showmenu "Mute voice-coms" ]
|
||||
menuitem "Other sounds" [ showmenu "Mute other sounds" ]
|
||||
menuitem "Bullet/explosion sounds" [ showmenu "Mute bullet/explosion sounds" ]
|
||||
menuitem "Pain/death sounds" [ showmenu "Mute pain/death sounds" ]
|
||||
menuitem "Pickup sounds" [ showmenu "Mute pickup sounds" ]
|
||||
menuitem "Movement sounds" [ showmenu "Mute movement sounds" ]
|
||||
menuitem "Voice-com sounds" [ showmenu "Mute voice-coms" ]
|
||||
menuitem "Other sounds" [ showmenu "Mute other sounds" ]
|
||||
menuitem "" -1
|
||||
menuitem "Un-mute all sounds..." "unmuteallsounds"
|
||||
menuitem "Un-mute all sounds..." "unmuteallsounds"
|
||||
|
||||
newmenu "Mute weapon sounds"
|
||||
|
||||
menuitemcheckbox "Knife: " "(soundmuted 7)" "mutesound 7 (! $arg1)"
|
||||
menuitemcheckbox "Pistol: " "(soundmuted 8)" "mutesound 8 (! $arg1)"
|
||||
menuitemcheckbox "Pistol reloading: " "(soundmuted 9)" "mutesound 9 (! $arg1)"
|
||||
menuitemcheckbox "Carbine: " "(soundmuted 10)" "mutesound 10 (! $arg1)"
|
||||
menuitemcheckbox "Carbine reloading: " "(soundmuted 11)" "mutesound 11 (! $arg1)"
|
||||
menuitemcheckbox "Shotgun: " "(soundmuted 12)" "mutesound 12 (! $arg1)"
|
||||
menuitemcheckbox "Shotgun reloading: " "(soundmuted 13)" "mutesound 13 (! $arg1)"
|
||||
menuitemcheckbox "Submachine gun: " "(soundmuted 14)" "mutesound 14 (! $arg1)"
|
||||
menuitemcheckbox "Submachine gun reloading: " "(soundmuted 15)" "mutesound 15 (! $arg1)"
|
||||
menuitemcheckbox "Sniper: " "(soundmuted 16)" "mutesound 16 (! $arg1)"
|
||||
menuitemcheckbox "Sniper reloading: " "(soundmuted 17)" "mutesound 17 (! $arg1)"
|
||||
menuitemcheckbox "Assault Rifle: " "(soundmuted 18)" "mutesound 18 (! $arg1)"
|
||||
menuitemcheckbox "Assault Rifle reloading: " "(soundmuted 19)" "mutesound 19 (! $arg1)"
|
||||
menuitemcheckbox "Grenade pull: " "(soundmuted 41)" "mutesound 41 (! $arg1)"
|
||||
menuitemcheckbox "Grenade throw: " "(soundmuted 42)" "mutesound 42 (! $arg1)"
|
||||
menuitemcheckbox "Grenade bounce 1: " "(soundmuted 43)" "mutesound 43 (! $arg1)"
|
||||
menuitemcheckbox "Grenade bounce 2: " "(soundmuted 44)" "mutesound 44 (! $arg1)"
|
||||
menuitemcheckbox "Akimbo reload: " "(soundmuted 45)" "mutesound 45 (! $arg1)"
|
||||
menuitemcheckbox "Change weapon: " "(soundmuted 46)" "mutesound 46 (! $arg1)"
|
||||
menuitemcheckbox "Empty clip: " "(soundmuted 24)" "mutesound 24 (! $arg1)"
|
||||
menuitemcheckbox "Knife: " "(soundmuted 7)" "mutesound 7 (! $arg1)"
|
||||
menuitemcheckbox "Pistol: " "(soundmuted 8)" "mutesound 8 (! $arg1)"
|
||||
menuitemcheckbox "Pistol reloading: " "(soundmuted 9)" "mutesound 9 (! $arg1)"
|
||||
menuitemcheckbox "Carbine: " "(soundmuted 10)" "mutesound 10 (! $arg1)"
|
||||
menuitemcheckbox "Carbine reloading: " "(soundmuted 11)" "mutesound 11 (! $arg1)"
|
||||
menuitemcheckbox "Shotgun: " "(soundmuted 12)" "mutesound 12 (! $arg1)"
|
||||
menuitemcheckbox "Shotgun reloading: " "(soundmuted 13)" "mutesound 13 (! $arg1)"
|
||||
menuitemcheckbox "Submachine gun: " "(soundmuted 14)" "mutesound 14 (! $arg1)"
|
||||
menuitemcheckbox "Submachine gun reloading: " "(soundmuted 15)" "mutesound 15 (! $arg1)"
|
||||
menuitemcheckbox "Sniper: " "(soundmuted 16)" "mutesound 16 (! $arg1)"
|
||||
menuitemcheckbox "Sniper reloading: " "(soundmuted 17)" "mutesound 17 (! $arg1)"
|
||||
menuitemcheckbox "Assault Rifle: " "(soundmuted 18)" "mutesound 18 (! $arg1)"
|
||||
menuitemcheckbox "Assault Rifle reloading: " "(soundmuted 19)" "mutesound 19 (! $arg1)"
|
||||
menuitemcheckbox "Grenade pull: " "(soundmuted 41)" "mutesound 41 (! $arg1)"
|
||||
menuitemcheckbox "Grenade throw: " "(soundmuted 42)" "mutesound 42 (! $arg1)"
|
||||
menuitemcheckbox "Grenade bounce 1: " "(soundmuted 43)" "mutesound 43 (! $arg1)"
|
||||
menuitemcheckbox "Grenade bounce 2: " "(soundmuted 44)" "mutesound 44 (! $arg1)"
|
||||
menuitemcheckbox "Akimbo reload: " "(soundmuted 45)" "mutesound 45 (! $arg1)"
|
||||
menuitemcheckbox "Change weapon: " "(soundmuted 46)" "mutesound 46 (! $arg1)"
|
||||
menuitemcheckbox "Empty clip: " "(soundmuted 24)" "mutesound 24 (! $arg1)"
|
||||
|
||||
newmenu "Mute pickup sounds"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user