-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add menu options, more fine tuning
- Loading branch information
1 parent
71a9938
commit ae9584a
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
server bool smpb_enable = false; | ||
server bool smpb_enable = true; | ||
server float smpb_range = 3000; | ||
server int smpb_tics = 8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[enu default] | ||
SMPBOptions = "Slaughter Map Performance Booster Options"; | ||
SMPBEnabled = "Enable SMPB"; | ||
SMPBTicRate = "SMPB Slowdown Rate (Tics) (longer - slower, more performance boost)"; | ||
SMPBRange = "SMPB Range Check (lower = more strict, more performance boost)"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
OptionValue "YesNo" | ||
{ | ||
0, "$TXT_NO" | ||
1, "$TXT_YES" | ||
} | ||
|
||
AddOptionMenu "OptionsMenuSimple" | ||
{ | ||
StaticText " " | ||
Submenu "$SMPBOptions", "SMPBOptions" | ||
} | ||
|
||
AddOptionMenu "OptionsMenu" | ||
{ | ||
StaticText " " | ||
Submenu "$SMPBOptions", "SMPBOptions" | ||
} | ||
|
||
OptionMenu "SMPBOptions" | ||
{ | ||
Title "$SMPBOptions" | ||
Option "$SMPBEnabled", "smpb_enable", "YesNo" | ||
Slider "$SMPBTicRate", "smpb_tics", 3, 15, 1 | ||
Slider "$SMPBRange", "smpb_range", 1500, 5000, 250 | ||
} |