mirror of
https://github.com/DrBeef/JKXR.git
synced 2025-02-27 14:00:55 +00:00
commit0c85ac4704
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 15 18:47:10 2023 +0200 Menu updates commit35b89acc87
Author: Simon <simonbrown77@googlemail.com> Date: Sat Apr 15 12:32:35 2023 +0100 Support for changeable fresh rate commit539bfa8956
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 15 00:02:59 2023 +0200 Ensure proper menu defaults on the very first start commit216a225aa6
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Apr 14 22:41:24 2023 +0200 Fix storing of force crosshair option commit48c2486aad
Merge:a72ca45
fcb9169
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Apr 14 22:23:24 2023 +0200 Merge remote-tracking branch 'origin/main' into contributions commita72ca459c5
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Apr 14 22:19:47 2023 +0200 Intern all default values; Remove no longer needed configuration files commit32c4e6eac1
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Apr 14 20:59:41 2023 +0200 Ensure weapon adjustment is applied when resetting to defaults commitfcb9169955
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Fri Apr 14 18:58:32 2023 +0200 Increased default force motion trigger commit2433ae4110
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Fri Apr 14 18:55:56 2023 +0200 Change Force Crosshair commit4ab6a6024a
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Fri Apr 14 17:01:16 2023 +0200 Fixed player knockback.... hopefully commit7deeee7a6f
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Fri Apr 14 17:01:00 2023 +0200 Increased Force Power Visibility commit1fdcb7c48f
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Fri Apr 14 15:16:34 2023 +0200 Changed Brightness Range and Default commitfada09a0bb
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Apr 13 20:38:13 2023 +0200 Fix remote turret on-screen help commit82af313786
Merge:7680cb1
d13176c
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Apr 13 18:59:46 2023 +0200 Merge branch 'main' into contributions commitd13176c9ba
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Thu Apr 13 13:29:49 2023 +0200 New Quick Save / Load Video commit7680cb1288
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Wed Apr 12 22:26:44 2023 +0200 Fix use action when controlling droid; fix droid view help commit4d90595139
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 12 18:21:10 2023 +0200 Fencing Speed on Pico default commit37d5ac4184
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 12 18:12:07 2023 +0200 Changes to TBDC Different menu text + added vanilla mode commitd6e40ead64
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 12 17:44:29 2023 +0200 Set Fencing Speed back to Default (by Default) commit3f7d116e25
Merge:7424628
c7c66e4
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 12 14:50:26 2023 +0200 Merge branch 'main' of https://github.com/DrBeef/JKXR commit7424628a5d
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 12 14:50:23 2023 +0200 Updated Weapons + Shader fix for FX mod commitc7c66e46a7
Author: Simon <simonbrown77@googlemail.com> Date: Wed Apr 12 08:37:36 2023 +0100 Revert "Arrange quick save icons horizontally" This reverts commit20f8fff3fe
. Also make the icons white commitfa54045159
Author: Simon <simonbrown77@googlemail.com> Date: Tue Apr 11 21:02:29 2023 +0100 Update .gitignore commit20f8fff3fe
Author: Simon <simonbrown77@googlemail.com> Date: Tue Apr 11 21:00:09 2023 +0100 Arrange quick save icons horizontally commitd3dcac8f9d
Author: Simon <simonbrown77@googlemail.com> Date: Tue Apr 11 20:58:56 2023 +0100 Save game crash fix in JKO commit6314561b52
Author: Simon <simonbrown77@googlemail.com> Date: Tue Apr 11 08:49:42 2023 +0100 Switch selector on offhand using offhand thumbstick commit3b2ffd7289
Author: Simon <simonbrown77@googlemail.com> Date: Tue Apr 11 08:39:32 2023 +0100 Attempted fix for save game crash - Not really a proper fix, but might at least workaround it commitc135eefa05
Author: Simon <simonbrown77@googlemail.com> Date: Tue Apr 11 08:38:54 2023 +0100 Fixed save/load icon image size commitf51270a294
Merge:a2ff16b
e243d0b
Author: Simon <simonbrown77@googlemail.com> Date: Mon Apr 10 19:42:11 2023 +0100 Merge branch 'main' of https://github.com/DrBeef/JKXR commita2ff16b576
Author: Simon <simonbrown77@googlemail.com> Date: Mon Apr 10 19:42:06 2023 +0100 Quick Save/Load in Selector Haven't been able to test yet! commite243d0bdfa
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Mon Apr 10 18:29:18 2023 +0200 Update README.md commitb9d0314a6a
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sun Apr 9 19:38:32 2023 +0200 Make getting into AT-ST easier commitd121206f83
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 8 22:49:28 2023 +0200 Tune touch gesture distance; Improve use interaction in 3rd person. commit260d501776
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 8 22:34:59 2023 +0200 Fix and improve weapon adjustment helper axes commita6318867bb
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Thu Apr 6 20:35:02 2023 +0200 Update README.md commit4a1d90e729
Merge:425db0f
821a56d
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Apr 6 19:12:07 2023 +0200 Merge branch 'main' into contributions commit821a56d4b9
Author: Simon Brown <simonbrown77@googlemail.com> Date: Thu Apr 6 17:24:20 2023 +0100 Update README.md commit67b7d26de8
Merge:b407932
ccd63d4
Author: Simon Brown <simonbrown77@googlemail.com> Date: Thu Apr 6 16:54:01 2023 +0100 Merge pull request #4 from DrBeef/TBDC TBDC Scales in Code commitb407932bb2
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Thu Apr 6 17:43:26 2023 +0200 Update README.md commit174c3ce96c
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Thu Apr 6 17:33:33 2023 +0200 Update README.md commite9af8e87c2
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Thu Apr 6 17:23:36 2023 +0200 Update README.md commitccd63d4eec
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Thu Apr 6 16:57:36 2023 +0200 Forced for Extended Menu commitd6b3e8eb65
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Thu Apr 6 16:55:02 2023 +0200 TBDC Scales in Code commita5f3adf725
Author: Simon Brown <simonbrown77@googlemail.com> Date: Thu Apr 6 15:04:07 2023 +0100 Update README.md commit316c2a2904
Merge:387c34b
90b694f
Author: Simon Brown <simonbrown77@googlemail.com> Date: Thu Apr 6 10:02:01 2023 +0100 Merge pull request #2 from DrBeef/TBDC Team Beef Directors Cut commit387c34b53e
Author: Simon <simonbrown77@googlemail.com> Date: Thu Apr 6 09:59:18 2023 +0100 Update Beef Crawl commita271b61ac7
Author: Simon <simonbrown77@googlemail.com> Date: Thu Apr 6 09:58:18 2023 +0100 Switch to use Bummser's NPC file if TBDC is disabled commita2f1644d72
Author: Simon <simonbrown77@googlemail.com> Date: Thu Apr 6 08:39:02 2023 +0100 Update version to 1.0.0 for release commitf785fdc393
Author: Simon <simonbrown77@googlemail.com> Date: Thu Apr 6 08:00:11 2023 +0100 update github banner Update README.md Update README.md Update README.md Update README.md Update README.md Added Team Beef Patreon banner commit90b694ff60
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 5 22:21:41 2023 +0200 Last Cleanup commit70468332d6
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 5 22:19:45 2023 +0200 TBDC Cleanup commit6660e8c984
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 5 21:58:00 2023 +0200 Credits / NPC Scale commite1b03fdcc6
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 5 21:57:07 2023 +0200 Fixing Quick Save commit95950f2390
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 5 20:08:10 2023 +0200 Updated ratios per difficulty commitd6235ef199
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Wed Apr 5 00:30:35 2023 +0200 Darkened Menu GFX commita3fdb460c4
Author: Simon <simonbrown77@googlemail.com> Date: Tue Apr 4 23:03:31 2023 +0100 Prevent crash when throwing Saber seems it is indexing the g2 model surface that doesn't exist, might be something to do with the new hilt and the old hilt being in the save. Not sure, but this stops it crashing. commit4c751fcb59
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Tue Apr 4 23:59:12 2023 +0200 Y Close Datapad commita1216665c8
Merge:1939a26
d841464
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Tue Apr 4 23:48:20 2023 +0200 Merge pull request #1 from DrBeef/main Main -> TDBC commit1939a26542
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Tue Apr 4 23:37:41 2023 +0200 TBDC Laser Saber deflections Guns balancing. commitd841464924
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Apr 4 21:59:31 2023 +0200 Update help resources and menu commit425db0f108
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Apr 4 21:59:31 2023 +0200 Update help resources and menu commit3c895d27de
Merge:fe9e12a
c3819fa
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Apr 4 21:05:48 2023 +0200 Merge branch 'main' into contributions commitc3819fa407
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Mon Apr 3 00:36:57 2023 +0200 Demo folder assets fix commitfe9e12a3f9
Merge:d79f57b
2b255ac
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Mon Apr 3 22:55:29 2023 +0200 Merge branch 'main' into contributions commit2b255ac3ea
Author: Simon <simonbrown77@googlemail.com> Date: Mon Apr 3 21:26:39 2023 +0100 Improved version string commit62284414d0
Author: Simon <simonbrown77@googlemail.com> Date: Mon Apr 3 21:26:20 2023 +0100 Ensure intro vid can be skipped without having to press trigger first commit65674abe2a
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Mon Apr 3 21:36:35 2023 +0200 Fix Controller Location Buzz for Quick Save / Load commitba2e726a79
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Mon Apr 3 00:36:57 2023 +0200 Demo folder assets fix commit7175c872a9
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Mon Apr 3 00:36:46 2023 +0200 Knockback settings TBDC commitcc7e73d04a
Author: Simon <simonbrown77@googlemail.com> Date: Sun Apr 2 22:59:47 2023 +0100 Update beef_crawl.tga commitdd71a05e36
Author: Simon <simonbrown77@googlemail.com> Date: Sun Apr 2 22:51:49 2023 +0100 Put version at the bottom of the main menu commitcb52d310c1
Author: Grant Bagwell <general@grantbagwell.co.uk> Date: Sun Apr 2 23:18:28 2023 +0200 TBDC Weapons commitac71f24e78
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sun Apr 2 18:43:10 2023 +0200 Updated control scheme picture commit3f5c767e8d
Author: Simon <simonbrown77@googlemail.com> Date: Sun Apr 2 19:42:42 2023 +0100 Update AndroidManifest.xml commit64ab392fc5
Author: Simon <simonbrown77@googlemail.com> Date: Sun Apr 2 19:42:39 2023 +0100 JKA: Some CVAR change to increase performance commitd43de53e8a
Author: Simon <simonbrown77@googlemail.com> Date: Sun Apr 2 19:41:50 2023 +0100 Added missed saber blocking check might explain why some people find JKA a bit easy if it is auto-blocking in 1st person commit8b23e255d8
Author: Simon <simonbrown77@googlemail.com> Date: Sun Apr 2 19:41:16 2023 +0100 Update open xr headers commitd79f57ba2d
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sun Apr 2 18:43:10 2023 +0200 Updated control scheme picture commite3524e8e48
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 1 18:48:42 2023 +0200 Add use haptic feedback; Fix use in 3rd person mode commit05fc4d5ab4
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 1 12:07:13 2023 +0200 Fix menu haptics commiteec46c183d
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 1 18:48:42 2023 +0200 Add use haptic feedback; Fix use in 3rd person mode commitfe9891f8db
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 1 12:07:13 2023 +0200 Fix menu haptics commit21483d0d5a
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 1 11:25:11 2023 +0200 Make weapon adjustment mode independent for each weapon; Optimize loading of weapon adjustments commitbaec8832ab
Merge:82706df
52fcc8a
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Sat Apr 1 11:15:25 2023 +0200 Merge branch 'main' into contributions commit52fcc8a49e
Author: Simon <simonbrown77@googlemail.com> Date: Sat Apr 1 09:47:48 2023 +0100 Revert "Removed the no-backface-culling for weapons as it is no longer needed" This reverts commitb899b99178
. commit5e66ebf6fc
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Mar 31 15:40:54 2023 +0200 Allow to skip cinematics also by triggers commit587277fa7f
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Mar 31 14:52:40 2023 +0200 Fix use/crouch buttons on switched control schemes commit82706df34f
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Mar 31 15:40:54 2023 +0200 Allow to skip cinematics also by triggers commit1111766032
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Mar 31 14:52:40 2023 +0200 Fix use/crouch buttons on switched control schemes commit822d1ddbba
Merge:a1a7d54
5f56cf4
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Fri Mar 31 08:43:50 2023 +0200 Merge branch 'main' into contributions commit5f56cf48fc
Author: Simon <simonbrown77@googlemail.com> Date: Thu Mar 30 22:16:37 2023 +0100 Camera shake fix part 2 commit3dd7833cd0
Author: Simon <simonbrown77@googlemail.com> Date: Thu Mar 30 22:06:18 2023 +0100 Disable camera shake when charging a weapon's alt fire commit6202017b6a
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Mar 30 21:52:44 2023 +0200 Fix virtual gun stock commit6d49f87150
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Mar 30 19:26:36 2023 +0200 Do not check angle on non-facing triggers commit926c64c691
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Mar 30 17:54:33 2023 +0200 Add angle check for triggers touched by hand commit78f7d9bcfc
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Wed Mar 29 22:59:27 2023 +0200 JKA mod menu warning commit4219f996e9
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Wed Mar 29 22:42:11 2023 +0200 JKO mod menu warning commitb899b99178
Author: Simon <simonbrown77@googlemail.com> Date: Thu Mar 30 21:45:10 2023 +0100 Removed the no-backface-culling for weapons as it is no longer needed used only for hand models now commit9877859676
Author: Simon <simonbrown77@googlemail.com> Date: Thu Mar 30 21:44:36 2023 +0100 Update to the VC+Elin weapons pack includes a sweet new saber hilt commita1a7d541fa
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Mar 30 21:52:44 2023 +0200 Fix virtual gun stock commit15d932c75f
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Mar 30 19:26:36 2023 +0200 Do not check angle on non-facing triggers commit402277e717
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Mar 30 17:54:33 2023 +0200 Add angle check for triggers touched by hand commit9b22378c88
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Thu Mar 30 17:52:26 2023 +0200 Add special delay for re-triggering security cameras commitc4cc218f8b
Author: Simon <simonbrown77@googlemail.com> Date: Wed Mar 29 22:44:50 2023 +0100 Turn the stun baton into an "always active" weapon movement still triggers the sound, but it will always shock an enemy when it makes contact commita4e99c20f9
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Wed Mar 29 22:59:27 2023 +0200 JKA mod menu warning commit442a1fc8e2
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Wed Mar 29 22:42:11 2023 +0200 JKO mod menu warning commit02261c57f0
Merge:3c64fa7
51c703a
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Wed Mar 29 20:51:42 2023 +0200 Merge branch 'contributions' of github.com:DrBeef/JKXR into contributions commit3c64fa7e3e
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 23:19:29 2023 +0100 Lowered Stun Baton trigger velocity commit43192a355d
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 23:03:17 2023 +0100 Move beef_crawl back into the game specific assets as we will be fixing the JKO one on release, but updating JKA commit94e82c2da3
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Mar 28 23:21:28 2023 +0200 Fix subtitles rendering; Fix rendering of other centered texts commit40128567be
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Mar 28 18:02:08 2023 +0200 Add help to menu commit4f1b6b5f07
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Mar 28 17:36:13 2023 +0200 Split vr asset packs to avoid duplicates commit51c703a481
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Mar 28 23:21:28 2023 +0200 Fix subtitles rendering; Fix rendering of other centered texts commit04a539f890
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Mar 28 18:02:08 2023 +0200 Add help to menu commitd9126738d3
Author: Petr Bartos <petr.bartos@plus4u.net> Date: Tue Mar 28 17:36:13 2023 +0200 Split vr asset packs to avoid duplicates commit62b9a0bfab
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 13:52:45 2023 +0100 Hide force power aura when item selector is shown commit0a9206642e
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 13:52:23 2023 +0100 Slight adjustment to muzzle position based on whether scoped/two-handed commitf452b9cf06
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 13:51:49 2023 +0100 Slight tweak to NPC Combat commit20de6ec478
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 13:50:54 2023 +0100 Added simple readme and license commit77672f612b
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 07:20:22 2023 +0100 Updated website link to be the patreon commit2a1cd0e6e7
Author: Simon <simonbrown77@googlemail.com> Date: Tue Mar 28 07:20:10 2023 +0100 Don't send roll to the server, this might be causing gradual roll drift commit1b22652e5c
Author: Simon <simonbrown77@googlemail.com> Date: Mon Mar 27 21:38:46 2023 +0100 Fixed aiming of bowcaster and demp alt fire commit895b09041f
Author: Simon <simonbrown77@googlemail.com> Date: Mon Mar 27 21:38:25 2023 +0100 JKA - Ensure UseVR Position is only true when in first person commit3897531544
Author: Simon <simonbrown77@googlemail.com> Date: Mon Mar 27 21:38:17 2023 +0100 JKO - Ensure UseVR Position is only true when in first person commit3b5121e349
Author: Simon <simonbrown77@googlemail.com> Date: Mon Mar 27 21:37:49 2023 +0100 Render Special Effects on hand/weapon when force power is activated for protection etc commit50db9039df
Author: Simon <simonbrown77@googlemail.com> Date: Sun Mar 26 16:33:52 2023 +0100 Separate no copy file flag for JK3 commit1968a7d8ba
Author: Simon <simonbrown77@googlemail.com> Date: Sun Mar 26 16:33:22 2023 +0100 Always use right hand as saber home commit74dcd955d2
Author: Simon <simonbrown77@googlemail.com> Date: Sun Mar 26 16:32:49 2023 +0100 Fix crash in JKA commit1e4692d04a
Author: Simon <simonbrown77@googlemail.com> Date: Sun Mar 26 16:32:16 2023 +0100 Update z_Crusty_and_Elin_vr_weapons.pk3 commit134dec8264
Author: Simon <simonbrown77@googlemail.com> Date: Sun Mar 26 16:31:53 2023 +0100 Fix possible crash on JK2 commitf6dc432f6a
Author: Simon <simonbrown77@googlemail.com> Date: Sat Mar 25 15:36:01 2023 +0000 Copy mods to jk2demo if it exists to resolve the issue with mods not being picked up from the base folder
3090 lines
60 KiB
Text
3090 lines
60 KiB
Text
// MAIN MENU
|
|
{
|
|
menuDef
|
|
{
|
|
name "ingameSetupMenu"
|
|
fullScreen 1 // MENU_TRUE
|
|
rect 0 0 640 480 // Size and position of the menu
|
|
visible 1 // Visible on open
|
|
focusColor 1 1 1 1 // Focus color for text and items
|
|
appearanceIncrement 10 // In miliseconds
|
|
descX 375
|
|
descY 425
|
|
descScale .8
|
|
descColor .235 .882 .847 1 // Focus color for text and items
|
|
descAlignment ITEM_ALIGN_CENTER
|
|
|
|
onOpen
|
|
{
|
|
uiScript getvideosetup ; // Get video settings
|
|
hide applyChanges ;
|
|
hide video2 ;
|
|
hide vidrestart ;
|
|
hide sound ;
|
|
hide options ;
|
|
hide difficulty ;
|
|
hide defaults
|
|
show setup_background ;
|
|
show video ;
|
|
setitemcolor video1menubutton forecolor 1 1 1 1 ;
|
|
setitemcolor video2menubutton forecolor 0.65 0.65 1 1 ;
|
|
setitemcolor soundmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gameoptionmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor difficultymenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gamedefaultsmenubutton forecolor 0.65 0.65 1 1;
|
|
}
|
|
|
|
onESC
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
hide highlights ;
|
|
close all ;
|
|
open ingameMainMenu ;
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// MENU BACKGROUND
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
itemDef
|
|
{
|
|
name frame_pic
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 0 0 640 480
|
|
background "gfx/menus/menu1" // Frame
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
itemDef
|
|
{
|
|
name frame_pic
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 0 0 640 480
|
|
background "gfx/menus/expanded_menu_background"
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
|
|
// The saber glow on the left
|
|
itemDef
|
|
{
|
|
name saberglow
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 30 0 90 480
|
|
background "gfx/menus/menu3" // Frame
|
|
forecolor 0.8 0.8 0.8 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
|
|
// The starwars logo on the top
|
|
itemDef
|
|
{
|
|
name starwars
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 143 12 470 93
|
|
background "gfx/menus/menu4" // Frame
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
// The saber halo on the left
|
|
itemDef
|
|
{
|
|
name saberhalo
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect -425 -185 1000 1000
|
|
background "gfx/menus/menu2" // Frame
|
|
forecolor 0.5 0.5 0.5 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name logomodel
|
|
group none
|
|
type ITEM_TYPE_MODEL
|
|
rect -123 48 400 400
|
|
model_angle 90
|
|
model_rotation 3.5
|
|
asset_model "models/map_objects/bespin/jk2logo.md3"
|
|
// model_fovx 37
|
|
// model_fovy 34
|
|
// model_origin 100 100 100
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
// The saber halo on the left
|
|
itemDef
|
|
{
|
|
name saberhalo2
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect -225 15 600 600
|
|
background "gfx/menus/menu2b" // Frame
|
|
forecolor 0.25 0.25 0.25 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
// Expanded menu shaders
|
|
// Sun red
|
|
itemDef
|
|
{
|
|
name sun
|
|
group none
|
|
rect -40 145 300 300
|
|
style WINDOW_STYLE_SHADER
|
|
background "gfx/menus/menu2r"
|
|
forecolor 0.7 0.7 0.7 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
// Sun halo
|
|
itemDef
|
|
{
|
|
name sun_halo
|
|
group none
|
|
rect -95 100 400 400
|
|
style WINDOW_STYLE_SHADER
|
|
background "gfx/menus/menu2br"
|
|
forecolor 0.3 0.3 0.3 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
// Long sunflare
|
|
itemDef
|
|
{
|
|
name sunflares
|
|
group none
|
|
rect -235 -60 700 700
|
|
style WINDOW_STYLE_SHADER
|
|
background "gfx/menus/menu2br"
|
|
forecolor 0.3 0.3 0.3 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
|
|
// Expanded Menu Starwars Logo
|
|
itemDef
|
|
{
|
|
name star_wars
|
|
group none
|
|
rect 272 10 365 95
|
|
style WINDOW_STYLE_SHADER
|
|
background "gfx/menus/expanded_menu_logo"
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// TOP MENU BUTTONS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
|
|
// Big button "SAVE"
|
|
itemDef
|
|
{
|
|
name savegamebutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 115 115 130 24
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name savegamebutton
|
|
group toprow
|
|
text @MENUS1_SAVE
|
|
descText @MENUS1_SAVE_CURRENT_GAME
|
|
style WINDOW_STYLE_EMPTY
|
|
type ITEM_TYPE_BUTTON
|
|
rect 115 115 130 24
|
|
textaligny 0
|
|
font 3
|
|
textscale 0.9
|
|
textalign ITEM_ALIGN_CENTER
|
|
textstyle 3
|
|
textalignx 65
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
|
|
mouseEnter
|
|
{
|
|
show savegamebutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide savegamebutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
close all ;
|
|
open ingamesaveMenu
|
|
}
|
|
}
|
|
|
|
|
|
// Big button "LOAD"
|
|
itemDef
|
|
{
|
|
name loadgamebutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 245 115 130 24
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name loadgamebutton
|
|
group toprow
|
|
text @MENUS1_LOAD
|
|
descText @MENUS1_LOAD_A_SAVED_GAME
|
|
rect 245 115 130 24
|
|
style WINDOW_STYLE_EMPTY
|
|
type ITEM_TYPE_BUTTON
|
|
textstyle 3
|
|
font 3
|
|
textscale 0.9
|
|
textaligny 0
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 65
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
|
|
mouseEnter
|
|
{
|
|
show loadgamebutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide loadgamebutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
close all ;
|
|
open ingameloadMenu
|
|
}
|
|
}
|
|
|
|
|
|
// Big button "CONTROLS"
|
|
itemDef
|
|
{
|
|
name controlsbutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 375 115 130 24
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef {
|
|
name controlsbutton
|
|
group toprow
|
|
text @MENUS0_CONTROLS2
|
|
descText @MENUS0_CONFIGURE_GAME_CONTROLS
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 375 115 130 24
|
|
font 3
|
|
textscale 0.9
|
|
textaligny 0
|
|
textalign ITEM_ALIGN_CENTER
|
|
textstyle 3
|
|
textalignx 65
|
|
backcolor 0 0 0 0
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
|
|
mouseEnter
|
|
{
|
|
show controlsbutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide controlsbutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
close all ;
|
|
open ingameControlsMenu ;
|
|
}
|
|
}
|
|
|
|
// Big button "SETUP"
|
|
itemDef
|
|
{
|
|
name setupbutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 505 115 130 24
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef {
|
|
name setupbutton
|
|
group toprow
|
|
text @MENUS0_SETUP
|
|
descText @MENUS0_CONFIGURE_GAME_SETTINGS
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 505 115 130 24
|
|
font 3
|
|
textscale 0.9
|
|
textaligny 0
|
|
textalign ITEM_ALIGN_CENTER
|
|
textstyle 3
|
|
textalignx 65
|
|
backcolor 0 0 0 0
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseEnter
|
|
{
|
|
show setupbutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide setupbutton_glow
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name header_line
|
|
group toprow
|
|
style WINDOW_STYLE_SHADER
|
|
rect 125 136 500 4
|
|
background "gfx/menus/menu_line" // Frame
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// OTHER MAIN MENU BUTTONS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
// EXIT button in lower left corner
|
|
itemDef
|
|
{
|
|
name exitgamebutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 115 444 130 24
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name exitgamebutton
|
|
group othermain
|
|
text @MENUS0_EXIT
|
|
descText @MENUS1_JEDI_KNIGHT_II
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 115 444 130 24
|
|
font 3
|
|
textscale 1
|
|
textalign ITEM_ALIGN_CENTER
|
|
textstyle 3
|
|
textalignx 65
|
|
textaligny -1
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
|
|
mouseEnter
|
|
{
|
|
show exitgamebutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide exitgamebutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
close all ;
|
|
open ingamequitMenu
|
|
}
|
|
}
|
|
|
|
// RESUME button in the lower right corner
|
|
itemDef
|
|
{
|
|
name resumebutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 495 444 130 24
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name resume
|
|
group none
|
|
style WINDOW_STYLE_EMPTY
|
|
type ITEM_TYPE_BUTTON
|
|
rect 495 444 130 24
|
|
text @MENUS1_RESUME
|
|
descText @MENUS1_RESUME_CURRENT_GAME
|
|
font 3
|
|
textscale 1
|
|
textalign ITEM_ALIGN_CENTER
|
|
textstyle 3
|
|
textalignx 65
|
|
textaligny -1
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
|
|
mouseEnter
|
|
{
|
|
show resumebutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide resumebutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
uiScript closeingame // Close menu
|
|
}
|
|
}
|
|
|
|
// Expanded Menu Back Button
|
|
itemDef
|
|
{
|
|
name back_menu_button_hover
|
|
group highlights
|
|
rect 585 445 50 15
|
|
style WINDOW_STYLE_SHADER
|
|
textalign ITEM_ALIGN_RIGHT
|
|
background "gfx/menus/expanded_menu_buttonback"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name back_menu_button
|
|
group none
|
|
rect 585 445 50 15
|
|
text @MENUS0_BACK
|
|
descText @MENUS0_BACKUP_ONE_MENU
|
|
style WINDOW_STYLE_EMPTY
|
|
type ITEM_TYPE_BUTTON
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 49
|
|
textaligny 0
|
|
textscale 0.53
|
|
textstyle 3
|
|
font 3
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
|
|
hide highlights
|
|
|
|
close all
|
|
open ingameMainMenu
|
|
}
|
|
|
|
mouseEnter
|
|
{
|
|
show back_menu_button_hover
|
|
}
|
|
mouseExit
|
|
{
|
|
hide back_menu_button_hover
|
|
}
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// SECOND ROW MENU BUTTONS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
// Setup Options title
|
|
itemDef
|
|
{
|
|
name setup_title
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
background "gfx/menus/menu_blendbox"
|
|
text @MENUS2_SETUP_OPTIONS
|
|
rect 150 145 450 16
|
|
font 3
|
|
textscale 0.7
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 225
|
|
textaligny -2
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
itemDef
|
|
{
|
|
name setup_title
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
background "gfx/menus/expanded_menu_box"
|
|
text @MENUS2_SETUP_OPTIONS
|
|
rect 120 145 486 16
|
|
font 3
|
|
textscale 0.7
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 241
|
|
textaligny -1
|
|
forecolor 1 1 1 1
|
|
visible 1
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
|
|
|
|
// video1 button
|
|
itemDef
|
|
{
|
|
name video1button_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 173 170 30
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name video1menubutton
|
|
group none
|
|
text @MENUS1_VIDEO
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 120 173 170 30
|
|
font 3
|
|
textscale 0.9
|
|
textalignx 170
|
|
textaligny 5
|
|
textstyle 3
|
|
textalign ITEM_ALIGN_RIGHT
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
descText @MENUS0_CONFIGURE_VIDEO_SETTINGS
|
|
|
|
mouseEnter
|
|
{
|
|
show video1button_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide video1button_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
uiScript getvideosetup ; // Get video settings
|
|
|
|
show setup_background ;
|
|
show video ;
|
|
hide applyChanges ;
|
|
hide video2 ;
|
|
hide vidrestart ;
|
|
hide sound ;
|
|
hide options ;
|
|
hide difficulty ;
|
|
hide defaults ;
|
|
setitemcolor video1menubutton forecolor 1 1 1 1 ;
|
|
setitemcolor video2menubutton forecolor 0.65 0.65 1 1 ;
|
|
setitemcolor soundmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gameoptionmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor difficultymenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gamedefaultsmenubutton forecolor 0.65 0.65 1 1;
|
|
}
|
|
}
|
|
|
|
// video2 button
|
|
itemDef
|
|
{
|
|
name video2button_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 203 170 30
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name video2menubutton
|
|
group none
|
|
text @MENUS1_MORE_VIDEO
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 120 203 170 30
|
|
font 3
|
|
textscale 0.9
|
|
textalignx 170
|
|
textaligny 5
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textstyle 3
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
descText @MENUS0_CONFIGUE_MORE_VIDEO_SETTINGS
|
|
|
|
mouseEnter
|
|
{
|
|
show video2button_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide video2button_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
show setup_background ;
|
|
hide video ;
|
|
hide applyChanges ;
|
|
show video2 ;
|
|
hide vidrestart ;
|
|
hide sound ;
|
|
hide options ;
|
|
hide difficulty ;
|
|
hide defaults ;
|
|
setitemcolor video1menubutton forecolor 0.65 0.65 1 1 ;
|
|
setitemcolor video2menubutton forecolor 1 1 1 1 ;
|
|
setitemcolor soundmenubutton forecolor 0.65 0.65 1 1 ;
|
|
setitemcolor gameoptionmenubutton forecolor 0.65 0.65 1 1 ;
|
|
setitemcolor difficultymenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gamedefaultsmenubutton forecolor 0.65 0.65 1 1;
|
|
}
|
|
}
|
|
|
|
// sound button
|
|
itemDef
|
|
{
|
|
name soundbutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 233 170 30
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name soundmenubutton
|
|
group none
|
|
text @MENUS1_SOUND
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 120 233 170 30
|
|
font 3
|
|
textscale 0.9
|
|
textalignx 170
|
|
textaligny 5
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textstyle 3
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
descText @MENUS0_CONFIGURE_SOUND_SETTINGS
|
|
|
|
mouseEnter
|
|
{
|
|
show soundbutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide soundbutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
show setup_background ;
|
|
hide video ;
|
|
hide applyChanges ;
|
|
hide video2 ;
|
|
hide vidrestart ;
|
|
show sound ;
|
|
hide options ;
|
|
hide difficulty ;
|
|
hide defaults ;
|
|
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor video2menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor soundmenubutton forecolor 1 1 1 1 ;
|
|
setitemcolor gameoptionmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor difficultymenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gamedefaultsmenubutton forecolor 0.65 0.65 1 1;
|
|
}
|
|
}
|
|
|
|
// gameoptions button
|
|
itemDef
|
|
{
|
|
name gameoptionsbutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 263 170 30
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name gameoptionmenubutton
|
|
group none
|
|
text @MENUS1_GAME_OPTIONS
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 120 263 170 30
|
|
font 3
|
|
textscale 0.9
|
|
textalignx 170
|
|
textaligny 5
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textstyle 3
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
descText @MENUS0_CONFIGURE_GAME_OPTIONS
|
|
|
|
mouseEnter
|
|
{
|
|
show gameoptionsbutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide gameoptionsbutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
show setup_background ;
|
|
hide video ;
|
|
hide applyChanges ;
|
|
hide video2 ;
|
|
hide vidrestart ;
|
|
hide sound ;
|
|
show options ;
|
|
hide difficulty ;
|
|
hide defaults ;
|
|
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor video2menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor soundmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gameoptionmenubutton forecolor 1 1 1 1 ;
|
|
setitemcolor difficultymenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gamedefaultsmenubutton forecolor 0.65 0.65 1 1;
|
|
}
|
|
}
|
|
|
|
// difficulty button
|
|
itemDef
|
|
{
|
|
name difficultybutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 293 170 30
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name difficultymenubutton
|
|
group none
|
|
text @MENUS_VR_DIFFICULTY_SETUP_ITEM
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 120 293 170 30
|
|
font 3
|
|
textscale 0.9
|
|
textalignx 170
|
|
textaligny 5
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textstyle 3
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
descText @MENUS_VR_DIFFICULTY_SETUP_DESC
|
|
|
|
mouseEnter
|
|
{
|
|
show difficultybutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide difficultybutton_glow
|
|
}
|
|
action
|
|
{
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
show setup_background ;
|
|
hide video ;
|
|
hide applyChanges ;
|
|
hide video2 ;
|
|
hide vidrestart ;
|
|
hide sound ;
|
|
hide options ;
|
|
show difficulty ;
|
|
hide defaults ;
|
|
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor video2menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor soundmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gameoptionmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor difficultymenubutton forecolor 1 1 1 1 ;
|
|
setitemcolor gamedefaultsmenubutton forecolor 0.65 0.65 1 1;
|
|
}
|
|
}
|
|
|
|
|
|
// gamedefaults button
|
|
itemDef
|
|
{
|
|
name gamedefaultsbutton_glow
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 323 170 30
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name gamedefaultsmenubutton
|
|
group none
|
|
text @MENUS1_DEFAULTS
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 120 323 170 30
|
|
font 3
|
|
textscale 0.9
|
|
textalignx 170
|
|
textaligny 5
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textstyle 3
|
|
forecolor 0.65 0.65 1 1
|
|
visible 1
|
|
descText @MENUS0_RESTORE_DEFAULT_SETTINGS
|
|
|
|
mouseEnter
|
|
{
|
|
show gamedefaultsbutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide gamedefaultsbutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
|
|
defer VideoSetup videowarningMenu ;
|
|
|
|
show setup_background ;
|
|
hide video ;
|
|
hide applyChanges ;
|
|
hide video2 ;
|
|
hide vidrestart ;
|
|
hide sound ;
|
|
hide options ;
|
|
hide difficulty ;
|
|
show defaults ;
|
|
setitemcolor video1menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor video2menubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor soundmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gameoptionmenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor difficultymenubutton forecolor 0.65 0.65 1 1;
|
|
setitemcolor gamedefaultsmenubutton forecolor 1 1 1 1 ;
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name setup_background
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 300 171 300 250
|
|
background "gfx/menus/menu_box1" // Frame
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
hideCvar { 1 }
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name setup_background
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 300 166 306 250
|
|
background "gfx/menus/expanded_menu_box" // Frame
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
itemDef
|
|
{
|
|
name setup_background
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 166 175 250
|
|
background "gfx/menus/expanded_menu_box" // Frame
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest expanded_menu_enabled
|
|
showCvar { 1 }
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// HIGHLIGHT BARS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
itemDef
|
|
{
|
|
name highlight1
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 171 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight2
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 191 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight3
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 211 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight4
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 231 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight5
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 251 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight6
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 271 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight7
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 291 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight8
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 311 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight9
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 331 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight10
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 351 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight11
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 371 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name highlight12
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 391 300 20
|
|
background "gfx/menus/menu_blendbox"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// VIDEO 1 MENU BUTTONS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
itemDef
|
|
{
|
|
name refresh_rate
|
|
group video
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS_VR_REFRESH_RATE_ITEM
|
|
rect 305 191 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
cvarFloatList { "60" 60 "72" 72 "80" 80 "90" 90 }
|
|
descText @MENUS_VR_REFRESH_RATE_DESC
|
|
cvar "vr_refresh"
|
|
|
|
visible 0
|
|
|
|
mouseenter
|
|
{
|
|
show highlight2
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight2
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name geometric_detail
|
|
group video
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_GEOMETRIC_DETAIL
|
|
rect 305 211 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
cvarFloatList { @MENUS0_LOW 2 @MENUS0_MEDIUM 1 @MENUS0_HIGH 0 }
|
|
descText @MENUS1_ADJUST_THE_NUMBER_OF
|
|
cvar "ui_r_lodbias"
|
|
|
|
visible 0
|
|
|
|
mouseenter
|
|
{
|
|
show highlight3
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight3
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
uiScript glCustom ;
|
|
uiScript update "ui_r_lodbias" ;
|
|
setcvar ui_r_modified 1 ;
|
|
show applyChanges
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name texture_detail
|
|
group video
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_TEXTURE_DETAIL
|
|
rect 305 231 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
cvarFloatList { @MENUS0_LOW 3 @MENUS0_MEDIUM 2 @MENUS0_HIGH 1 @MENUS0_VERY_HIGH 0 }
|
|
descText @MENUS1_SELECT_THE_RESOLUTION
|
|
cvar "ui_r_picmip"
|
|
|
|
visible 0
|
|
|
|
mouseenter
|
|
{
|
|
show highlight4
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight4
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
uiScript glCustom ;
|
|
setcvar ui_r_modified 1 ;
|
|
show applyChanges
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name texture_filter
|
|
group video
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_TEXTURE_FILTER
|
|
rect 305 251 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
cvarStrList { @MENUS1_BILINEAR , "GL_LINEAR_MIPMAP_NEAREST" , @MENUS1_TRILINEAR , "GL_LINEAR_MIPMAP_LINEAR" }
|
|
descText @MENUS1_ADJUST_HOW_WELL_THE_TEXTURES
|
|
cvar "ui_r_texturemode"
|
|
|
|
visible 0
|
|
|
|
mouseenter
|
|
{
|
|
show highlight5
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight5
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
uiScript glCustom ;
|
|
setcvar ui_r_modified 1 ;
|
|
show applyChanges
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name simple_shaders
|
|
group video
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_DETAILED_SHADERS
|
|
rect 305 271 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
cvarFloatList { @MENUS0_OFF 0 @MENUS0_ON 1 }
|
|
descText @MENUS1_HIDE_OR_UNHIDE_TEXTURES
|
|
cvar "ui_r_detailtextures"
|
|
|
|
visible 0
|
|
|
|
mouseenter
|
|
{
|
|
show highlight6
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight6
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
uiScript glCustom ;
|
|
setcvar ui_r_modified 1 ;
|
|
show applyChanges
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name compress_textures
|
|
group video_obsolete
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_COMPRESSED_TEXTURES
|
|
rect 305 291 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
cvarFloatList { @MENUS0_OFF 0 @MENUS0_ON 1 }
|
|
descText @MENUS1_TAKE_ADVANTAGE_OF_3D
|
|
cvar "ui_r_ext_compress_textures"
|
|
|
|
visible 0
|
|
|
|
mouseenter
|
|
{
|
|
show highlight7
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight7
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
uiScript glCustom
|
|
setcvar ui_r_modified 1
|
|
show applyChanges
|
|
}
|
|
}
|
|
|
|
// APPLY CHANGES BUTTON
|
|
itemDef
|
|
{
|
|
name applybutton_glow
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 120 383 170 30
|
|
background "gfx/menus/menu_blendbox2" // Frame around button
|
|
forecolor 1 0.5 0.5 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name applyChanges
|
|
group none
|
|
text @MENUS0_APPLY_CHANGES
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 120 383 170 30
|
|
font 3
|
|
textscale 0.9
|
|
textalignx 170
|
|
textaligny 5
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textstyle 3
|
|
forecolor 1 0 0 1
|
|
backcolor 0 0 1 0
|
|
visible 0
|
|
|
|
mouseEnter
|
|
{
|
|
show applybutton_glow
|
|
}
|
|
mouseExit
|
|
{
|
|
hide applybutton_glow
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
show setup_background ;
|
|
show vidrestart ;
|
|
hide video ;
|
|
hide video2 ;
|
|
hide applybutton_glow ;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// VIDEO RESTART
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
// Faint red box
|
|
itemDef
|
|
{
|
|
name vidrestart_background
|
|
group vidrestart
|
|
style WINDOW_STYLE_SHADER
|
|
rect 304 168 300 247
|
|
background "gfx/menus/menu_boxred" // Frame
|
|
forecolor 1 1 1 0.5
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name vidrestart_text1
|
|
group vidrestart
|
|
text @MENUS3_INGAME_DEFAULT
|
|
text2 @MENUS3_INGAME_DEFAULT2
|
|
rect 305 230 290 20
|
|
textalign ITEM_ALIGN_CENTER
|
|
text2aligny 18
|
|
textalignx 145
|
|
font 2
|
|
textscale 1
|
|
forecolor 1 1 0 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name vidrestart_text2
|
|
group vidrestart
|
|
text @MENUS0_VID_RESTART3
|
|
rect 305 300 290 20
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 145
|
|
font 2
|
|
textscale 1
|
|
forecolor 1 1 0 1
|
|
visible 0
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
{
|
|
name vidrestart_yes_button
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 467 386 120 32
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
decoration
|
|
visible 0
|
|
// appearance_slot 4
|
|
}
|
|
|
|
// YES button
|
|
itemDef
|
|
{
|
|
name vidrestart_yes
|
|
group vidrestart
|
|
text @MENUS0_YES
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 467 386 120 32
|
|
font 2
|
|
textscale 1
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 60
|
|
textaligny 0
|
|
descText @MENUS0_APPLY_CHANGES_AND_THEN
|
|
forecolor 0.65 0.65 1 1
|
|
visible -1
|
|
// appearance_slot 5
|
|
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
close all ;
|
|
uiScript updatevideosetup ;
|
|
}
|
|
mouseEnter
|
|
{
|
|
show vidrestart_yes_button
|
|
}
|
|
mouseExit
|
|
{
|
|
hide vidrestart_yes_button
|
|
}
|
|
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name vidrestart_no_button
|
|
group none
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 386 120 32
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
decoration
|
|
visible 0
|
|
// appearance_slot 3
|
|
}
|
|
|
|
// CANCEL button
|
|
itemDef
|
|
{
|
|
name vidrestart_no
|
|
group vidrestart
|
|
text @MENUS0_NO
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 305 386 120 32
|
|
font 2
|
|
textscale 1
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 60
|
|
textaligny -1
|
|
descText @MENUS0_DO_NOT_APPLY_CHANGES
|
|
forecolor 0.65 0.65 1 1
|
|
visible 0
|
|
// appearance_slot 6
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
show setup_background ;
|
|
hide vidrestart ;
|
|
show video ;
|
|
hide video2 ;
|
|
show applyChanges ;
|
|
hide vidrestart_yes_button ;
|
|
hide vidrestart_no_button ;
|
|
}
|
|
mouseEnter
|
|
{
|
|
show vidrestart_no_button
|
|
}
|
|
mouseExit
|
|
{
|
|
hide vidrestart_no_button
|
|
}
|
|
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// VIDEO 2
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
itemDef
|
|
{
|
|
name gamma_text
|
|
group video2
|
|
style WINDOW_STYLE_SHADER
|
|
rect 310 171 280 36
|
|
background "gfx/menus/greyscale" // greyscale
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
// appearance_slot 1
|
|
}
|
|
|
|
|
|
|
|
itemDef
|
|
{
|
|
name bright_text
|
|
group video2
|
|
text @MENUS0_ADJUST_BRIGHTNESS_SLIDER
|
|
text2 @MENUS0_THE_NUMBER_6_CAN_BARELY
|
|
text2aligny 14
|
|
textalignx 128
|
|
font 2
|
|
textscale 0.8
|
|
rect 305 211 256 20
|
|
textalign ITEM_ALIGN_CENTER
|
|
forecolor 0.7 0.7 0.7 1
|
|
visible 0
|
|
// appearance_slot 2
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name brightness
|
|
group video2
|
|
type ITEM_TYPE_SLIDER
|
|
text @MENUS0_VIDEO_BRIGHTNESS
|
|
cvarfloat "r_gamma" 1.15 0.8 1.5
|
|
rect 305 251 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 3
|
|
descText @MENUS1_ADJUST_THE_BRIGHTNESS
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
setcvar ui_r_modified 1
|
|
show applyChanges
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight5
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight5
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name shadows
|
|
group video2
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS3_SHADOWS
|
|
descText @MENUS3_SHADOWS_DESC
|
|
cvar "cg_shadows"
|
|
cvarFloatList
|
|
{
|
|
@MENUS3_NONE 0
|
|
@MENUS0_LOW 1
|
|
@MENUS0_HIGH 3
|
|
}
|
|
rect 305 271 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
mouseenter
|
|
{
|
|
show highlight6
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight6
|
|
}
|
|
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name dynamic_light
|
|
group video2
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_DYNAMIC_LIGHTS
|
|
cvar "r_dynamiclight"
|
|
cvarFloatList { @MENUS0_OFF 0 @MENUS0_ON 1 }
|
|
rect 305 291 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS1_TOGGLE_TO_TURN_ON_MOVING
|
|
|
|
mouseenter
|
|
{
|
|
show highlight7
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight7
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name wall_marks
|
|
group video2
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_WALL_MARKS
|
|
cvar "cg_marks"
|
|
cvarFloatList { @MENUS0_OFF 0 @MENUS0_ON 1 }
|
|
rect 305 311 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS1_TOGGLE_TO_DISPLAY_SCORCH
|
|
|
|
mouseenter
|
|
{
|
|
show highlight8
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight8
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name video_mode
|
|
group video2
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_ANISOTROPIC_FILTERING
|
|
cvarTest r_ext_texture_filter_anisotropic_avail
|
|
hideCvar { 0 }
|
|
cvar r_ext_texture_filter_anisotropic
|
|
cvarFloatList { @MENUS0_OFF 0 @MENUS0_ON 1 }
|
|
rect 305 331 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 5
|
|
|
|
descText @MENUS1_TOGGLE_ADVANCED_TEXTURE
|
|
|
|
mouseenter
|
|
{
|
|
show highlight9
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight9
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name light_flares
|
|
group video2_obsolete
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_LIGHT_FLARES
|
|
cvar "r_flares"
|
|
cvarFloatList { @MENUS0_OFF 0 @MENUS0_ON 1 }
|
|
rect 305 351 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS1_TOGGLE_TO_SHOW_HALOS
|
|
|
|
mouseenter
|
|
{
|
|
show highlight10
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight10
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// SOUND FIELDS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
itemDef
|
|
{
|
|
name effects_volume
|
|
group sound
|
|
type ITEM_TYPE_SLIDER
|
|
text @MENUS0_EFFECTS_VOLUME
|
|
cvarfloat "s_volume" 0 0 1
|
|
rect 305 191 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS1_ADJUST_VOLUME_FOR_SOUND
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight2
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight2
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name music_volume
|
|
group sound
|
|
type ITEM_TYPE_SLIDER
|
|
text @MENUS0_MUSIC_VOLUME
|
|
cvarfloat "s_musicvolume" 0 0 1
|
|
rect 305 211 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 2
|
|
descText @MENUS1_ADJUST_VOLUME_FOR_MUSIC
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight3
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight3
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name voice_volume
|
|
group sound
|
|
type ITEM_TYPE_SLIDER
|
|
text @MENUS1_VOICE_VOLUME
|
|
cvarfloat "s_volumevoice" 0 0 1
|
|
rect 305 231 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 120
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 2
|
|
descText @MENUS2_ADJUST_VOLUME_FOR_SPEECH
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight4
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight4
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name sound_quality
|
|
group sound
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_SOUND_QUALITY
|
|
cvar "s_khz"
|
|
cvarFloatList { @MENUS0_LOW 11 @MENUS0_HIGH 22 }
|
|
rect 305 271 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 3
|
|
descText @MENUS2_TRADE_CLARITY_OF_SOUND
|
|
|
|
mouseenter
|
|
{
|
|
show highlight6
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight6
|
|
}
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
uiScript update s_khz
|
|
}
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// OPTION FIELDS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
itemDef
|
|
{
|
|
name crosshair_back
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 472 189 32 24
|
|
background "gfx/2d/iris_mono"
|
|
forecolor 1 1 1 0.8
|
|
visible 1
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
hideCvar { 0 }
|
|
}
|
|
itemDef
|
|
{
|
|
name draw_crosshair
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS_VR_WEAPON_CROSSHAIR_ITEM
|
|
cvar "cg_drawcrosshair"
|
|
cvarFloatList {
|
|
@MENUS0_OFF 0
|
|
" " 1
|
|
" " 2
|
|
" " 3
|
|
" " 4
|
|
" " 5
|
|
" " 6
|
|
" " 7
|
|
" " 8
|
|
" " 9
|
|
}
|
|
rect 305 191 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
descText @MENUS_VR_WEAPON_CROSSHAIR_DESC
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
}
|
|
mouseenter
|
|
{
|
|
show highlight2
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight2
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair1
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshairb"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 1 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair2
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshairc"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 2 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair3
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshaird"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 3 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair4
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshaire"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 4 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair5
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshairf"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 5 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair6
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshairg"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 6 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair7
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshairh"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 7 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair8
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshairi"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 8 }
|
|
}
|
|
itemDef
|
|
{
|
|
name crosshair9
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 192 24 18
|
|
background "gfx/2d/crosshaira"
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawcrosshair
|
|
showCvar { 9 }
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name force_crosshair_back
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 472 209 32 24
|
|
background "gfx/2d/iris_mono"
|
|
forecolor 1 1 1 0.8
|
|
visible 1
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
hideCvar { 0 }
|
|
}
|
|
itemDef
|
|
{
|
|
name draw_force_crosshair
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS_VR_FORCE_CROSSHAIR_ITEM
|
|
cvar "cg_drawCrosshairForce"
|
|
cvarFloatList {
|
|
@MENUS0_OFF 0
|
|
" " 1
|
|
" " 2
|
|
" " 3
|
|
" " 4
|
|
" " 5
|
|
" " 6
|
|
" " 7
|
|
" " 8
|
|
" " 9
|
|
}
|
|
rect 305 211 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
descText @MENUS_VR_FORCE_CROSSHAIR_DESC
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
}
|
|
mouseenter
|
|
{
|
|
show highlight3
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight3
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair1
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshairb"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 1 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair2
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshairc"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 2 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair3
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshaird"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 3 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair4
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshaire"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 4 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair5
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshairf"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 5 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair6
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshairg"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 6 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair7
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshairh"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 7 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair8
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshairi"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 8 }
|
|
}
|
|
itemDef
|
|
{
|
|
name force_crosshair9
|
|
group options
|
|
style WINDOW_STYLE_SHADER
|
|
rect 476 212 24 18
|
|
background "gfx/2d/crosshaira"
|
|
forecolor 0.6 0.6 1 1
|
|
visible 0
|
|
decoration
|
|
cvarTest cg_drawCrosshairForce
|
|
showCvar { 9 }
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name usablehint
|
|
group options
|
|
type ITEM_TYPE_YESNO
|
|
text @MENUS_VR_USABLE_OBJECT_HINT_ITEM
|
|
cvar "cg_usableObjectsHint"
|
|
rect 305 231 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
descText @MENUS_VR_USABLE_OBJECT_HINT_DESC
|
|
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
}
|
|
mouseenter
|
|
{
|
|
show highlight4
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight4
|
|
}
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name slowmo
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS2_SLOW_MOTION_DEATH
|
|
cvar "d_slowmodeath"
|
|
cvarFloatList
|
|
{
|
|
@MENUS2_NEVER 0
|
|
@MENUS2_ON_DEATH 1
|
|
@MENUS2_RARELY 2
|
|
@MENUS1_NORMAL 3
|
|
@MENUS2_OFTEN 4
|
|
@MENUS2_FREQUENTLY 5
|
|
@MENUS2_EXCESSIVELY 6
|
|
}
|
|
rect 305 251 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS2_SELECT_THE_FREQUENCY
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight5
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight5
|
|
}
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name dismemberment
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS2_DISMEMBERMENT
|
|
cvar "g_dismemberment"
|
|
cvarFloatList
|
|
{
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_DISABLED 0
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_MILD 1
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_BEARABLE 2
|
|
@MENUS_VR_MODEL_DISMEMBERMENT_UNSETTLING 3
|
|
}
|
|
cvarTest ui_iscensored
|
|
hideCvar { 1 }
|
|
rect 325 271 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS2_SELECT_WHAT_LIGHTSABER
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
mouseenter
|
|
{
|
|
show highlight6
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight6
|
|
}
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name dismemberment_probability
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS2_DISMEMBER_PROBABILITY
|
|
cvar "g_dismemberprobabilities"
|
|
cvarFloatList
|
|
{
|
|
@MENUS2_RARE 30
|
|
@MENUS_VR_DISMEMBERMENT_PROBABILITY_OFTEN 50
|
|
@MENUS_VR_DISMEMBERMENT_PROBABILITY_ALWAYS 100
|
|
}
|
|
cvarTest ui_iscensored
|
|
hideCvar { 1 }
|
|
rect 325 291 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS2_SELECT_FREQUENCY_OF_DISMEMBERMENT
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
mouseenter
|
|
{
|
|
show highlight7
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight7
|
|
}
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name text
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS0_TEXT
|
|
cvar "sp_language"
|
|
cvarFloatList
|
|
{
|
|
"English" 0
|
|
"Francais" 1
|
|
"Deutsch" 2
|
|
"Español" 7
|
|
}
|
|
rect 305 351 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS2_CHOOSE_THE_LANGUAGE_FOR
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight10
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight10
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name voice
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS1_VOICE
|
|
cvar "s_language"
|
|
cvarStrList
|
|
{
|
|
"English", "english"
|
|
"Francais" "francais"
|
|
"Deutsch" "deutsch"
|
|
"Español" "espanol"
|
|
}
|
|
rect 305 371 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS3_CHOOSE_THE_LANGUAGE_TO
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight11
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight11
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name voice
|
|
group options
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS1_SUBTITLES
|
|
cvar "g_subtitles"
|
|
cvarFloatList
|
|
{
|
|
@MENUS3_NONE 0
|
|
@MENUS3_IN_CINEMATICS 2
|
|
// @MENUS3_ALL_VOICEOVERS 1
|
|
}
|
|
rect 305 391 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS3_TOGGLE_WHETHER_SUBTITLES
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight12
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight12
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// This menu option is no longer used.
|
|
itemDef
|
|
{
|
|
name sync_frame
|
|
group options_obsolete
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS1_SYNC_EVERY_FRAME
|
|
cvar "r_finish"
|
|
cvarFloatList { @MENUS0_OFF 0 @MENUS0_ON 1 }
|
|
rect 305 211 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 165
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS3_TOGGLE_TO_PREVENT_VIDEO
|
|
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav"
|
|
}
|
|
mouseenter
|
|
{
|
|
show highlight3
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight3
|
|
}
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// DIFFICULTY FIELDS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
itemDef
|
|
|
|
{
|
|
name none
|
|
group difficulty
|
|
type ITEM_TYPE_TEXT
|
|
style WINDOW_STYLE_EMPTY
|
|
text @MENUS_VR_DIRECTORS_CUT_ITEM
|
|
rect 315 191 300 20
|
|
textalign ITEM_ALIGN_LEFT
|
|
textalignx 0
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name none
|
|
group difficulty
|
|
type ITEM_TYPE_MULTI
|
|
text " "
|
|
cvar "g_TeamBeefDirectorsCut"
|
|
cvarFloatList
|
|
{
|
|
@MENUS_VR_TBDC_BUMMSER 0
|
|
@MENUS_VR_TBDC_BAGGYG 1
|
|
@MENUS_VR_TBDC_VANILLA 2
|
|
}
|
|
rect 315 211 300 20
|
|
textalign ITEM_ALIGN_LEFT
|
|
textalignx 0
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 2
|
|
descText @MENUS_VR_DIRECTORS_CUT_DESC
|
|
action
|
|
{
|
|
play sound/interface/button1
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight3
|
|
}
|
|
|
|
mouseexit
|
|
{
|
|
hide highlight3
|
|
}
|
|
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name none
|
|
group difficulty
|
|
type ITEM_TYPE_YESNO
|
|
text @MENUS_VR_LASER_AUTODEFLECTING_ITEM
|
|
cvar "g_saberAutoDeflect1stPerson"
|
|
rect 315 251 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 151
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 2
|
|
descText @MENUS_VR_LASER_AUTODEFLECTING_DESC
|
|
action
|
|
{
|
|
play sound/interface/button1
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight5
|
|
}
|
|
|
|
mouseexit
|
|
{
|
|
hide highlight5
|
|
}
|
|
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name none
|
|
group difficulty
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS_VR_SABER_REALISM_ITEM
|
|
cvar "g_saberRealisticCombat"
|
|
cvarFloatList
|
|
{
|
|
@MENUS_VR_SABER_REALISM_DEFAULT 0
|
|
@MENUS_VR_SABER_REALISM_INCREASED 1
|
|
@MENUS_VR_SABER_REALISM_CRITICAL 2
|
|
@MENUS_VR_SABER_REALISM_INSTANT 3
|
|
}
|
|
rect 315 271 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 151
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS_VR_SABER_REALISM_DESC
|
|
action
|
|
{
|
|
play sound/interface/button1
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight6
|
|
}
|
|
|
|
mouseexit
|
|
{
|
|
hide highlight6
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name none
|
|
group difficulty
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS_VR_FENCING_SPEED_ITEM
|
|
cvar "g_saberAnimSpeed"
|
|
cvarFloatList
|
|
{
|
|
@MENUS_VR_FENCING_SPEED_SLOWER 1.0
|
|
@MENUS_VR_FENCING_SPEED_DEFAULT 1.2
|
|
@MENUS_VR_FENCING_SPEED_FASTER 1.3
|
|
}
|
|
rect 315 291 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 151
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS_VR_FENCING_SPEED_DESC
|
|
action
|
|
{
|
|
play sound/interface/button1
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight7
|
|
}
|
|
|
|
mouseexit
|
|
{
|
|
hide highlight7
|
|
}
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name none
|
|
group difficulty
|
|
type ITEM_TYPE_MULTI
|
|
text @MENUS_VR_GAME_DIFFICULTY_ITEM
|
|
cvar "g_spskill"
|
|
cvarFloatList
|
|
{
|
|
@MENUS1_APPRENTICE 0
|
|
@MENUS1_JEDI 1
|
|
@MENUS2_JEDI_KNIGHT 2
|
|
@MENUS1_JEDI_MASTER 3
|
|
}
|
|
rect 315 331 300 20
|
|
textalign ITEM_ALIGN_RIGHT
|
|
textalignx 151
|
|
textaligny -2
|
|
font 2
|
|
textscale 0.8
|
|
forecolor 1 1 1 1
|
|
visible 0
|
|
// appearance_slot 1
|
|
descText @MENUS_VR_GAME_DIFFICULTY_DESC
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
}
|
|
|
|
mouseenter
|
|
{
|
|
show highlight9
|
|
}
|
|
mouseexit
|
|
{
|
|
hide highlight9
|
|
}
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------------------------
|
|
//
|
|
// RESET DEFAULTS
|
|
//
|
|
//----------------------------------------------------------------------------------------------
|
|
// Faint red box
|
|
itemDef
|
|
{
|
|
name vidrestart_background
|
|
group defaults
|
|
style WINDOW_STYLE_SHADER
|
|
rect 304 168 300 247
|
|
background "gfx/menus/menu_boxred" // Frame
|
|
forecolor 1 1 1 0.5
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name options
|
|
group defaults
|
|
text @MENUS0_WARNING
|
|
rect 305 191 300 20
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 150
|
|
font 2
|
|
textscale 1
|
|
forecolor 1 1 0 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name options
|
|
group defaults
|
|
text @MENUS3_INGAME_DEFAULT
|
|
text2 @MENUS3_INGAME_DEFAULT2
|
|
rect 305 231 300 20
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 150
|
|
text2aligny 20
|
|
font 2
|
|
textscale 1
|
|
forecolor 1 1 0 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name options
|
|
group defaults
|
|
text @MENUS0_VID_RESTART3
|
|
rect 305 291 300 20
|
|
textalign ITEM_ALIGN_CENTER
|
|
textalignx 150
|
|
font 2
|
|
textscale 1
|
|
forecolor 1 1 0 1
|
|
visible 0
|
|
decoration
|
|
}
|
|
|
|
|
|
itemDef
|
|
{
|
|
name default_yes_button
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 467 386 120 32
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
decoration
|
|
visible 0
|
|
// appearance_slot 4
|
|
}
|
|
|
|
// YES button - lose reset defaults
|
|
itemDef
|
|
{
|
|
name default_yes
|
|
group defaults
|
|
text @MENUS0_YES
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 467 386 120 32
|
|
font 2
|
|
textscale 1
|
|
textalign ITEM_ALIGN_CENTER
|
|
textstyle 3
|
|
textalignx 60
|
|
textaligny 0
|
|
descText @MENUS1_RESET_DEFAULT_VALUES
|
|
forecolor 0.65 0.65 1 1
|
|
visible 0
|
|
// appearance_slot 5
|
|
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
hide highlights ;
|
|
close all ;
|
|
uiscript resetdefaults
|
|
}
|
|
mouseEnter
|
|
{
|
|
show default_yes_button
|
|
}
|
|
mouseExit
|
|
{
|
|
hide default_yes_button
|
|
}
|
|
|
|
}
|
|
|
|
itemDef
|
|
{
|
|
name default_no_button
|
|
group highlights
|
|
style WINDOW_STYLE_SHADER
|
|
rect 305 386 120 32
|
|
background "gfx/menus/menu_buttonback" // Frame around button
|
|
forecolor 1 1 1 1
|
|
decoration
|
|
visible 0
|
|
// appearance_slot 3
|
|
}
|
|
|
|
// NO button - return to Main Menu
|
|
itemDef
|
|
{
|
|
name default_no
|
|
group defaults
|
|
text @MENUS0_NO
|
|
type ITEM_TYPE_BUTTON
|
|
style WINDOW_STYLE_EMPTY
|
|
rect 305 386 120 32
|
|
font 2
|
|
textscale 1
|
|
textalign ITEM_ALIGN_CENTER
|
|
textstyle 3
|
|
textalignx 60
|
|
textaligny 0
|
|
descText @MENUS1_NOT_RESET_DEFAULT_VALUES
|
|
forecolor 0.65 0.65 1 1
|
|
visible 0
|
|
// appearance_slot 6
|
|
action
|
|
{
|
|
play "sound/interface/button1.wav" ;
|
|
hide highlights ;
|
|
close all ;
|
|
open ingameMainMenu ;
|
|
}
|
|
mouseEnter
|
|
{
|
|
show default_no_button
|
|
}
|
|
mouseExit
|
|
{
|
|
hide default_no_button
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|