diff --git a/config/menus_settings.cfg b/config/menus_settings.cfg index 5e84b212..c8342816 100644 --- a/config/menus_settings.cfg +++ b/config/menus_settings.cfg @@ -52,6 +52,9 @@ const DEFAULT_PRIMARIES ["MTP-57 Assault Rifle" "A-ARD/10 Submachine Gun" "Preci const DEFAULT_PRALIASES [AR SMG SNIPER SHOTGUN CARBINE] const DEFAULT_PRMDLDIRS [assault subgun sniper shotgun carbine] +const CUSTOM_PRIMARIES ["AR-15 Assault Rifle" "Mac11 Submachine Gun" "Dragunov SVD Sniper Rifle" "Sawed-off Shotgun" "Marlin Guide Carbine 1895"] +const CUSTOM_PRMDLDIRS [assault2 subgun2 sniper2 shotgun2 carbine2] + newmenu Weapons menumdl weapons/assault/menu mapmodel 75 12 @@ -64,11 +67,9 @@ loop gwm (listlen $DEFAULT_PRIMARIES) [ // newmenu [Alternative Weapons] // menumdl weapons/assault2/menu mapmodel 75 12 -// menuitem [AR-15 Assault Rifle] [ nextprimary $AR; loadcustomprimary $AR; echo AR-15 Assault Rifle selected ] [ chmenumdl [Alternative Weapons] weapons/assault2/menu mapmodel 75 12 ] -// menuitem [Mac11 Submachine Gun] [ nextprimary $SMG; loadcustomprimary $SMG; echo Mac11 Submachine Gun selected ] [ chmenumdl [Alternative Weapons] weapons/subgun2/menu mapmodel 75 12 ] -// menuitem [Dragunov SVD Sniper Rifle] [ nextprimary $SNIPER; loadcustomprimary $SNIPER; echo Dragunov SVD Sniper Rifle selected ] [ chmenumdl [Alternative Weapons] weapons/sniper2/menu mapmodel 75 12 ] -// menuitem [Sawed-off Shotgun] [ nextprimary $SHOTGUN; loadcustomprimary $SHOTGUN; echo Sawed-off Shotgun selected ] [ chmenumdl [Alternative Weapons] weapons/shotgun2/menu mapmodel 75 12 ] -// menuitem [Marlin Guide Carbine 1895] [ nextprimary $CARBINE; loadcustomprimary $CARBINE; echo Marlin Guide Carbine 1895 selected ] [ chmenumdl [Alternative Weapons] weapons/carbine2/menu mapmodel 75 12 ] +// loop cwm (listlen $CUSTOM_PRIMARIES) [ +// execute (format [menuitem [%1] [ nextprimary (getalias %2); loadcustomprimary (getalias %2); echo %1 selected ] [ chmenumdl [Alternative Weapons] weapons/%3/menu mapmodel 75 12 ]] (at $CUSTOM_PRIMARIES $cwm) (at $DEFAULT_PRALIASES $cwm) (at $CUSTOM_PRMDLDIRS $cwm)) +// ] // menuitem [] -1 // menuitem [Other alternative weapons...] [ showmenu [Alternative Weapon Models] ] @@ -81,7 +82,6 @@ menuitem [Psycho] [ skin_cla 1 ] [ chmenumdl CLA playermodels/CLA/02 all 50 menuitem [Bomber] [ skin_cla 2 ] [ chmenumdl CLA playermodels/CLA/03 all 50 4 ] menuitem [Ripper] [ skin_cla 3 ] [ chmenumdl CLA playermodels/CLA/04 all 50 4 ] - newmenu RVSF menuinit [menuselection RVSF (skin_rvsf)] @@ -93,7 +93,6 @@ menuitem [Viper] [ skin_rvsf 3 ] [ chmenumdl RVSF playermodels/RVSF/04 all 50 4 menuitem [Swat] [ skin_rvsf 4 ] [ chmenumdl RVSF playermodels/RVSF/05 all 50 4 ] menuitem [Police] [ skin_rvsf 5 ] [ chmenumdl RVSF playermodels/RVSF/06 all 50 4 ] - newmenu [QUICK setup] menuitemtextinput [Nickname:] [] [ name $arg1 ] @@ -341,7 +340,7 @@ menuitem " 2 [ Apply! ] " [ if $resetbindsyes resetbinds [ showme newmenu video -menuitemtextinput [Screen width: ] "$scr_w" [ scr_w $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 "INSANE! (May perform slowly on older gfx)"] [ new_gfx_quality $arg1 ] menuitem [] -1