6th Venom@Posted: Tue Mar 04, 2008 11:02 am :
Hi everybody!
I officially anounce the "6th venom HQ mainmenu" aka "2008' mainmenu update" for D3 1.3.1.

First of all, screenshots (D3 v1.00):
Image Image Image
Image Image Image

Second, at the moment i only got English and French traductions of my own strings, so i'm searching for BETA testers that must traduce strings into other languages like Dutch, Italian, Spanish, Russian, etc...

Technically, it's "only" a PK4, not a mod, no dll here, just assets, so you just need to put it in your base folder to have this HQ menu.

HQ because you must admit the vanilla D3 mainmenu look like "old", even in ultra quality you got dirty fonts, washed mars textures etc.

Here you got REAL HQ fonts, i redid Mars using real maps, you can choose your start map in new game, launch a custom one, see the mp player rotating while you choose your skin, much more options, and more.

I finished the Vanilla and ROE versions (with all the changes like a slightly different main screen, SP maps choose, MP colors, etc) plus i'm actually working on a "special" Denton Mod version, and new D3 music themes for each one.

So to finish, if you think you're really able to traduce about 40 strings in one of language other than En & Fr, and you want to be a Beta tester, put your hand up please! ;)
Don't know the release date cause i need some more languages...

Any comments are welcome,

Greg "6th Venom".

________________________________________________________________________________________________________________

Edit (18/03/2008)

I finally uploaded the Doom 3 version, here come links:
D3files: http://doom3.filefront.com/file/6th_Ven ... menu;87981
ModDB: http://www.moddb.com/games/33/doom-iii/ ... q-mainmenu

Enjoy!

________________________________________________________________________________________________________________

Edit (21/03/2008)

RoE v1.00b screenshots:
Image Image Image

IconLibrary included in the Pk4:
Image

here come a first link to the RoE 1.00b version:
http://www.moddb.com/games/33/doom-iii/ ... nmenu-100b

________________________________________________________________________________________________________________

Edit (22/03/2008)

link to the Doom 3 1.00b version:
http://doom3.filefront.com/file/6th_Ven ... menu;88226

2nd link to the RoE 1.00b version:
http://doom3.filefront.com/file/6th_Ven ... _ROE;88227

Cheers!



rich_is_bored@Posted: Tue Mar 04, 2008 12:18 pm :
I wouldn't mind seeing it firsthand but otherwise it looks pretty good.



Douglas Quaid@Posted: Tue Mar 04, 2008 12:43 pm :
looks cool, keep it up. I love the new game screen. It looks very fresh and professional. If your looking to upgrade the soundscape for the menu I can help but so far this looks tip top :D



simulation@Posted: Tue Mar 04, 2008 1:11 pm :
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good.


Me too. This looks very impressive. I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...

http://www.the-emz.com/download/Movie_MD5.wmv

...a very old vid but I've made a new one in many months as I've been bust with other things.

Sim



Douglas Quaid@Posted: Tue Mar 04, 2008 1:22 pm :
Sim you always cease to amaze me :D



simulation@Posted: Tue Mar 04, 2008 1:28 pm :
Douglas Quaid wrote:
Sim you always cease to amaze me :D


lol



6th Venom@Posted: Tue Mar 04, 2008 1:34 pm :
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good

Shame on me cause i don't understand this one... what mean "wouldn't mind seeing it firsthand" please? :oops:

simulation wrote:
I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...


I had seen this one in the old post when i was searching how to render an animated MD5mesh. :wink:
My version not allow to dynamicly change its color with each RGB value :( , but i got a nice rotating scene too! :)



simulation@Posted: Tue Mar 04, 2008 1:40 pm :
6th Venom wrote:
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good

Shame on me cause i don't understand this one... what mean "wouldn't mind seeing it firsthand" please? :oops:


We mean use the PK4s outselves instead of looking at screenshots.

6th Venom wrote:
simulation wrote:
I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...


I had seen this one in the old post when i was searching how to render an animated MD5mesh. :wink:
My version not allow to dynamicly change its color with each RGB value :( , but i got a nice rotating scene too! :)


Good job! Like I said, very impressive.



6th Venom@Posted: Tue Mar 04, 2008 2:25 pm :
simulation wrote:
We mean use the PK4s outselves instead of looking at screenshots.

Oh! thooooo! ...thanks.
Come on guys, don't be affraid to offer less than 30 minutes of translation to me, you'll be able to "use PK4s yourselves instead of looking at screenshots"! :lol:


A more serious point, a friend tested it with Doom3 1.0 and it looks like this one don't care about other strings than the vanilla ones, any infos about that?
(I redid the test with a clean 1.3.1 and all is ok.)



Argoon@Posted: Tue Mar 04, 2008 4:07 pm :
I can translate to Portuguese (Portugal). just PM me with the files and a description of what i need to translate.



Douglas Quaid@Posted: Tue Mar 04, 2008 5:44 pm :
I'll translate it to Irish!



6th Venom@Posted: Tue Mar 04, 2008 9:33 pm :
Argoon wrote:
I can translate to Portuguese (Portugal).

Douglas Quaid wrote:
I'll translate it to Irish!


Many thanks, i didn't knew this two ones were possible, sadly my game don't allow these languages...
My Sys_lang can only be English, German, French, Spanish, Italian, Russian, Polish, Korean, Japanese and Chinese.

Are yours different? I didn't heard about one or more Koreans, Japaneses or Chineses players here at D3W, so i don't plan to release those translations, the acceptable minimum would be:
English (done), French (done), Dutch(almost done). (without any disrespect to others languages)
Adding Spanish and Italian would be better, but if there are no translators, i'll not risk to do it by an internet site.

:idea: I think i'll do a very well commented english strings file , to allow each one to make its own translation if you really want it.

How many players here play with anything else than English, Dutch or French?

Edit: I'd need the 1.3.1 updated languages files in other languages than French and English, the only two ones that i got by the 1.3.1 installer.
(just in case somebody use my ingame "change language" option, to not look at some #str_****** everywhere in the menu)



Ivan_the_B@Posted: Tue Mar 04, 2008 9:53 pm :
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english :mrgreen:

Anyway I'm italian... :lol:



6th Venom@Posted: Tue Mar 04, 2008 10:02 pm :
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?

Maybe not but...
Ivan_the_B wrote:
I think that if someone is able to download and install a mod, he can understand a menu written in english :mrgreen:

...does this player will play all the game in english just to see my menu?
Ivan_the_B wrote:
Anyway I'm italian... :lol:

...that's why america need you! ...or rather I DO! :wink:
Image
By The36venom



Ivan_the_B@Posted: Tue Mar 04, 2008 10:19 pm :
Lol I'll help you.
But anyone could play the game in his own language and use the menu in english if you include only that.

Edit: I mean... just write directly in the "text" fields of the gui and it'll be always the same whatever language is selected.



6th Venom@Posted: Tue Mar 04, 2008 10:39 pm :
Yes, but since i didn't planned it like that, i used a combination of vanilla D3 and customs strings, so will i allow a screen to show some infos in your language and some in english at the same time on the screen? will it look professionnal or "high quality" assets?!? no... i can't, it's against my religion... :D

On a side note, i put an Icons library (DLL) into the PK4 as a sort of bonus, i use this one with all the Doom3 specific extensions like mtr, def, script, pk4, etc... will be usefull for some of you maybe.
Image
By The36venom


:roll: now time to acknowledge that i'm currently fighting with a strange (new) bug that randomly don't fade out the very first screen to the ROQ intro, but everything run okay after the intro.
This problem is really new, since i reworked/optimize some Gui transitions, i'm checking what's wrong at the moment... so i just sent my (commented) "english_venom_menu.lang" to Ivan_the_B (Italian job :D ), Douglas Quaid (Irish) and Argoon (Portuguese)...

Be sure that i really thank you guys, and i'll send you a link to the 30mb PK4 file as soon as i solve it! Be carrefull, it will autodestruct after 5 minutes and erase your Hard drives, that's a common bug.



Douglas Quaid@Posted: Tue Mar 04, 2008 11:59 pm :
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english

I don't know how to download and install a mod. With these new language advancements it will feel like christmas day and santa has delivered a glorious stack of top gifts and prizes :D



Ivan_the_B@Posted: Wed Mar 05, 2008 12:25 am :
Douglas Quaid wrote:
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english

I don't know how to download and install a mod. With these new language advancements it will feel like christmas day and santa has delivered a glorious stack of top gifts and prizes :D

lol :wink::lol:



6th Venom@Posted: Wed Mar 05, 2008 1:54 pm :
Damn, it looks like i made severals errors i my previous posts...
First, the worst, i didn't understood the joke about Irish... :oops::roll: ...then i told about "Dutch" standing for German/Deutsch, i'm so a noob! i apologize to all Germans! :wink:

Back on topic, i removed the little transition bug, so i'm just waitting for some more translations. When i'll receive the German's and the Italian's one, i'll pack these and contact d3files for hosting.
Waiting too long for hypothetics traductors is not a good thing, so i'll copying and renaming the English strings' file to all missing languages for a first release. (as Ivan_the_B suggested.)

I share you the ROE main screen version...
Image
...and apologize for the wait time.



Douglas Quaid@Posted: Wed Mar 05, 2008 4:58 pm :
6th Venom wrote:
i didn't understood the joke about Irish... :oops:

What joke?



reckless@Posted: Wed Oct 24, 2012 10:58 pm :
pretty much aye :) just remember to remove sikkmods mainmenu.gui file.

theres also a few other things to do that i forgot to post ill see if i can dig up the changes nessesary.



reckless@Posted: Thu Nov 29, 2012 3:13 am :
Btw confirmed the skill setting is not working :( no matter what you select g_skill defaults to 0. Can check it by entering g_skill in the console it will allways return 0 with venoms hd menu. For now untill someone can look into fixing this set g_skill via the console 3 is nightmare.



6th Venom@Posted: Tue Mar 04, 2008 11:02 am :
Hi everybody!
I officially anounce the "6th venom HQ mainmenu" aka "2008' mainmenu update" for D3 1.3.1.

First of all, screenshots (D3 v1.00):
Image Image Image
Image Image Image

Second, at the moment i only got English and French traductions of my own strings, so i'm searching for BETA testers that must traduce strings into other languages like Dutch, Italian, Spanish, Russian, etc...

Technically, it's "only" a PK4, not a mod, no dll here, just assets, so you just need to put it in your base folder to have this HQ menu.

HQ because you must admit the vanilla D3 mainmenu look like "old", even in ultra quality you got dirty fonts, washed mars textures etc.

Here you got REAL HQ fonts, i redid Mars using real maps, you can choose your start map in new game, launch a custom one, see the mp player rotating while you choose your skin, much more options, and more.

I finished the Vanilla and ROE versions (with all the changes like a slightly different main screen, SP maps choose, MP colors, etc) plus i'm actually working on a "special" Denton Mod version, and new D3 music themes for each one.

So to finish, if you think you're really able to traduce about 40 strings in one of language other than En & Fr, and you want to be a Beta tester, put your hand up please! ;)
Don't know the release date cause i need some more languages...

Any comments are welcome,

Greg "6th Venom".

________________________________________________________________________________________________________________

Edit (18/03/2008)

I finally uploaded the Doom 3 version, here come links:
D3files: http://doom3.filefront.com/file/6th_Ven ... menu;87981
ModDB: http://www.moddb.com/games/33/doom-iii/ ... q-mainmenu

Enjoy!

________________________________________________________________________________________________________________

Edit (21/03/2008)

RoE v1.00b screenshots:
Image Image Image

IconLibrary included in the Pk4:
Image

here come a first link to the RoE 1.00b version:
http://www.moddb.com/games/33/doom-iii/ ... nmenu-100b

________________________________________________________________________________________________________________

Edit (22/03/2008)

link to the Doom 3 1.00b version:
http://doom3.filefront.com/file/6th_Ven ... menu;88226

2nd link to the RoE 1.00b version:
http://doom3.filefront.com/file/6th_Ven ... _ROE;88227

Cheers!



rich_is_bored@Posted: Tue Mar 04, 2008 12:18 pm :
I wouldn't mind seeing it firsthand but otherwise it looks pretty good.



Douglas Quaid@Posted: Tue Mar 04, 2008 12:43 pm :
looks cool, keep it up. I love the new game screen. It looks very fresh and professional. If your looking to upgrade the soundscape for the menu I can help but so far this looks tip top :D



simulation@Posted: Tue Mar 04, 2008 1:11 pm :
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good.


Me too. This looks very impressive. I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...

http://www.the-emz.com/download/Movie_MD5.wmv

...a very old vid but I've made a new one in many months as I've been bust with other things.

Sim



Douglas Quaid@Posted: Tue Mar 04, 2008 1:22 pm :
Sim you always cease to amaze me :D



simulation@Posted: Tue Mar 04, 2008 1:28 pm :
Douglas Quaid wrote:
Sim you always cease to amaze me :D


lol



6th Venom@Posted: Tue Mar 04, 2008 1:34 pm :
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good

Shame on me cause i don't understand this one... what mean "wouldn't mind seeing it firsthand" please? :oops:

simulation wrote:
I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...


I had seen this one in the old post when i was searching how to render an animated MD5mesh. :wink:
My version not allow to dynamicly change its color with each RGB value :( , but i got a nice rotating scene too! :)



simulation@Posted: Tue Mar 04, 2008 1:40 pm :
6th Venom wrote:
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good

Shame on me cause i don't understand this one... what mean "wouldn't mind seeing it firsthand" please? :oops:


We mean use the PK4s outselves instead of looking at screenshots.

6th Venom wrote:
simulation wrote:
I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...


I had seen this one in the old post when i was searching how to render an animated MD5mesh. :wink:
My version not allow to dynamicly change its color with each RGB value :( , but i got a nice rotating scene too! :)


Good job! Like I said, very impressive.



6th Venom@Posted: Tue Mar 04, 2008 2:25 pm :
simulation wrote:
We mean use the PK4s outselves instead of looking at screenshots.

Oh! thooooo! ...thanks.
Come on guys, don't be affraid to offer less than 30 minutes of translation to me, you'll be able to "use PK4s yourselves instead of looking at screenshots"! :lol:


A more serious point, a friend tested it with Doom3 1.0 and it looks like this one don't care about other strings than the vanilla ones, any infos about that?
(I redid the test with a clean 1.3.1 and all is ok.)



Argoon@Posted: Tue Mar 04, 2008 4:07 pm :
I can translate to Portuguese (Portugal). just PM me with the files and a description of what i need to translate.



Douglas Quaid@Posted: Tue Mar 04, 2008 5:44 pm :
I'll translate it to Irish!



6th Venom@Posted: Tue Mar 04, 2008 9:33 pm :
Argoon wrote:
I can translate to Portuguese (Portugal).

Douglas Quaid wrote:
I'll translate it to Irish!


Many thanks, i didn't knew this two ones were possible, sadly my game don't allow these languages...
My Sys_lang can only be English, German, French, Spanish, Italian, Russian, Polish, Korean, Japanese and Chinese.

Are yours different? I didn't heard about one or more Koreans, Japaneses or Chineses players here at D3W, so i don't plan to release those translations, the acceptable minimum would be:
English (done), French (done), Dutch(almost done). (without any disrespect to others languages)
Adding Spanish and Italian would be better, but if there are no translators, i'll not risk to do it by an internet site.

:idea: I think i'll do a very well commented english strings file , to allow each one to make its own translation if you really want it.

How many players here play with anything else than English, Dutch or French?

Edit: I'd need the 1.3.1 updated languages files in other languages than French and English, the only two ones that i got by the 1.3.1 installer.
(just in case somebody use my ingame "change language" option, to not look at some #str_****** everywhere in the menu)



Ivan_the_B@Posted: Tue Mar 04, 2008 9:53 pm :
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english :mrgreen:

Anyway I'm italian... :lol:



6th Venom@Posted: Tue Mar 04, 2008 10:02 pm :
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?

Maybe not but...
Ivan_the_B wrote:
I think that if someone is able to download and install a mod, he can understand a menu written in english :mrgreen:

...does this player will play all the game in english just to see my menu?
Ivan_the_B wrote:
Anyway I'm italian... :lol:

...that's why america need you! ...or rather I DO! :wink:
Image
By The36venom



Ivan_the_B@Posted: Tue Mar 04, 2008 10:19 pm :
Lol I'll help you.
But anyone could play the game in his own language and use the menu in english if you include only that.

Edit: I mean... just write directly in the "text" fields of the gui and it'll be always the same whatever language is selected.



6th Venom@Posted: Tue Mar 04, 2008 10:39 pm :
Yes, but since i didn't planned it like that, i used a combination of vanilla D3 and customs strings, so will i allow a screen to show some infos in your language and some in english at the same time on the screen? will it look professionnal or "high quality" assets?!? no... i can't, it's against my religion... :D

On a side note, i put an Icons library (DLL) into the PK4 as a sort of bonus, i use this one with all the Doom3 specific extensions like mtr, def, script, pk4, etc... will be usefull for some of you maybe.
Image
By The36venom


:roll: now time to acknowledge that i'm currently fighting with a strange (new) bug that randomly don't fade out the very first screen to the ROQ intro, but everything run okay after the intro.
This problem is really new, since i reworked/optimize some Gui transitions, i'm checking what's wrong at the moment... so i just sent my (commented) "english_venom_menu.lang" to Ivan_the_B (Italian job :D ), Douglas Quaid (Irish) and Argoon (Portuguese)...

Be sure that i really thank you guys, and i'll send you a link to the 30mb PK4 file as soon as i solve it! Be carrefull, it will autodestruct after 5 minutes and erase your Hard drives, that's a common bug.



Douglas Quaid@Posted: Tue Mar 04, 2008 11:59 pm :
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english

I don't know how to download and install a mod. With these new language advancements it will feel like christmas day and santa has delivered a glorious stack of top gifts and prizes :D



Ivan_the_B@Posted: Wed Mar 05, 2008 12:25 am :
Douglas Quaid wrote:
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english

I don't know how to download and install a mod. With these new language advancements it will feel like christmas day and santa has delivered a glorious stack of top gifts and prizes :D

lol :wink::lol:



6th Venom@Posted: Wed Mar 05, 2008 1:54 pm :
Damn, it looks like i made severals errors i my previous posts...
First, the worst, i didn't understood the joke about Irish... :oops::roll: ...then i told about "Dutch" standing for German/Deutsch, i'm so a noob! i apologize to all Germans! :wink:

Back on topic, i removed the little transition bug, so i'm just waitting for some more translations. When i'll receive the German's and the Italian's one, i'll pack these and contact d3files for hosting.
Waiting too long for hypothetics traductors is not a good thing, so i'll copying and renaming the English strings' file to all missing languages for a first release. (as Ivan_the_B suggested.)

I share you the ROE main screen version...
Image
...and apologize for the wait time.



Douglas Quaid@Posted: Wed Mar 05, 2008 4:58 pm :
6th Venom wrote:
i didn't understood the joke about Irish... :oops:

What joke?



TRSGM@Posted: Wed Mar 05, 2008 6:56 pm :
First post here, I've been haunting the various sub-zones on the forum for my ongoing project-- but more on that later.

My two cents:
- Looks kickass. My only gripe is the edge 'fringe' on some of the panels-- that looks kind of odd and I honestly think the flat/straight borders look better. The background textures, etc. look great, though.

Also: Would you mind if I packaged this in DentonMod Revision 3? I've been trying to bring a lot of Doom 3 up to modern standards and the main menu always did kind of bother me. I have a teaser up on D3Files in the PotD for today, and a list of what I've done in the comments.

And incidentally, could I recruit you to fix up the Doom 3 Alpha HUD and make a few changes? I can work magic with C++ but I lack a lot of finesse with the GUI system and am not the greatest at UI texturing. I'd like to adapt it to be more in the style of Halo 3/Metroid Prime in the sense that it looks like it's being projected on the inside of a helmet or something. Another in-the-works gameplay thing.

EDIT: Cool, I didn't see you're making a DentonMod-specific version. Awesome sauce, I'll just use that one.

Also, I was going to mention que je parle francais assez bien, mais j'ai vu que vous avez une traduction déjà.



Tetzlaff@Posted: Wed Mar 05, 2008 11:57 pm :
Nice project, looks neat!

I can do the translations into German, if you want.



6th Venom@Posted: Thu Mar 06, 2008 2:33 am :
If my friend run into translation problems, i'll pm you tomorrow about this Tetslaff, many thanks. :D

Edit: It's late in the night, so i'll pm you tomorrow too about your idea TRSGM!



TRSGM@Posted: Thu Mar 06, 2008 4:29 am :
Cool, good to hear!

It may be a little while 'till I can get back to you tomorrow-- while we have been undergoing some rather belligerent (for lack of a better word) weather as of late over here, (I got the day off from school today) no guarantees about availability tomorrow until circa 3pm EST. PM me or whatever you see fit and I'll get back to ya whenever I can.

FYI to all, I have a thread in this subforum for DentonMod revision 3 set up in the event anyone wants some info ;)
[/hijack]
[/shamelessplug]



6th Venom@Posted: Tue Mar 11, 2008 9:19 pm :
Just to let you know that the Beta test 2 is actually in progress.

Everything seams to be okay, but i "only" got English, German, French and Italian translations. (other languages will have some english words rather than nothing.)
So when i'll got each beta tester's Green light i'll upload the PK4 (1 for D3 and 1 for ROE) at Doom3files & ModDB (if you know another one, let me know).

:D



6th Venom@Posted: Tue Mar 18, 2008 9:29 am :
Hi guys,
I finally uploaded the Doom 3 version, here come links:
D3files: http://doom3.filefront.com/file/6th_Ven ... menu;87981
ModDB: http://www.moddb.com/games/33/doom-iii/ ... q-mainmenu

Enjoy!

Edit: Not mentionned anywhere (shame i forgot...) but the mod is only availlable in English, French, German and Italian.



simulation@Posted: Tue Mar 18, 2008 12:06 pm :
Very, very, very nice!

I love the ROQ/MD5MESH combination for the rotating player set up.

How did you re-create the font files? I've been looking for something cleaner to use myself - these look great!

Would it be ok for me to use some aspects of your work in the next update to EMZ? I'm thinking primarily of the fonts but there are some parts of the GUI design that I may be able to use (visual design is NOT one of my strong points).

Sim



simulation@Posted: Tue Mar 18, 2008 1:47 pm :
simulation wrote:
How did you re-create the font files? I've been looking for something cleaner to use myself - these look great!

Ok, I see what you did with the fonts now - replacing the 12/24 files with the 48 versions. The same effect can be achived by setting these two CVars to zero...

set gui_mediumFontLimit "0"
set gui_smallFontLimit "0"

Sim



Douglas Quaid@Posted: Tue Mar 18, 2008 5:45 pm :
This very cool. Nice work 1st venom :D This could be released as part of the next update for d3. A d3world update for d3 would be cool if everyone helped out to show our appreciation to id for this classic game. Something I'd love to help with. I could help with sound if anybody is interested. You could even have the d3world webpage as one of the options menu. Like a pda file.



port66@Posted: Wed Mar 19, 2008 1:55 am :
http://babelfish.altavista.com/



6th Venom@Posted: Wed Mar 19, 2008 10:57 am :
port66 wrote:
http://babelfish.altavista.com/

:?:



port66@Posted: Wed Mar 19, 2008 12:06 pm :
:| translate the text for your menus



6th Venom@Posted: Wed Mar 19, 2008 2:50 pm :
Automatics translations will give some aberations/strange results in many cases, and i'm not able to verify the final product.
The mod "only" accept English, French, German and Italian, cause i didn't found any translators for other languages... except a strogg... :D



port66@Posted: Wed Mar 19, 2008 7:04 pm :
french german and italian will probaly be a straight translation with simple strings from a menu. if it gets jump messed up then its not 1 for the public sector on a "big name" engine



Xhan@Posted: Thu Mar 20, 2008 7:22 am :
The exit menu should say "Does Hell and its Demons frighten you?" and I've noticed some hitching on planetary flyby. (My custom resolution is 2560x1600)



6th Venom@Posted: Thu Mar 20, 2008 11:32 am :
Xhan wrote:
The exit menu should say "Does Hell and its Demons frighten you?"...

Ok, that will be fixed in the 1.00b so, thank you. :)
Xhan wrote:
...and I've noticed some hitching on planetary flyby. (My custom resolution is 2560x1600)

What do you mean?



6th Venom@Posted: Thu Mar 20, 2008 12:38 pm :
simulation wrote:
Would it be ok for me to use some aspects of your work in the next update to EMZ? I'm thinking primarily of the fonts but there are some parts of the GUI design that I may be able to use (visual design is NOT one of my strong points).


I missed this one, yes sim you could use it, but i'd like to be able to approve or not some "modifications" or even to retouch your final mix myself... (just the visuals)
If that's ok for you, start the caterpillars!



simulation@Posted: Thu Mar 20, 2008 12:59 pm :
6th Venom wrote:
simulation wrote:
Would it be ok for me to use some aspects of your work in the next update to EMZ? I'm thinking primarily of the fonts but there are some parts of the GUI design that I may be able to use (visual design is NOT one of my strong points).


I missed this one, yes sim you could use it, but i'd like to be able to approve or not some "modifications" or even to retouch your final mix myself... (just the visuals)
If that's ok for you, start the caterpillars!


Having looked in more detail at the fonts I don't think I can use that technique in EMZ. They look awful at 640x480, which is what most MP players run at. Even if I were to use the 48pt fonts for everything I can, as I mentioned above, simply change the two gui CVars. But thanks anyway.

I'll PM you if I plan to use anything else.



6th Venom@Posted: Fri Mar 21, 2008 9:12 pm :
Hi, a quick bump to share you the ROE version link:
http://www.moddb.com/games/33/doom-iii/ ... nmenu-100b

a Doom3Files link will come in few hours as links to the Vanilla D3 1.00b version.

Cheers.



Xhan@Posted: Sat Mar 22, 2008 7:08 am :
Quote:
What do you mean?


When Mars come into view, it pauses briefly several times stopping in the view, then continuing.



6th Venom@Posted: Sat Mar 22, 2008 9:34 am :
Xhan wrote:
When Mars come into view, it pauses briefly several times stopping in the view, then continuing.

I think it can be caused by slow harddrive accesses, cause i can't see what else... Does another one got the same issue?



catphone@Posted: Sat Mar 22, 2008 4:55 pm :
6th Venom wrote:
Automatics translations will give some aberations/strange results in many cases, and i'm not able to verify the final product.
The mod "only" accept English, French, German and Italian, cause i didn't found any translators for other languages... except a strogg... :D
i can help you translate the English to Simplified Chinese,how can i do? :)



6th Venom@Posted: Sat Mar 22, 2008 5:38 pm :
Should be great! :)

Three possibilities:
If you downloaded the 1.00 or 1.00a versions:
-Open zpakv00.pk4 with winzip, extract "strings/english_venom_menu.lang" where you want, rename it "chinese_venom_menu.lang"...
-PM me an Email adress where i can send you the file.
If you downloaded the 1.00b version:
-Open zpakv00.pk4 with winzip, extract "strings/temp/chinese_venom_menu.lang" (translation attempt) where you want...

...and then open the file with any text editor (i use context) and start translating! (i advise you to open the english instance aswell for translations comments).
the send it back to me at the36venom[at]hotmail[dot]com

Thank you! :D



6th Venom@Posted: Sat Mar 22, 2008 6:00 pm :
Updated 1st post links. :D

And for curiosity, what do my D3W's family :roll: think about it?



rich_is_bored@Posted: Sun Mar 23, 2008 8:49 am :
IMHO, the biggest improvement was the text clarity. Not only does increasing the resolution of the fonts affect the menus, but you can see a rather dramatic impact when playing through the game aswell.

The only disappointment, and this may very well be outside your control, was that the console text didn't appear to change.

Ah, that reminds me to document those CVars simulation pointed out.



wal@Posted: Sun Mar 23, 2008 9:48 pm :
Just got round to using this, and it’s fucking awesome. I wasn’t expecting it to be this good. Now how about a monster and weapons gallery with cool looking gui stat and info screens using that swirly camera, that runs through the pda that gets filled up as you encounter new monsters and pick up new weapons for the first time. Chop chop :D

6th Venom wrote:
And for curiosity, what do my D3W's family :roll: think about it?

I’ve noticed a distinct lack of enthusiasm here and I think it’s because this site is full of modders rather than fans who, if they’re anything like me, run most mods once then think right, where was I? This mod is going to be used permanently by a lot of people though.



Xhan@Posted: Mon Mar 24, 2008 7:31 am :
Quote:
I think it can be caused by slow harddrive accesses, cause i can't see what else... Does another one got the same issue?


um... I'm using a Raptor150 with 8 gigs of ram on a Q6850 with two 8800Ultras in NAFR... I'm thinking it wold be something else....



6th Venom@Posted: Mon Mar 24, 2008 9:36 am :
The gallery is a good idea, and i already used to look at a rotating hellknight for "tests" (looks cool)
Thinking about something like a mainmenu encyclopedia, about characters, monsters and weapons shouldn't be "too hard"...

Xhan wrote:
um... I'm using a Raptor150 with 8 gigs of ram on a Q6850 with two 8800Ultras in NAFR... I'm thinking it wold be something else....

I think so! :mrgreen:
But i still can't see what is the problem here... cause the mars intro movement is a simple translation from A point to B point.

PS: Some people asked "where is the credits button?" => You didn't try to click on the id software logo? :P



Xhan@Posted: Mon Mar 24, 2008 8:06 pm :
The gallery would be very cool, if I sent you custom textured models, could you do the same? (in the future)

On the whole I like it a lot better than the default from textures to font. A very good job.

The only thing I really miss is the evil "mars highlight" haze-shroud that would surround the right side of mars after a short while.



Xhan@Posted: Fri Mar 28, 2008 6:54 am :
Also, Venom; I noted you don't have support for 2048x1536 or 2560x1600... Could you add those? I'd really like to look as clean and sharp as possible and my native res on both my CRT (2048) and my LCD(2560) are those...



6th Venom@Posted: Fri Mar 28, 2008 11:51 am :
Xhan wrote:
Also, Venom; I noted you don't have support for 2048x1536 or 2560x1600... Could you add those? I'd really like to look as clean and sharp as possible and my native res on both my CRT (2048) and my LCD(2560) are those...


Waw! Great soopa resolutions here! ...but you're a little bad boy! i already added 2560x1600 to the 1.00b update. do your homeworks! :D



Xhan@Posted: Sat Mar 29, 2008 5:00 am :
ah, ok Thanks! I'm still using .00a; I'll fix that. :wink:



ALien8ed@Posted: Mon Apr 07, 2008 9:37 am :
Fantastic mod.

So crisp, sharp and clean it looks fantastic.

Many thanks... :D



6th Venom@Posted: Mon Apr 07, 2008 7:28 pm :
thank you very much :D



kujeger@Posted: Sun Jul 06, 2008 2:28 pm :
Very nice, but overwriting a savegame doesn't work.



TRSGM@Posted: Sun Jul 06, 2008 3:40 pm :
Huh. Never tried that. Certainly a good thing to be aware of!



6th Venom@Posted: Sun Jul 06, 2008 9:49 pm :
kujeger wrote:
Very nice, but overwriting a savegame doesn't work.

Mmh... that's right, i just checked that. :?

I'll be looking at this when i'll got time for it, many thanks for feedbacks, and for using it! :wink:



kujeger@Posted: Mon Jul 07, 2008 9:47 am :
6th Venom wrote:
Mmh... that's right, i just checked that. :?

I'll be looking at this when i'll got time for it, many thanks for feedbacks, and for using it! :wink:


Thanks for making it! It's surprising how much nicer things are with good crisp fonts and graphics on the menu. It looks quite professional.



Gzegzolka@Posted: Sun Oct 11, 2009 10:41 pm :
Hi :) It's awesome mod and I'm useing it now. It's much more better than original D3 main menu. This version of menu should be just like "base" for every new mod. I like it a lot and I can not image playing my D3 without it. Idea about character encyclopedia is also great, it could be enable after player end game as bonus. I wish to see sub-menu like in OpenCo-op mod where player can change his hero head. I like a lot how configuration of many aspects of this game become more easy with this version of menu, it's professional work. 6th Venom You are genius! :)



vertex007@Posted: Mon Oct 12, 2009 1:59 am :
yeah, great addition indeed, a while ago I started-reinstalled D3 from scratch and I was shocked to see how bad and dated the original menu meanwhile looks compared to this.
this and my modded drone music and all was back and good again, the original D3 music is cool but get old after a while ...

the only gripe is that if you set custom widescreen resolutions mars get stretched ..would be nice to fix it

that idea with the "museum" was cool, future update Venom ?

btw. the drone music I was talking about, just replace, put it in the right folder (sound/musical)

http://www.mediafire.com/download.php?dtzmmyaqnyz

it is a loop I edited from LULL, Harris solo project, you know Scorn and the like ..

it settle the mood .. for me at least ..



Douglas Quaid@Posted: Fri Oct 22, 2010 7:41 am :
Thought I'd drop this post in here...I've been messing around with the total recall menu lately and remembered this cool mod! :D

Anyway, I looked into
Code:
zpakv00.pk4\guis\v_mainmenu
and noticed files with the extension *.pd such as loadgame.pd and transitions.pd. I was just wondering did Greg change the main menu elements into templates as I looked in his mainmenu.gui file and there are only a few windowdefs as opposed to the many lines of code in the vanilla mainmenu.gui.
If they are infact templates could somebody inform me on how you could use them please?

EDIT: Cool I just opened them up with notepad (wouldn't let me earlier for some reason) and they seem to be just a very tidied up menu. I'll have a longer look later on today...



simulation@Posted: Fri Oct 22, 2010 11:30 am :
Yes, using includefiles is a way to a) help keep the GUI files easier to manage and b) make elements re-usable between the mainmenu.gui and mpmain.gui

Talk of GUIs reminds me; I don't think I posted my work in progress MP model selector video on this site yet:
http://www.youtube.com/user/SimulationEMZ#p/a/u/0/SDVHbQykwYg



Douglas Quaid@Posted: Fri Oct 22, 2010 4:04 pm :
thanks sim, and the selector is looking great sofar man. Keep it up!



Nermerik@Posted: Sun Oct 31, 2010 9:15 pm :
This new main menu looks awesome, but I'm having a problem when choosing difficulty levels: no matter what I choose, the g_skill cvar is always set to 0 (Recruit). Any fix besides setting the cvar manually?



eVolution@Posted: Wed Jan 12, 2011 6:51 am :
Correct me if I'm wrong, but, didn't this used to have custom music when loaded? Currently I get the stock D3 music.



Douglas Quaid@Posted: Fri Jan 14, 2011 8:09 pm :
Hey guys,

I was wondering can someone help me out here. I've been messing around again with TR's menu system and I can't seem to locate some specifics from venoms HQ menu.

My problem is the New Game select. I'm trying to find out where the code for the level select image transition is...
Code:
//Scene Name
   choiceDef NGBtnText4 {
      rect      5, 117, 220, 10
      choices      "Insert tr map names"
      values      "marscity1;mcunderground;marscity2;admin;alpha1;alpha2;alpha3;alpha4;enpro;commout;communications;recycling1;
recycling2;monorail;delta1;delta2a;delta2b;delta3;delta4;hell;delta5;cpu1;cpuboss;site3;caverns1;caverns2;hellhole" //"#str_3666046"
      gui      "gui_ngscene"
                liveUpdate   1
      choiceType   1
      textscale   0.22
      font           "fonts/micro"
      textaligny   -4
      forecolor   0.6, 0.8, 0.8, 1

This is the code for the level text that is displayed when you click between each map choice but I would like to know where exactly the transitions for the images are. You know, the circlular images of Doom 3's levels which are displayed in the middle of the planet Mars. Any ideas?



NX-317@Posted: Sat Jan 15, 2011 10:23 am :
I think this is it:

In guis\v_mainmenu\newgame.pd:

Code:
onTime 0 {
         if ("gui::gui_ngscene" == 0) {
            set     "NGBtnText5::text" "Waste Storage Center" ;
            set     "SceneScreen::background" "gui/v_mainmenu/vmap_rec2" ;
            //set     "NGBtnText5::text" "#str_03468" ;
            //set     "SceneScreen::background" "gui/v_mainmenu/vmap_mc1" ;
              } else if ( "gui::gui_ngscene" == 1 ) {
            set     "NGBtnText5::text" "HQ2 Test Map" ;   //"#str_03504"
            set     "SceneScreen::background" "gui/v_mainmenu/vmap_mcu" ;
              } else if ( "gui::gui_ngscene" == 2 ) {
            set     "NGBtnText5::text" "COMING SOON" ;            
            //set     "NGBtnText5::text" "#str_03468" ;
            set     "SceneScreen::background" "" ;
            //set     "SceneScreen::background" "gui/v_mainmenu/vmap_mc2" ;
              } else if ( "gui::gui_ngscene" == 3 ) {            
            set     "NGBtnText5::text" "COMING SOON" ;            
            //set     "NGBtnText5::text" "#str_02647" ;
            set     "SceneScreen::background" "" ;
            //set     "SceneScreen::background" "gui/v_mainmenu/vmap_adm" ;
              }

Changes the image when you select a level.


In guis\v_mainmenu\transitions.pd:

Code:
transition "SceneScreen::matcolor" "0 .8 1 0" "1 1 1 1" "1000" ;

Fades in the map image when you click the new game button.


Code:
set "NewGameContainer::visible" "0" ;
transition "SceneScreen::matcolor" "0.65 1 1 1" "0.65 1 1 0" "50" ;

Removes the map image when you close the new game window.


The images themselves are materials which can be found in materials\Venom_menu.mtr

This code is likely different from yours, because I don't have the original version of this menu and look in the files from HardQuore2.



Douglas Quaid@Posted: Sat Jan 15, 2011 4:32 pm :
I'm looking for the actual windowDef information because I want to be able to move the image transition stuff to another part of the screen. I would be looking for something like this...
Code:
windowDef LVLIMAGECIRCLE {
rect 200, 400, 320, 100
}

The above code may sound a little silly but I want to be able to move the Image transition circle to somewhere else on the screen and need to find the code for this.

Thanks nonetheless NX



NX-317@Posted: Sat Jan 15, 2011 5:42 pm :
Well, since it is called SceneScreen in the code, this should be the right WindowDef:

In guis\v_mainmenu\newgame.pd:
Code:
windowDef SceneScreen {
   rect      180, 80, 280, 230
   background   "gui/v_mainmenu/vmap_mc1"
   matcolor   0.65 ,1 ,1 ,0
//   backcolor   0.5 ,0 ,0 ,.5
        visible         1
   noevents   1
}



Douglas Quaid@Posted: Sat Jan 15, 2011 6:12 pm :
My word I'm going blind! I can't believe it is the first piece of code in the Newgame.pd. Typical! :)
Anyway, thanks for the help NX, nice one! :)



john2earth@Posted: Thu May 05, 2011 7:15 am :
EDIT
Found answer a few posts up.



doomrama@Posted: Sun Sep 02, 2012 8:05 am :
I have a small problem with 6th venom HQ Mainmenu.
When i select to play a new game in Doom 3 and no matter what difficulty I select it always for some strange reason setts it self to 0 recruit when the game starts. Doesn't matter if i sett difficulty to marine, veteran or nightmare, it always goes back to 0 recruit.
I tried to re-install Doom 3 and applied the 1.3.1 patch but it doesn't help. Same happens with the Sikkmod version of 6th venom HQ Mainmenu.
Does anybody know how to fix this?



reckless@Posted: Sun Sep 02, 2012 2:47 pm :
Hmm newer stumbled on that bug works fine here :?
Only bug or rather feature lack with 6th venoms menu i have noticed is that you cannot overwrite savegames but else i got no problem with it :(



DGX24@Posted: Fri Sep 21, 2012 3:52 pm :
Also having the problem where you can only play on easy mode. Other than that this mod is awesome. Any way to fix it?



lukeman3000@Posted: Mon Oct 22, 2012 9:37 am :
I'm using this with Sikkmod, but the Sikkmod menu is gone. Is there any way to get it back?



reckless@Posted: Mon Oct 22, 2012 10:16 am :
open 6t venoms pk4 with winrar/7zip and extract guis/v_mainmenu/primary.pd

open it with notepad++ and put this after everything else

Code:
//=================================================================================
// START SIKKMOD MENU
//=================================================================================
   windowDef SikkmodBtnText {
      rect      202, 448, 150, 22
      text      "SIKKMOD OPTIONS"
      textscale   0.25
      textalign   1
      forecolor   1.0, 1.0, 1.0, 0.4
      visible      1
      notime      1

      onMouseEnter {
         set         "ToolTip1::text" "Sikkmod Options Menu";
         set         "ToolTip2::text" "Sikkmod Options Menu";
         transition   "forecolor" "1.0 1.0 1.0 0.4" "1.0 1.0 1.0 1.0" "100";
         resetTime   "ToolTip1" "0";
      }

      onMouseExit {
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
      }

      onAction {
         set         "sikkmod_options::visible" "1";
         set         "cmd" "play guisounds_menuclickup";
         set         "noevents" "1";
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
         resetTime   "0";
      }
      
      onTime 5000 {
         set         "noevents" "0";
      }
   }
   
   windowDef sikkmod_options {
      rect      0, 0, 640, 480
      text      "Sikkmod Options"
      textscale   0.25
      textalign   1
      backcolor   0.1796875, 0.25, 0.296875, 0.8
      visible      0
      notime      1
      modal      1

//=====================================================
// All Sikkmod Options Titles here
      windowDef sikkmod_title {
         rect      0, 0, 640, 480
         visible      1            
         
         windowDef sikkmod_main_bg_L {
            rect        4, 20, 8, 248
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_main_bg_M {
            rect        12, 20, 104, 248
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_main_bg_R {
            rect        104, 20, 8, 248
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_L {
            rect        4, 284, 8, 28
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_binds_bg_M {
            rect        12, 284, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_R {
            rect        104, 284, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         
         windowDef sikkmod_bloom_title {
            rect      8, 24, 96, 20
            text      "Bloom"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
            
            onMouseEnter {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "1";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";   
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_color_title {
            rect      8, 48, 96, 20
            text      "Color"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1

            onMouseEnter {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "1";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_dof_title {
            rect        8, 72, 96, 20
            text        "DoF"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "1";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_hdr_title {
            rect      8, 96, 96, 20
            text      "HDR"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "1";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_motion_title {
            rect      8, 120, 96, 20
            text      "Motion Blur"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "1";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_shadows_title {
            rect      8, 144, 96, 20
            text      "Shadows"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "1";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_ssao_title {
            rect      8, 168, 96, 20
            text      "SSAO"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "1";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_sunfx_title {
            rect      8, 192, 96, 20
            text      "Sun FX"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "1";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_misc_title {
            rect      8, 216, 96, 20
            text      "Misc"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "1";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_game_title {
            rect      8, 240, 96, 20
            text      "Game"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "1";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_binds_title {
            rect      8, 288, 96, 20
            text      "Key Binds"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "1";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "1.0 1.0 1.0 1.0";
            }
         }
      
         windowDef sikkmod_close_bg_L {
            rect        4, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_M {
            rect        12, 340, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_R {
            rect        104, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close {
            rect      8, 344, 96, 20
            text      "Close"
            textscale   0.25
            forecolor   0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
            }
            onMouseExit {
               transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
            }
            onAction {
               set         "sikkmod_options::visible" "0";
               set         "cmd" "play guisounds_menuclickdown";
            }
         }
      }
   
//=====================================================
// Bloom options

      windowDef sikkmod_bloom_settings {
         rect      120, 20, 520, 460
         visible      0

         // Bloom Toggle
         windowDef sikkmod_bloom_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useBloom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Buffer Size
         windowDef sikkmod_bloom_buffersize {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Buffer Size"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBufferSize"
               choices      "32;64;128;256;512;1024"
               values      "0;1;2;3;4;5"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Iterations
         windowDef sikkmod_bloom_iterations {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Iterations"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurIterations"
               choices      "1;2;3;4;5;6"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale X
         windowDef sikkmod_bloom_scalex {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur X Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale Y
         windowDef sikkmod_bloom_scaley {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Y Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Intensity
         windowDef sikkmod_bloom_intensity {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Gamma
         windowDef sikkmod_bloom_gamma {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Color FX options
      windowDef sikkmod_color_settings {
         rect      120, 20, 520, 460
         visible      0

         // Color Grading Toggle
         windowDef sikkmod_color_grading_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Color Grading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useColorGrading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Type
         windowDef sikkmod_color_grading_type {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Type"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingType"
               choices      "Math;LUT"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Parm
         windowDef sikkmod_color_grading_parm {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Parm"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingParm"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Sharpness
         windowDef sikkmod_color_grading_sharpness {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Sharpness"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingSharpness"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Toggle
         windowDef sikkmod_color_filmgrain_toggle {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Film Grain"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useFilmgrain"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Blend Mode
         windowDef sikkmod_color_filmgrain_blendmode {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Blend Mode"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainBlendMode"
               choices      "gl_one, gl_one;gl_zero, gl_one_minus_src_color;gl_dst_color, gl_one;gl_one_minus_dst_color, gl_one"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Scale
         windowDef sikkmod_color_filmgrain_scale {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Strength
         windowDef sikkmod_color_filmgrain_strength {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Vignetting Toggle
         windowDef sikkmod_color_vignetting_toggle {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Vignetting"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useVignetting"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Toggle
         windowDef sikkmod_color_edgeaa_toggle {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Edge AA"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useEdgeAA"
               choices      "Off;RGB edgeAA;FXAA"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Sample Scale
         windowDef sikkmod_color_edgeaa_samplescale {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Sample Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAASampleScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  Edge AA Filter Scale
         windowDef sikkmod_color_edgeaa_filterscale {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Filter Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAAFilterScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Toggle
         windowDef sikkmod_color_celshading_toggle {
            rect      0, 264, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Shading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useCelShading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Method
         windowDef sikkmod_color_celshading_method {
            rect      0, 286, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingMethod"
               choices      "RGB;Luminance;Depth"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Scale
         windowDef sikkmod_color_celshading_scale {
            rect      0, 308, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Threshold
         windowDef sikkmod_color_celshading_threshold {
            rect      0, 330, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// DoF options
      windowDef sikkmod_dof_settings {
         rect      120, 20, 520, 460
         visible      0

         // DoF Toggle
         windowDef sikkmod_dof_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Depth of Field"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useDepthOfField"
               choices      "Off;Automatic;Manual"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Scale
         windowDef sikkmod_dof_blurscale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Quality
         windowDef sikkmod_dof_blurquality {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurQuality"
               choices      "Box;Poisson;Gaussian;Bokeh"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Near Distance
         windowDef sikkmod_dof_distance_near {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Near Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofNear"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Focus Distance
         windowDef sikkmod_dof_distance_focus {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Focus Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFocus"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Far Distance
         windowDef sikkmod_dof_distance_far {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Far Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFar"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Always
         windowDef sikkmod_dof_condition_always {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Always"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionAlways"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Cinematic
         windowDef sikkmod_dof_condition_cinematic {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Cin."
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionCinematic"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: GUI
         windowDef sikkmod_dof_condition_gui {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: GUI"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionGUI"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Reload
         windowDef sikkmod_dof_condition_reload {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Reload"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionReload"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Talk
         windowDef sikkmod_dof_condition_talk {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Talk"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionTalk"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Zoom
         windowDef sikkmod_dof_condition_zoom {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Zoom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionZoom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// HDR options
      windowDef sikkmod_hdr_settings {
         rect      120, 20, 520, 460
         visible      0

         // HDR Toggle
         windowDef sikkmod_hdr_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "HDR"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useHDR"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Tone Mapper
         windowDef sikkmod_hdr_tonemapper {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Adaptation Rate
         windowDef sikkmod_hdr_adaptationrate {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adaptation Rate"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrAdaptationRate"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
           // HDR Middle Gray
         windowDef sikkmod_hdr_middlegray {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR White Point
         windowDef sikkmod_hdr_whitepoint {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Blue Shift Factor
         windowDef sikkmod_hdr_blueshift {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blue Shift Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrBlueShiftFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither
         windowDef sikkmod_hdr_dithertoggle {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDither"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither Size
         windowDef sikkmod_hdr_dithersize {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDitherSize"
               maxchars    32
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Min Luminance
         windowDef sikkmod_hdr_lummin {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMin"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Max Luminance
         windowDef sikkmod_hdr_lummax {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMax"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // HDR Bloom Tone Mapper
         windowDef sikkmod_hdr_bloom_tonemapper {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Middle Gray
         windowDef sikkmod_hdr_bloom_middlegray {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom White Point
         windowDef sikkmod_hdr_bloom_whitepoint {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Threshold
         windowDef sikkmod_hdr_bloom_threshold {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Offset
         windowDef sikkmod_hdr_bloom_offset {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Offset"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomOffset"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Scale
         windowDef sikkmod_hdr_bloom_scale {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Size
         windowDef sikkmod_hdr_bloom_size {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Style
         windowDef sikkmod_hdr_glare_style {
            rect      240, 154, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Style"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 160, 20
               cvar      "r_hdrGlareStyle"
               choices      "Off;Natural;Star;Cross;Snow Cross;Horizontal;Vertical;Star (Spectral);Cross (Spectral);Snow Cross (Spectral);Horizontal (Spectral);Vertical (Spectral)"
               values      "0;1;2;3;4;5;6;7;8;9;10;11"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Scale
         windowDef sikkmod_hdr_glare_scale {
            rect      240, 176, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Glare Size
         windowDef sikkmod_hdr_glare_size {
            rect      240, 198, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Scale
         windowDef sikkmod_hdr_flare_scale {
            rect      240, 220, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Size
         windowDef sikkmod_hdr_flare_size {
            rect      240, 242, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Flare Gamma
         windowDef sikkmod_hdr_flare_gamma {
            rect      240, 264, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   
//=====================================================
// Motion Blur options
      windowDef sikkmod_motion_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Motion Blur Toggle
         windowDef sikkmod_motionblur_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Motion Blur"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 160, 20
               cvar      "r_useMotionBlur"
               choices      "Off;Camera;Accumulation;Camera + Accumulation"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Scale
         windowDef sikkmod_motionblur_scale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Mask Distance
         windowDef sikkmod_motionblur_maskdistance {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Mask Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaskDistance"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur FPS Threshold
         windowDef sikkmod_motionblur_fpsthreshold {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "FPS Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFPSThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Min Threshold
         windowDef sikkmod_motionblur_thresholdmin {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMinThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Max Threshold
         windowDef sikkmod_motionblur_thresholdmax {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaxThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Blend Factor
         windowDef sikkmod_motionblur_blendfactor {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Lerp Factor
         windowDef sikkmod_motionblur_lerpfactor {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lerp Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurLerp"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Quality
         windowDef sikkmod_motionblur_quality {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 220, 20
               cvar      "r_motionBlurQuality"
               choices      "8 Samples;64 Samples (virtual);512 Samples (virtual);4096 Samples (virtual)"
               values      "1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Soft Shadows options
      windowDef sikkmod_shadows_settings {
         rect      120, 20, 520, 460
         visible      0

         // Soft Shadows Toggle
         windowDef sikkmod_softshadows_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Soft Shadows"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSoftShadows"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Filter
         windowDef sikkmod_softshadows_blurfilter {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Filter"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurFilter"
               choices      "None;Box;Poisson;Gaussian"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Scale
         windowDef sikkmod_softshadows_blurscale {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Epsilon
         windowDef sikkmod_softshadows_blurepsilon {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// SSAO options
      windowDef sikkmod_ssao_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // left column
         // SSAO Toggle
         windowDef sikkmod_ssao_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSSAO"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Method
         windowDef sikkmod_ssao_method {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoMethod"
               choices      "Crytek;HDAO;ABAO;PBAO;HBAO(low);HBAO(med);HBAO(high);Ray Marching;VO"
               values      "0;1;2;3;4;5;6;7;8"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Sample Radius
         windowDef sikkmod_ssao_radius {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sample Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Angle Bias
         windowDef sikkmod_ssao_anglebias {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Angle Bias"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBias"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Contrast Amount
         windowDef sikkmod_ssao_amount {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Contrast Amount"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Method
         windowDef sikkmod_ssao_blurmethod {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurMethod"
               choices      "Crytek;Box;Gaussian;Bilateral"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Scale
         windowDef sikkmod_ssao_blurscale {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Epsilon
         windowDef sikkmod_ssao_blurepsilon {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Quality
         windowDef sikkmod_ssao_blurquality {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blend Scale
         windowDef sikkmod_ssao_blendscale {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  SSAO Blend Power
         windowDef sikkmod_ssao_blendpower {
            rect      0, 220, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Power"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendPower"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // SSIL Toggle
         windowDef sikkmod_ssil_toggle {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_useSSIL"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Radius
         windowDef sikkmod_ssil_radius {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Intensity
         windowDef sikkmod_ssil_intensity {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Method
         windowDef sikkmod_ssil_blurmethod {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurMethod"
               choices      "Gaussian;Bilateral"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Scale
         windowDef sikkmod_ssil_blurscale {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Epsilon
         windowDef sikkmod_ssil_blureplsilon {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Quality
         windowDef sikkmod_ssil_blurquality {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Sun Effects options
      windowDef sikkmod_sunfx_settings {
         rect      120, 20, 520, 460
         visible      0

         // Lens Flare Toggle
         windowDef sikkmod_sunfx_lensflare_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useLensFlare"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Lens Flare Strength
         windowDef sikkmod_sunfx_lensflare_strength {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_lensFlareStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Toggle
         windowDef sikkmod_sunfx_sunshafts_toggle {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Shafts"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useSunShafts"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Size
         windowDef sikkmod_sunfx_sunshafts_size {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Strength
         windowDef sikkmod_sunfx_sunshafts_strength {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Mask Strength
         windowDef sikkmod_sunfx_sunshafts_maskstrength {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 160, 20
               text      "Shafts Mask Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsMaskStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Quality
         windowDef sikkmod_sunfx_sunshafts_quality {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin X axis
         windowDef sikkmod_sunfx_sunorigin_x {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: X axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Y axis
         windowDef sikkmod_sunfx_sunorigin_y {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Y axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Z axis
         windowDef sikkmod_sunfx_sunorigin_z {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Z axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginZ"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
      
//=====================================================
// Misc options
      windowDef sikkmod_misc_settings {
         rect      120, 20, 520, 460
         visible      0

         // Crosshair Toggle
         windowDef sikkmod_misc_crosshair_toggle {
            rect      0, 0, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshair"
               choices      "Off;On;Zoom Only"
               values      "0;1;2"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Type
         windowDef sikkmod_misc_crosshair_type {
            rect      0, 16, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairType"
               choices      "Static;Precise"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Lerp
         windowDef sikkmod_misc_crosshair_lerp {
            rect      0, 32, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Lerp"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairLerp"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Hud Type
         windowDef sikkmod_misc_hudtype_toggle {
            rect      0, 48, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Hud Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_HudType"
               choices      "Doom 3;Doom 3: Alpha"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Toggle
         windowDef sikkmod_misc_dynamichud_toggle {
            rect      0, 64, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useDynamicHud"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Time
         windowDef sikkmod_misc_dynamichud_time {
            rect      0, 80, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_dynamicHudTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Goggle Type
         windowDef sikkmod_misc_goggle_type {
            rect      0, 96, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Goggle Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_goggleType"
               choices      "Infrared;Thermal"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Life
         windowDef sikkmod_misc_battery_life {
            rect      0, 112, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Life"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryLife"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Recharge Rate
         windowDef sikkmod_misc_battery_rechargerate {
            rect      0, 128, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Recharge Rate"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryRechargeRate"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Toggle
         windowDef sikkmod_misc_ambientlight_toggle {
            rect      0, 144, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useAmbientLight"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Color
         windowDef sikkmod_misc_ambientlight_color {
            rect      0, 160, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Color"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightColor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Radius
         windowDef sikkmod_misc_ambientlight_radius {
            rect      0, 176, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Radius"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightRadius"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Toggle
         windowDef sikkmod_misc_explosionfx_toggle {
            rect      0, 192, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useExplosionFX"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Time
         windowDef sikkmod_misc_explosionfx_time {
            rect      0, 208, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Scale
         windowDef sikkmod_misc_explosionfx_scale {
            rect      0, 224, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Magnitude"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Toggle
         windowDef sikkmod_misc_bloodspray_toggle {
            rect      0, 240, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showBloodSpray"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Time
         windowDef sikkmod_misc_bloodspray_time {
            rect      0, 256, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Distance
         windowDef sikkmod_misc_bloodspray_distance {
            rect      0, 272, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Distance"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayDistance"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Frequency
         windowDef sikkmod_misc_bloodspray_frequency {
            rect      0, 288, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Screen Frost
         windowDef sikkmod_misc_screenfrost_time {
            rect      0, 304, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Screen Frost Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_screenFrostTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Tracer Frequency
         windowDef sikkmod_misc_tracerfrequency {
            rect      0, 320, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Tracer Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_tracerFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Head Type
         windowDef sikkmod_misc_playerheadtype {
            rect      0, 336, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Player Head Model"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_playerHeadType"
               choices      "Default Head;Marine Helmet"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // First Person Body
         windowDef sikkmod_misc_firstpersonbody {
            rect      0, 352, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "First Person Body"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showFirstPersonBody"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sky Portal Support
         windowDef sikkmod_misc_skyportal {
            rect      0, 368, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Sky Portal Support"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_enablePortalSky"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }

//=====================================================
// Game options
      windowDef sikkmod_game_settings {
         rect      120, 20, 520, 460
         visible      0

         // light column
         // Health Management System
         windowDef sikkmod_game_health_type {
            rect      0, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Management System"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthManagementType"
               choices      "Default;Health Pack;Health Regeneration"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Total
         windowDef sikkmod_game_health_packtotal {
            rect      0, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Total"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTotal"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Uses
         windowDef sikkmod_game_health_packuses {
            rect      0, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Uses"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackUses"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Time
         windowDef sikkmod_game_health_packtime {
            rect      0, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Time
         windowDef sikkmod_game_health_regentime {
            rect      0, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Delay
         windowDef sikkmod_game_health_regendelay {
            rect      0, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Amount
         windowDef sikkmod_game_health_regenamount {
            rect      0, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Amount"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenAmt"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Limit
         windowDef sikkmod_game_health_regenlimit {
            rect      0, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Steps
         windowDef sikkmod_game_health_regensteps {
            rect      0, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Steps"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenSteps"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Feedback
         windowDef sikkmod_game_health_regenfeedback {
            rect      0, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Feedback"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenFeedback"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Pickup Type
         windowDef sikkmod_game_item_pickuptype {
            rect      0, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Pickup Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemPickupType"
               choices      "Automatic;Manual"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Max Armor Type
         windowDef sikkmod_game_item_maxarmortype {
            rect      0, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Max Armor Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemMaxArmorType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Helmet Factor
         windowDef sikkmod_game_item_helmetfactor {
            rect      0, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Helmet Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemHelmetFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Random Value Factor
         windowDef sikkmod_game_item_randomvaluefactor {
            rect      0, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Random Value Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemValueFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Removal Factor
         windowDef sikkmod_game_item_removalfactor {
            rect      0, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Removal Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemRemovalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Corpse Search Factor
         windowDef sikkmod_game_item_searchfactor {
            rect      0, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Corpse Search Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemSearchFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Capacity Type
         windowDef sikkmod_game_ammo_capacitytype {
            rect      0, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Capacity Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoCapacityType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Clip Size Type
         windowDef sikkmod_game_ammo_clipsizetype {
            rect      0, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Clip Size Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoClipSizeType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Usage Type
         windowDef sikkmod_game_ammo_usagetype {
            rect      0, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Usage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoUsageType"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Awareness
         windowDef sikkmod_game_weaponawarenesstoggle {
            rect      0, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Awareness"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponAwareness"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Handling Type
         windowDef sikkmod_game_weaponhandling {
            rect      0, 320, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Handling Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponHandlingType"
               choices      "Spread (Fixed);Spread (Variable);Recoil (Fixed);Recoil (Variable)"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Projectile Origin
         windowDef sikkmod_game_weaponprojectileorigin {
            rect      0, 336, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Projectile Origin"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponProjectileOrigin"
               choices      "Default;Weapon Barrel"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }

         // right column
         // Object Manipulation
         windowDef sikkmod_game_objectmanipulation_toggle {
            rect      260, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Object Manipulation"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_grabMode"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Fall Damage
         windowDef sikkmod_game_falldamage {
            rect      260, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Fall Damage"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_disableFallDamage"
               choices      "On;Off"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Speed Type
         windowDef sikkmod_game_playerspeedtype {
            rect      260, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Player Speed Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_playerSpeedType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Type
         windowDef sikkmod_game_damagetype {
            rect      260, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Zone Type
         windowDef sikkmod_game_damagezonetype {
            rect      260, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Zone Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageZoneType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Type
         windowDef sikkmod_game_enemyhealth_type {
            rect      260, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Enemy Health Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Scale
         windowDef sikkmod_game_enemyhealth_scale {
            rect      260, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Scale"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Random
         windowDef sikkmod_game_enemyhealth_random {
            rect      260, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Randomize"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthRandom"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Spectre Factor
         windowDef sikkmod_game_spectrefactor {
            rect      260, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Spectre Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemySpectreFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Pain Elemental Factor
         windowDef sikkmod_game_painelementalfactor {
            rect      260, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Pain Elemental Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyPainElementalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Baron of Hell Factor
         windowDef sikkmod_game_baronfactor {
            rect      260, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Baron of Hell Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyBaronFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Demon Burn Delay
         windowDef sikkmod_game_burnaway_time {
            rect      260, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Demon Burn Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_burnAwayDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //Cyberdemon Damage Type
         windowDef sikkmod_game_cyberdemondamage_type {
            rect      260, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Cyberdemon Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_cyberdemonDamageType"
               choices      "Soul Cube Only;All Weapons"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Inter Rank Aggression
         windowDef sikkmod_game_interrankaggression_toggle {
            rect      260, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Inter Rank Aggression"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_interRankAggression"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Zombie Resurrection Limit
         windowDef sikkmod_game_zombieresurrect_limit {
            rect      260, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Zombie Resurrection Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_zombieResurrectionLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Toggle
         windowDef sikkmod_game_re_toggle {
            rect      260, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Random Encounters"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_useRandomEncounters"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Spawns
         windowDef sikkmod_game_re_maxspawns {
            rect      260, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Spawns"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxSpawns"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Min Time
         windowDef sikkmod_game_re_mintime {
            rect      260, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Min Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMinTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Time
         windowDef sikkmod_game_re_maxtime {
            rect      260, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Dormant Time
         windowDef sikkmod_game_re_dormanttime {
            rect      260, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Dormant Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersDormantTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }       
      
//=====================================================
// Key Binds
      windowDef sikkmod_binds_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Use Bind
         windowDef sikkmod_keybinds_use {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Use"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse40"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Headlight Bind
         windowDef sikkmod_keybinds_headlight {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Headlight"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse23"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // IR Goggles Bind
         windowDef sikkmod_keybinds_irgoggles {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "IR Goggles"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse24"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Bind
         windowDef sikkmod_keybinds_healthpack {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text        "Health Pack"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse25"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Adrenaline Bind
         windowDef sikkmod_keybinds_adrenaline {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adrenaline"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse26"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   }
//=================================================================================
// END SIKKMOD MENU
//=================================================================================
// <---sikk


put it back into 6th venoms pk4 and save.

open pak_modfiles.pk4 and delete mainmenu.gui save and close.

sikkmod settings are now a part of 6th venoms menu ;)



lukeman3000@Posted: Mon Oct 22, 2012 5:28 pm :
Reckless, thank you!



lukeman3000@Posted: Wed Oct 24, 2012 9:24 pm :
reckless wrote:
open 6t venoms pk4 with winrar/7zip and extract guis/v_mainmenu/primary.pd

open it with notepad++ and put this after everything else

Code:
//=================================================================================
// START SIKKMOD MENU
//=================================================================================
   windowDef SikkmodBtnText {
      rect      202, 448, 150, 22
      text      "SIKKMOD OPTIONS"
      textscale   0.25
      textalign   1
      forecolor   1.0, 1.0, 1.0, 0.4
      visible      1
      notime      1

      onMouseEnter {
         set         "ToolTip1::text" "Sikkmod Options Menu";
         set         "ToolTip2::text" "Sikkmod Options Menu";
         transition   "forecolor" "1.0 1.0 1.0 0.4" "1.0 1.0 1.0 1.0" "100";
         resetTime   "ToolTip1" "0";
      }

      onMouseExit {
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
      }

      onAction {
         set         "sikkmod_options::visible" "1";
         set         "cmd" "play guisounds_menuclickup";
         set         "noevents" "1";
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
         resetTime   "0";
      }
      
      onTime 5000 {
         set         "noevents" "0";
      }
   }
   
   windowDef sikkmod_options {
      rect      0, 0, 640, 480
      text      "Sikkmod Options"
      textscale   0.25
      textalign   1
      backcolor   0.1796875, 0.25, 0.296875, 0.8
      visible      0
      notime      1
      modal      1

//=====================================================
// All Sikkmod Options Titles here
      windowDef sikkmod_title {
         rect      0, 0, 640, 480
         visible      1            
         
         windowDef sikkmod_main_bg_L {
            rect        4, 20, 8, 248
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_main_bg_M {
            rect        12, 20, 104, 248
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_main_bg_R {
            rect        104, 20, 8, 248
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_L {
            rect        4, 284, 8, 28
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_binds_bg_M {
            rect        12, 284, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_R {
            rect        104, 284, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         
         windowDef sikkmod_bloom_title {
            rect      8, 24, 96, 20
            text      "Bloom"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
            
            onMouseEnter {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "1";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";   
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_color_title {
            rect      8, 48, 96, 20
            text      "Color"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1

            onMouseEnter {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "1";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_dof_title {
            rect        8, 72, 96, 20
            text        "DoF"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "1";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_hdr_title {
            rect      8, 96, 96, 20
            text      "HDR"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "1";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_motion_title {
            rect      8, 120, 96, 20
            text      "Motion Blur"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "1";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_shadows_title {
            rect      8, 144, 96, 20
            text      "Shadows"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "1";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_ssao_title {
            rect      8, 168, 96, 20
            text      "SSAO"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "1";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_sunfx_title {
            rect      8, 192, 96, 20
            text      "Sun FX"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "1";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_misc_title {
            rect      8, 216, 96, 20
            text      "Misc"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "1";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_game_title {
            rect      8, 240, 96, 20
            text      "Game"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "1";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_binds_title {
            rect      8, 288, 96, 20
            text      "Key Binds"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "1";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "1.0 1.0 1.0 1.0";
            }
         }
      
         windowDef sikkmod_close_bg_L {
            rect        4, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_M {
            rect        12, 340, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_R {
            rect        104, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close {
            rect      8, 344, 96, 20
            text      "Close"
            textscale   0.25
            forecolor   0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
            }
            onMouseExit {
               transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
            }
            onAction {
               set         "sikkmod_options::visible" "0";
               set         "cmd" "play guisounds_menuclickdown";
            }
         }
      }
   
//=====================================================
// Bloom options

      windowDef sikkmod_bloom_settings {
         rect      120, 20, 520, 460
         visible      0

         // Bloom Toggle
         windowDef sikkmod_bloom_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useBloom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Buffer Size
         windowDef sikkmod_bloom_buffersize {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Buffer Size"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBufferSize"
               choices      "32;64;128;256;512;1024"
               values      "0;1;2;3;4;5"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Iterations
         windowDef sikkmod_bloom_iterations {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Iterations"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurIterations"
               choices      "1;2;3;4;5;6"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale X
         windowDef sikkmod_bloom_scalex {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur X Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale Y
         windowDef sikkmod_bloom_scaley {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Y Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Intensity
         windowDef sikkmod_bloom_intensity {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Gamma
         windowDef sikkmod_bloom_gamma {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Color FX options
      windowDef sikkmod_color_settings {
         rect      120, 20, 520, 460
         visible      0

         // Color Grading Toggle
         windowDef sikkmod_color_grading_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Color Grading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useColorGrading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Type
         windowDef sikkmod_color_grading_type {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Type"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingType"
               choices      "Math;LUT"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Parm
         windowDef sikkmod_color_grading_parm {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Parm"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingParm"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Sharpness
         windowDef sikkmod_color_grading_sharpness {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Sharpness"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingSharpness"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Toggle
         windowDef sikkmod_color_filmgrain_toggle {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Film Grain"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useFilmgrain"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Blend Mode
         windowDef sikkmod_color_filmgrain_blendmode {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Blend Mode"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainBlendMode"
               choices      "gl_one, gl_one;gl_zero, gl_one_minus_src_color;gl_dst_color, gl_one;gl_one_minus_dst_color, gl_one"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Scale
         windowDef sikkmod_color_filmgrain_scale {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Strength
         windowDef sikkmod_color_filmgrain_strength {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Vignetting Toggle
         windowDef sikkmod_color_vignetting_toggle {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Vignetting"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useVignetting"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Toggle
         windowDef sikkmod_color_edgeaa_toggle {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Edge AA"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useEdgeAA"
               choices      "Off;RGB edgeAA;FXAA"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Sample Scale
         windowDef sikkmod_color_edgeaa_samplescale {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Sample Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAASampleScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  Edge AA Filter Scale
         windowDef sikkmod_color_edgeaa_filterscale {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Filter Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAAFilterScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Toggle
         windowDef sikkmod_color_celshading_toggle {
            rect      0, 264, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Shading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useCelShading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Method
         windowDef sikkmod_color_celshading_method {
            rect      0, 286, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingMethod"
               choices      "RGB;Luminance;Depth"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Scale
         windowDef sikkmod_color_celshading_scale {
            rect      0, 308, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Threshold
         windowDef sikkmod_color_celshading_threshold {
            rect      0, 330, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// DoF options
      windowDef sikkmod_dof_settings {
         rect      120, 20, 520, 460
         visible      0

         // DoF Toggle
         windowDef sikkmod_dof_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Depth of Field"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useDepthOfField"
               choices      "Off;Automatic;Manual"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Scale
         windowDef sikkmod_dof_blurscale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Quality
         windowDef sikkmod_dof_blurquality {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurQuality"
               choices      "Box;Poisson;Gaussian;Bokeh"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Near Distance
         windowDef sikkmod_dof_distance_near {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Near Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofNear"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Focus Distance
         windowDef sikkmod_dof_distance_focus {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Focus Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFocus"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Far Distance
         windowDef sikkmod_dof_distance_far {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Far Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFar"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Always
         windowDef sikkmod_dof_condition_always {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Always"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionAlways"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Cinematic
         windowDef sikkmod_dof_condition_cinematic {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Cin."
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionCinematic"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: GUI
         windowDef sikkmod_dof_condition_gui {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: GUI"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionGUI"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Reload
         windowDef sikkmod_dof_condition_reload {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Reload"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionReload"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Talk
         windowDef sikkmod_dof_condition_talk {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Talk"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionTalk"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Zoom
         windowDef sikkmod_dof_condition_zoom {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Zoom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionZoom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// HDR options
      windowDef sikkmod_hdr_settings {
         rect      120, 20, 520, 460
         visible      0

         // HDR Toggle
         windowDef sikkmod_hdr_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "HDR"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useHDR"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Tone Mapper
         windowDef sikkmod_hdr_tonemapper {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Adaptation Rate
         windowDef sikkmod_hdr_adaptationrate {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adaptation Rate"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrAdaptationRate"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
           // HDR Middle Gray
         windowDef sikkmod_hdr_middlegray {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR White Point
         windowDef sikkmod_hdr_whitepoint {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Blue Shift Factor
         windowDef sikkmod_hdr_blueshift {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blue Shift Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrBlueShiftFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither
         windowDef sikkmod_hdr_dithertoggle {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDither"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither Size
         windowDef sikkmod_hdr_dithersize {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDitherSize"
               maxchars    32
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Min Luminance
         windowDef sikkmod_hdr_lummin {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMin"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Max Luminance
         windowDef sikkmod_hdr_lummax {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMax"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // HDR Bloom Tone Mapper
         windowDef sikkmod_hdr_bloom_tonemapper {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Middle Gray
         windowDef sikkmod_hdr_bloom_middlegray {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom White Point
         windowDef sikkmod_hdr_bloom_whitepoint {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Threshold
         windowDef sikkmod_hdr_bloom_threshold {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Offset
         windowDef sikkmod_hdr_bloom_offset {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Offset"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomOffset"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Scale
         windowDef sikkmod_hdr_bloom_scale {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Size
         windowDef sikkmod_hdr_bloom_size {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Style
         windowDef sikkmod_hdr_glare_style {
            rect      240, 154, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Style"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 160, 20
               cvar      "r_hdrGlareStyle"
               choices      "Off;Natural;Star;Cross;Snow Cross;Horizontal;Vertical;Star (Spectral);Cross (Spectral);Snow Cross (Spectral);Horizontal (Spectral);Vertical (Spectral)"
               values      "0;1;2;3;4;5;6;7;8;9;10;11"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Scale
         windowDef sikkmod_hdr_glare_scale {
            rect      240, 176, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Glare Size
         windowDef sikkmod_hdr_glare_size {
            rect      240, 198, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Scale
         windowDef sikkmod_hdr_flare_scale {
            rect      240, 220, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Size
         windowDef sikkmod_hdr_flare_size {
            rect      240, 242, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Flare Gamma
         windowDef sikkmod_hdr_flare_gamma {
            rect      240, 264, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   
//=====================================================
// Motion Blur options
      windowDef sikkmod_motion_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Motion Blur Toggle
         windowDef sikkmod_motionblur_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Motion Blur"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 160, 20
               cvar      "r_useMotionBlur"
               choices      "Off;Camera;Accumulation;Camera + Accumulation"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Scale
         windowDef sikkmod_motionblur_scale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Mask Distance
         windowDef sikkmod_motionblur_maskdistance {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Mask Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaskDistance"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur FPS Threshold
         windowDef sikkmod_motionblur_fpsthreshold {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "FPS Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFPSThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Min Threshold
         windowDef sikkmod_motionblur_thresholdmin {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMinThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Max Threshold
         windowDef sikkmod_motionblur_thresholdmax {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaxThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Blend Factor
         windowDef sikkmod_motionblur_blendfactor {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Lerp Factor
         windowDef sikkmod_motionblur_lerpfactor {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lerp Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurLerp"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Quality
         windowDef sikkmod_motionblur_quality {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 220, 20
               cvar      "r_motionBlurQuality"
               choices      "8 Samples;64 Samples (virtual);512 Samples (virtual);4096 Samples (virtual)"
               values      "1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Soft Shadows options
      windowDef sikkmod_shadows_settings {
         rect      120, 20, 520, 460
         visible      0

         // Soft Shadows Toggle
         windowDef sikkmod_softshadows_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Soft Shadows"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSoftShadows"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Filter
         windowDef sikkmod_softshadows_blurfilter {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Filter"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurFilter"
               choices      "None;Box;Poisson;Gaussian"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Scale
         windowDef sikkmod_softshadows_blurscale {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Epsilon
         windowDef sikkmod_softshadows_blurepsilon {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// SSAO options
      windowDef sikkmod_ssao_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // left column
         // SSAO Toggle
         windowDef sikkmod_ssao_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSSAO"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Method
         windowDef sikkmod_ssao_method {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoMethod"
               choices      "Crytek;HDAO;ABAO;PBAO;HBAO(low);HBAO(med);HBAO(high);Ray Marching;VO"
               values      "0;1;2;3;4;5;6;7;8"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Sample Radius
         windowDef sikkmod_ssao_radius {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sample Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Angle Bias
         windowDef sikkmod_ssao_anglebias {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Angle Bias"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBias"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Contrast Amount
         windowDef sikkmod_ssao_amount {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Contrast Amount"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Method
         windowDef sikkmod_ssao_blurmethod {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurMethod"
               choices      "Crytek;Box;Gaussian;Bilateral"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Scale
         windowDef sikkmod_ssao_blurscale {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Epsilon
         windowDef sikkmod_ssao_blurepsilon {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Quality
         windowDef sikkmod_ssao_blurquality {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blend Scale
         windowDef sikkmod_ssao_blendscale {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  SSAO Blend Power
         windowDef sikkmod_ssao_blendpower {
            rect      0, 220, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Power"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendPower"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // SSIL Toggle
         windowDef sikkmod_ssil_toggle {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_useSSIL"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Radius
         windowDef sikkmod_ssil_radius {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Intensity
         windowDef sikkmod_ssil_intensity {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Method
         windowDef sikkmod_ssil_blurmethod {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurMethod"
               choices      "Gaussian;Bilateral"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Scale
         windowDef sikkmod_ssil_blurscale {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Epsilon
         windowDef sikkmod_ssil_blureplsilon {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Quality
         windowDef sikkmod_ssil_blurquality {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Sun Effects options
      windowDef sikkmod_sunfx_settings {
         rect      120, 20, 520, 460
         visible      0

         // Lens Flare Toggle
         windowDef sikkmod_sunfx_lensflare_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useLensFlare"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Lens Flare Strength
         windowDef sikkmod_sunfx_lensflare_strength {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_lensFlareStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Toggle
         windowDef sikkmod_sunfx_sunshafts_toggle {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Shafts"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useSunShafts"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Size
         windowDef sikkmod_sunfx_sunshafts_size {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Strength
         windowDef sikkmod_sunfx_sunshafts_strength {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Mask Strength
         windowDef sikkmod_sunfx_sunshafts_maskstrength {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 160, 20
               text      "Shafts Mask Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsMaskStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Quality
         windowDef sikkmod_sunfx_sunshafts_quality {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin X axis
         windowDef sikkmod_sunfx_sunorigin_x {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: X axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Y axis
         windowDef sikkmod_sunfx_sunorigin_y {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Y axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Z axis
         windowDef sikkmod_sunfx_sunorigin_z {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Z axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginZ"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
      
//=====================================================
// Misc options
      windowDef sikkmod_misc_settings {
         rect      120, 20, 520, 460
         visible      0

         // Crosshair Toggle
         windowDef sikkmod_misc_crosshair_toggle {
            rect      0, 0, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshair"
               choices      "Off;On;Zoom Only"
               values      "0;1;2"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Type
         windowDef sikkmod_misc_crosshair_type {
            rect      0, 16, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairType"
               choices      "Static;Precise"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Lerp
         windowDef sikkmod_misc_crosshair_lerp {
            rect      0, 32, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Lerp"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairLerp"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Hud Type
         windowDef sikkmod_misc_hudtype_toggle {
            rect      0, 48, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Hud Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_HudType"
               choices      "Doom 3;Doom 3: Alpha"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Toggle
         windowDef sikkmod_misc_dynamichud_toggle {
            rect      0, 64, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useDynamicHud"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Time
         windowDef sikkmod_misc_dynamichud_time {
            rect      0, 80, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_dynamicHudTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Goggle Type
         windowDef sikkmod_misc_goggle_type {
            rect      0, 96, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Goggle Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_goggleType"
               choices      "Infrared;Thermal"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Life
         windowDef sikkmod_misc_battery_life {
            rect      0, 112, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Life"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryLife"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Recharge Rate
         windowDef sikkmod_misc_battery_rechargerate {
            rect      0, 128, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Recharge Rate"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryRechargeRate"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Toggle
         windowDef sikkmod_misc_ambientlight_toggle {
            rect      0, 144, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useAmbientLight"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Color
         windowDef sikkmod_misc_ambientlight_color {
            rect      0, 160, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Color"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightColor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Radius
         windowDef sikkmod_misc_ambientlight_radius {
            rect      0, 176, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Radius"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightRadius"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Toggle
         windowDef sikkmod_misc_explosionfx_toggle {
            rect      0, 192, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useExplosionFX"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Time
         windowDef sikkmod_misc_explosionfx_time {
            rect      0, 208, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Scale
         windowDef sikkmod_misc_explosionfx_scale {
            rect      0, 224, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Magnitude"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Toggle
         windowDef sikkmod_misc_bloodspray_toggle {
            rect      0, 240, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showBloodSpray"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Time
         windowDef sikkmod_misc_bloodspray_time {
            rect      0, 256, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Distance
         windowDef sikkmod_misc_bloodspray_distance {
            rect      0, 272, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Distance"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayDistance"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Frequency
         windowDef sikkmod_misc_bloodspray_frequency {
            rect      0, 288, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Screen Frost
         windowDef sikkmod_misc_screenfrost_time {
            rect      0, 304, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Screen Frost Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_screenFrostTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Tracer Frequency
         windowDef sikkmod_misc_tracerfrequency {
            rect      0, 320, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Tracer Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_tracerFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Head Type
         windowDef sikkmod_misc_playerheadtype {
            rect      0, 336, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Player Head Model"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_playerHeadType"
               choices      "Default Head;Marine Helmet"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // First Person Body
         windowDef sikkmod_misc_firstpersonbody {
            rect      0, 352, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "First Person Body"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showFirstPersonBody"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sky Portal Support
         windowDef sikkmod_misc_skyportal {
            rect      0, 368, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Sky Portal Support"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_enablePortalSky"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }

//=====================================================
// Game options
      windowDef sikkmod_game_settings {
         rect      120, 20, 520, 460
         visible      0

         // light column
         // Health Management System
         windowDef sikkmod_game_health_type {
            rect      0, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Management System"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthManagementType"
               choices      "Default;Health Pack;Health Regeneration"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Total
         windowDef sikkmod_game_health_packtotal {
            rect      0, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Total"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTotal"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Uses
         windowDef sikkmod_game_health_packuses {
            rect      0, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Uses"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackUses"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Time
         windowDef sikkmod_game_health_packtime {
            rect      0, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Time
         windowDef sikkmod_game_health_regentime {
            rect      0, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Delay
         windowDef sikkmod_game_health_regendelay {
            rect      0, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Amount
         windowDef sikkmod_game_health_regenamount {
            rect      0, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Amount"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenAmt"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Limit
         windowDef sikkmod_game_health_regenlimit {
            rect      0, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Steps
         windowDef sikkmod_game_health_regensteps {
            rect      0, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Steps"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenSteps"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Feedback
         windowDef sikkmod_game_health_regenfeedback {
            rect      0, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Feedback"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenFeedback"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Pickup Type
         windowDef sikkmod_game_item_pickuptype {
            rect      0, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Pickup Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemPickupType"
               choices      "Automatic;Manual"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Max Armor Type
         windowDef sikkmod_game_item_maxarmortype {
            rect      0, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Max Armor Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemMaxArmorType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Helmet Factor
         windowDef sikkmod_game_item_helmetfactor {
            rect      0, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Helmet Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemHelmetFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Random Value Factor
         windowDef sikkmod_game_item_randomvaluefactor {
            rect      0, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Random Value Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemValueFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Removal Factor
         windowDef sikkmod_game_item_removalfactor {
            rect      0, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Removal Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemRemovalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Corpse Search Factor
         windowDef sikkmod_game_item_searchfactor {
            rect      0, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Corpse Search Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemSearchFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Capacity Type
         windowDef sikkmod_game_ammo_capacitytype {
            rect      0, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Capacity Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoCapacityType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Clip Size Type
         windowDef sikkmod_game_ammo_clipsizetype {
            rect      0, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Clip Size Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoClipSizeType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Usage Type
         windowDef sikkmod_game_ammo_usagetype {
            rect      0, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Usage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoUsageType"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Awareness
         windowDef sikkmod_game_weaponawarenesstoggle {
            rect      0, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Awareness"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponAwareness"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Handling Type
         windowDef sikkmod_game_weaponhandling {
            rect      0, 320, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Handling Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponHandlingType"
               choices      "Spread (Fixed);Spread (Variable);Recoil (Fixed);Recoil (Variable)"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Projectile Origin
         windowDef sikkmod_game_weaponprojectileorigin {
            rect      0, 336, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Projectile Origin"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponProjectileOrigin"
               choices      "Default;Weapon Barrel"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }

         // right column
         // Object Manipulation
         windowDef sikkmod_game_objectmanipulation_toggle {
            rect      260, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Object Manipulation"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_grabMode"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Fall Damage
         windowDef sikkmod_game_falldamage {
            rect      260, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Fall Damage"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_disableFallDamage"
               choices      "On;Off"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Speed Type
         windowDef sikkmod_game_playerspeedtype {
            rect      260, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Player Speed Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_playerSpeedType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Type
         windowDef sikkmod_game_damagetype {
            rect      260, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Zone Type
         windowDef sikkmod_game_damagezonetype {
            rect      260, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Zone Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageZoneType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Type
         windowDef sikkmod_game_enemyhealth_type {
            rect      260, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Enemy Health Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Scale
         windowDef sikkmod_game_enemyhealth_scale {
            rect      260, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Scale"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Random
         windowDef sikkmod_game_enemyhealth_random {
            rect      260, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Randomize"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthRandom"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Spectre Factor
         windowDef sikkmod_game_spectrefactor {
            rect      260, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Spectre Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemySpectreFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Pain Elemental Factor
         windowDef sikkmod_game_painelementalfactor {
            rect      260, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Pain Elemental Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyPainElementalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Baron of Hell Factor
         windowDef sikkmod_game_baronfactor {
            rect      260, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Baron of Hell Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyBaronFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Demon Burn Delay
         windowDef sikkmod_game_burnaway_time {
            rect      260, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Demon Burn Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_burnAwayDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //Cyberdemon Damage Type
         windowDef sikkmod_game_cyberdemondamage_type {
            rect      260, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Cyberdemon Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_cyberdemonDamageType"
               choices      "Soul Cube Only;All Weapons"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Inter Rank Aggression
         windowDef sikkmod_game_interrankaggression_toggle {
            rect      260, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Inter Rank Aggression"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_interRankAggression"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Zombie Resurrection Limit
         windowDef sikkmod_game_zombieresurrect_limit {
            rect      260, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Zombie Resurrection Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_zombieResurrectionLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Toggle
         windowDef sikkmod_game_re_toggle {
            rect      260, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Random Encounters"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_useRandomEncounters"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Spawns
         windowDef sikkmod_game_re_maxspawns {
            rect      260, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Spawns"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxSpawns"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Min Time
         windowDef sikkmod_game_re_mintime {
            rect      260, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Min Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMinTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Time
         windowDef sikkmod_game_re_maxtime {
            rect      260, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Dormant Time
         windowDef sikkmod_game_re_dormanttime {
            rect      260, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Dormant Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersDormantTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }       
      
//=====================================================
// Key Binds
      windowDef sikkmod_binds_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Use Bind
         windowDef sikkmod_keybinds_use {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Use"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse40"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Headlight Bind
         windowDef sikkmod_keybinds_headlight {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Headlight"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse23"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // IR Goggles Bind
         windowDef sikkmod_keybinds_irgoggles {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "IR Goggles"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse24"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Bind
         windowDef sikkmod_keybinds_healthpack {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text        "Health Pack"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse25"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Adrenaline Bind
         windowDef sikkmod_keybinds_adrenaline {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adrenaline"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse26"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   }
//=================================================================================
// END SIKKMOD MENU
//=================================================================================
// <---sikk


put it back into 6th venoms pk4 and save.

open pak_modfiles.pk4 and delete mainmenu.gui save and close.

sikkmod settings are now a part of 6th venoms menu ;)


Does this also work for 6th Venom ROE?



reckless@Posted: Wed Oct 24, 2012 10:04 pm :
It might but the sikkpin code for ROE is a bit older so its probably better to check it first.

My pack has it with the code from his ROE mod.



lukeman3000@Posted: Wed Oct 24, 2012 10:37 pm :
So, is that massive mount of code just copied and pasted from sikkmod itself and put into Venom's mod?

Could I just open up sikkmod ROE and take the menu code out of there and put it into Venom?



reckless@Posted: Wed Oct 24, 2012 10:58 pm :
pretty much aye :) just remember to remove sikkmods mainmenu.gui file.

theres also a few other things to do that i forgot to post ill see if i can dig up the changes nessesary.



reckless@Posted: Thu Nov 29, 2012 3:13 am :
Btw confirmed the skill setting is not working :( no matter what you select g_skill defaults to 0. Can check it by entering g_skill in the console it will allways return 0 with venoms hd menu. For now untill someone can look into fixing this set g_skill via the console 3 is nightmare.



6th Venom@Posted: Tue Mar 04, 2008 11:02 am :
Hi everybody!
I officially anounce the "6th venom HQ mainmenu" aka "2008' mainmenu update" for D3 1.3.1.

First of all, screenshots (D3 v1.00):
Image Image Image
Image Image Image

Second, at the moment i only got English and French traductions of my own strings, so i'm searching for BETA testers that must traduce strings into other languages like Dutch, Italian, Spanish, Russian, etc...

Technically, it's "only" a PK4, not a mod, no dll here, just assets, so you just need to put it in your base folder to have this HQ menu.

HQ because you must admit the vanilla D3 mainmenu look like "old", even in ultra quality you got dirty fonts, washed mars textures etc.

Here you got REAL HQ fonts, i redid Mars using real maps, you can choose your start map in new game, launch a custom one, see the mp player rotating while you choose your skin, much more options, and more.

I finished the Vanilla and ROE versions (with all the changes like a slightly different main screen, SP maps choose, MP colors, etc) plus i'm actually working on a "special" Denton Mod version, and new D3 music themes for each one.

So to finish, if you think you're really able to traduce about 40 strings in one of language other than En & Fr, and you want to be a Beta tester, put your hand up please! ;)
Don't know the release date cause i need some more languages...

Any comments are welcome,

Greg "6th Venom".

________________________________________________________________________________________________________________

Edit (18/03/2008)

I finally uploaded the Doom 3 version, here come links:
D3files: http://doom3.filefront.com/file/6th_Ven ... menu;87981
ModDB: http://www.moddb.com/games/33/doom-iii/ ... q-mainmenu

Enjoy!

________________________________________________________________________________________________________________

Edit (21/03/2008)

RoE v1.00b screenshots:
Image Image Image

IconLibrary included in the Pk4:
Image

here come a first link to the RoE 1.00b version:
http://www.moddb.com/games/33/doom-iii/ ... nmenu-100b

________________________________________________________________________________________________________________

Edit (22/03/2008)

link to the Doom 3 1.00b version:
http://doom3.filefront.com/file/6th_Ven ... menu;88226

2nd link to the RoE 1.00b version:
http://doom3.filefront.com/file/6th_Ven ... _ROE;88227

Cheers!



rich_is_bored@Posted: Tue Mar 04, 2008 12:18 pm :
I wouldn't mind seeing it firsthand but otherwise it looks pretty good.



Douglas Quaid@Posted: Tue Mar 04, 2008 12:43 pm :
looks cool, keep it up. I love the new game screen. It looks very fresh and professional. If your looking to upgrade the soundscape for the menu I can help but so far this looks tip top :D



simulation@Posted: Tue Mar 04, 2008 1:11 pm :
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good.


Me too. This looks very impressive. I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...

http://www.the-emz.com/download/Movie_MD5.wmv

...a very old vid but I've made a new one in many months as I've been bust with other things.

Sim



Douglas Quaid@Posted: Tue Mar 04, 2008 1:22 pm :
Sim you always cease to amaze me :D



simulation@Posted: Tue Mar 04, 2008 1:28 pm :
Douglas Quaid wrote:
Sim you always cease to amaze me :D


lol



6th Venom@Posted: Tue Mar 04, 2008 1:34 pm :
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good

Shame on me cause i don't understand this one... what mean "wouldn't mind seeing it firsthand" please? :oops:

simulation wrote:
I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...


I had seen this one in the old post when i was searching how to render an animated MD5mesh. :wink:
My version not allow to dynamicly change its color with each RGB value :( , but i got a nice rotating scene too! :)



simulation@Posted: Tue Mar 04, 2008 1:40 pm :
6th Venom wrote:
rich_is_bored wrote:
I wouldn't mind seeing it firsthand but otherwise it looks pretty good

Shame on me cause i don't understand this one... what mean "wouldn't mind seeing it firsthand" please? :oops:


We mean use the PK4s outselves instead of looking at screenshots.

6th Venom wrote:
simulation wrote:
I'm interested to see how you did the rotating player models without any SDK work. My own version of that requires SDK changes to get the colours to work...


I had seen this one in the old post when i was searching how to render an animated MD5mesh. :wink:
My version not allow to dynamicly change its color with each RGB value :( , but i got a nice rotating scene too! :)


Good job! Like I said, very impressive.



6th Venom@Posted: Tue Mar 04, 2008 2:25 pm :
simulation wrote:
We mean use the PK4s outselves instead of looking at screenshots.

Oh! thooooo! ...thanks.
Come on guys, don't be affraid to offer less than 30 minutes of translation to me, you'll be able to "use PK4s yourselves instead of looking at screenshots"! :lol:


A more serious point, a friend tested it with Doom3 1.0 and it looks like this one don't care about other strings than the vanilla ones, any infos about that?
(I redid the test with a clean 1.3.1 and all is ok.)



Argoon@Posted: Tue Mar 04, 2008 4:07 pm :
I can translate to Portuguese (Portugal). just PM me with the files and a description of what i need to translate.



Douglas Quaid@Posted: Tue Mar 04, 2008 5:44 pm :
I'll translate it to Irish!



6th Venom@Posted: Tue Mar 04, 2008 9:33 pm :
Argoon wrote:
I can translate to Portuguese (Portugal).

Douglas Quaid wrote:
I'll translate it to Irish!


Many thanks, i didn't knew this two ones were possible, sadly my game don't allow these languages...
My Sys_lang can only be English, German, French, Spanish, Italian, Russian, Polish, Korean, Japanese and Chinese.

Are yours different? I didn't heard about one or more Koreans, Japaneses or Chineses players here at D3W, so i don't plan to release those translations, the acceptable minimum would be:
English (done), French (done), Dutch(almost done). (without any disrespect to others languages)
Adding Spanish and Italian would be better, but if there are no translators, i'll not risk to do it by an internet site.

:idea: I think i'll do a very well commented english strings file , to allow each one to make its own translation if you really want it.

How many players here play with anything else than English, Dutch or French?

Edit: I'd need the 1.3.1 updated languages files in other languages than French and English, the only two ones that i got by the 1.3.1 installer.
(just in case somebody use my ingame "change language" option, to not look at some #str_****** everywhere in the menu)



Ivan_the_B@Posted: Tue Mar 04, 2008 9:53 pm :
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english :mrgreen:

Anyway I'm italian... :lol:



6th Venom@Posted: Tue Mar 04, 2008 10:02 pm :
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?

Maybe not but...
Ivan_the_B wrote:
I think that if someone is able to download and install a mod, he can understand a menu written in english :mrgreen:

...does this player will play all the game in english just to see my menu?
Ivan_the_B wrote:
Anyway I'm italian... :lol:

...that's why america need you! ...or rather I DO! :wink:
Image
By The36venom



Ivan_the_B@Posted: Tue Mar 04, 2008 10:19 pm :
Lol I'll help you.
But anyone could play the game in his own language and use the menu in english if you include only that.

Edit: I mean... just write directly in the "text" fields of the gui and it'll be always the same whatever language is selected.



6th Venom@Posted: Tue Mar 04, 2008 10:39 pm :
Yes, but since i didn't planned it like that, i used a combination of vanilla D3 and customs strings, so will i allow a screen to show some infos in your language and some in english at the same time on the screen? will it look professionnal or "high quality" assets?!? no... i can't, it's against my religion... :D

On a side note, i put an Icons library (DLL) into the PK4 as a sort of bonus, i use this one with all the Doom3 specific extensions like mtr, def, script, pk4, etc... will be usefull for some of you maybe.
Image
By The36venom


:roll: now time to acknowledge that i'm currently fighting with a strange (new) bug that randomly don't fade out the very first screen to the ROQ intro, but everything run okay after the intro.
This problem is really new, since i reworked/optimize some Gui transitions, i'm checking what's wrong at the moment... so i just sent my (commented) "english_venom_menu.lang" to Ivan_the_B (Italian job :D ), Douglas Quaid (Irish) and Argoon (Portuguese)...

Be sure that i really thank you guys, and i'll send you a link to the 30mb PK4 file as soon as i solve it! Be carrefull, it will autodestruct after 5 minutes and erase your Hard drives, that's a common bug.



Douglas Quaid@Posted: Tue Mar 04, 2008 11:59 pm :
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english

I don't know how to download and install a mod. With these new language advancements it will feel like christmas day and santa has delivered a glorious stack of top gifts and prizes :D



Ivan_the_B@Posted: Wed Mar 05, 2008 12:25 am :
Douglas Quaid wrote:
Ivan_the_B wrote:
Are you sure that all those languages are really necessary?
I think that if someone is able to download and install a mod, he can understand a menu written in english

I don't know how to download and install a mod. With these new language advancements it will feel like christmas day and santa has delivered a glorious stack of top gifts and prizes :D

lol :wink::lol:



6th Venom@Posted: Wed Mar 05, 2008 1:54 pm :
Damn, it looks like i made severals errors i my previous posts...
First, the worst, i didn't understood the joke about Irish... :oops::roll: ...then i told about "Dutch" standing for German/Deutsch, i'm so a noob! i apologize to all Germans! :wink:

Back on topic, i removed the little transition bug, so i'm just waitting for some more translations. When i'll receive the German's and the Italian's one, i'll pack these and contact d3files for hosting.
Waiting too long for hypothetics traductors is not a good thing, so i'll copying and renaming the English strings' file to all missing languages for a first release. (as Ivan_the_B suggested.)

I share you the ROE main screen version...
Image
...and apologize for the wait time.



Douglas Quaid@Posted: Wed Mar 05, 2008 4:58 pm :
6th Venom wrote:
i didn't understood the joke about Irish... :oops:

What joke?



TRSGM@Posted: Wed Mar 05, 2008 6:56 pm :
First post here, I've been haunting the various sub-zones on the forum for my ongoing project-- but more on that later.

My two cents:
- Looks kickass. My only gripe is the edge 'fringe' on some of the panels-- that looks kind of odd and I honestly think the flat/straight borders look better. The background textures, etc. look great, though.

Also: Would you mind if I packaged this in DentonMod Revision 3? I've been trying to bring a lot of Doom 3 up to modern standards and the main menu always did kind of bother me. I have a teaser up on D3Files in the PotD for today, and a list of what I've done in the comments.

And incidentally, could I recruit you to fix up the Doom 3 Alpha HUD and make a few changes? I can work magic with C++ but I lack a lot of finesse with the GUI system and am not the greatest at UI texturing. I'd like to adapt it to be more in the style of Halo 3/Metroid Prime in the sense that it looks like it's being projected on the inside of a helmet or something. Another in-the-works gameplay thing.

EDIT: Cool, I didn't see you're making a DentonMod-specific version. Awesome sauce, I'll just use that one.

Also, I was going to mention que je parle francais assez bien, mais j'ai vu que vous avez une traduction déjà.



Tetzlaff@Posted: Wed Mar 05, 2008 11:57 pm :
Nice project, looks neat!

I can do the translations into German, if you want.



6th Venom@Posted: Thu Mar 06, 2008 2:33 am :
If my friend run into translation problems, i'll pm you tomorrow about this Tetslaff, many thanks. :D

Edit: It's late in the night, so i'll pm you tomorrow too about your idea TRSGM!



TRSGM@Posted: Thu Mar 06, 2008 4:29 am :
Cool, good to hear!

It may be a little while 'till I can get back to you tomorrow-- while we have been undergoing some rather belligerent (for lack of a better word) weather as of late over here, (I got the day off from school today) no guarantees about availability tomorrow until circa 3pm EST. PM me or whatever you see fit and I'll get back to ya whenever I can.

FYI to all, I have a thread in this subforum for DentonMod revision 3 set up in the event anyone wants some info ;)
[/hijack]
[/shamelessplug]



6th Venom@Posted: Tue Mar 11, 2008 9:19 pm :
Just to let you know that the Beta test 2 is actually in progress.

Everything seams to be okay, but i "only" got English, German, French and Italian translations. (other languages will have some english words rather than nothing.)
So when i'll got each beta tester's Green light i'll upload the PK4 (1 for D3 and 1 for ROE) at Doom3files & ModDB (if you know another one, let me know).

:D



6th Venom@Posted: Tue Mar 18, 2008 9:29 am :
Hi guys,
I finally uploaded the Doom 3 version, here come links:
D3files: http://doom3.filefront.com/file/6th_Ven ... menu;87981
ModDB: http://www.moddb.com/games/33/doom-iii/ ... q-mainmenu

Enjoy!

Edit: Not mentionned anywhere (shame i forgot...) but the mod is only availlable in English, French, German and Italian.



simulation@Posted: Tue Mar 18, 2008 12:06 pm :
Very, very, very nice!

I love the ROQ/MD5MESH combination for the rotating player set up.

How did you re-create the font files? I've been looking for something cleaner to use myself - these look great!

Would it be ok for me to use some aspects of your work in the next update to EMZ? I'm thinking primarily of the fonts but there are some parts of the GUI design that I may be able to use (visual design is NOT one of my strong points).

Sim



simulation@Posted: Tue Mar 18, 2008 1:47 pm :
simulation wrote:
How did you re-create the font files? I've been looking for something cleaner to use myself - these look great!

Ok, I see what you did with the fonts now - replacing the 12/24 files with the 48 versions. The same effect can be achived by setting these two CVars to zero...

set gui_mediumFontLimit "0"
set gui_smallFontLimit "0"

Sim



Douglas Quaid@Posted: Tue Mar 18, 2008 5:45 pm :
This very cool. Nice work 1st venom :D This could be released as part of the next update for d3. A d3world update for d3 would be cool if everyone helped out to show our appreciation to id for this classic game. Something I'd love to help with. I could help with sound if anybody is interested. You could even have the d3world webpage as one of the options menu. Like a pda file.



port66@Posted: Wed Mar 19, 2008 1:55 am :
http://babelfish.altavista.com/



6th Venom@Posted: Wed Mar 19, 2008 10:57 am :
port66 wrote:
http://babelfish.altavista.com/

:?:



port66@Posted: Wed Mar 19, 2008 12:06 pm :
:| translate the text for your menus



6th Venom@Posted: Wed Mar 19, 2008 2:50 pm :
Automatics translations will give some aberations/strange results in many cases, and i'm not able to verify the final product.
The mod "only" accept English, French, German and Italian, cause i didn't found any translators for other languages... except a strogg... :D



port66@Posted: Wed Mar 19, 2008 7:04 pm :
french german and italian will probaly be a straight translation with simple strings from a menu. if it gets jump messed up then its not 1 for the public sector on a "big name" engine



Xhan@Posted: Thu Mar 20, 2008 7:22 am :
The exit menu should say "Does Hell and its Demons frighten you?" and I've noticed some hitching on planetary flyby. (My custom resolution is 2560x1600)



6th Venom@Posted: Thu Mar 20, 2008 11:32 am :
Xhan wrote:
The exit menu should say "Does Hell and its Demons frighten you?"...

Ok, that will be fixed in the 1.00b so, thank you. :)
Xhan wrote:
...and I've noticed some hitching on planetary flyby. (My custom resolution is 2560x1600)

What do you mean?



6th Venom@Posted: Thu Mar 20, 2008 12:38 pm :
simulation wrote:
Would it be ok for me to use some aspects of your work in the next update to EMZ? I'm thinking primarily of the fonts but there are some parts of the GUI design that I may be able to use (visual design is NOT one of my strong points).


I missed this one, yes sim you could use it, but i'd like to be able to approve or not some "modifications" or even to retouch your final mix myself... (just the visuals)
If that's ok for you, start the caterpillars!



simulation@Posted: Thu Mar 20, 2008 12:59 pm :
6th Venom wrote:
simulation wrote:
Would it be ok for me to use some aspects of your work in the next update to EMZ? I'm thinking primarily of the fonts but there are some parts of the GUI design that I may be able to use (visual design is NOT one of my strong points).


I missed this one, yes sim you could use it, but i'd like to be able to approve or not some "modifications" or even to retouch your final mix myself... (just the visuals)
If that's ok for you, start the caterpillars!


Having looked in more detail at the fonts I don't think I can use that technique in EMZ. They look awful at 640x480, which is what most MP players run at. Even if I were to use the 48pt fonts for everything I can, as I mentioned above, simply change the two gui CVars. But thanks anyway.

I'll PM you if I plan to use anything else.



6th Venom@Posted: Fri Mar 21, 2008 9:12 pm :
Hi, a quick bump to share you the ROE version link:
http://www.moddb.com/games/33/doom-iii/ ... nmenu-100b

a Doom3Files link will come in few hours as links to the Vanilla D3 1.00b version.

Cheers.



Xhan@Posted: Sat Mar 22, 2008 7:08 am :
Quote:
What do you mean?


When Mars come into view, it pauses briefly several times stopping in the view, then continuing.



6th Venom@Posted: Sat Mar 22, 2008 9:34 am :
Xhan wrote:
When Mars come into view, it pauses briefly several times stopping in the view, then continuing.

I think it can be caused by slow harddrive accesses, cause i can't see what else... Does another one got the same issue?



catphone@Posted: Sat Mar 22, 2008 4:55 pm :
6th Venom wrote:
Automatics translations will give some aberations/strange results in many cases, and i'm not able to verify the final product.
The mod "only" accept English, French, German and Italian, cause i didn't found any translators for other languages... except a strogg... :D
i can help you translate the English to Simplified Chinese,how can i do? :)



6th Venom@Posted: Sat Mar 22, 2008 5:38 pm :
Should be great! :)

Three possibilities:
If you downloaded the 1.00 or 1.00a versions:
-Open zpakv00.pk4 with winzip, extract "strings/english_venom_menu.lang" where you want, rename it "chinese_venom_menu.lang"...
-PM me an Email adress where i can send you the file.
If you downloaded the 1.00b version:
-Open zpakv00.pk4 with winzip, extract "strings/temp/chinese_venom_menu.lang" (translation attempt) where you want...

...and then open the file with any text editor (i use context) and start translating! (i advise you to open the english instance aswell for translations comments).
the send it back to me at the36venom[at]hotmail[dot]com

Thank you! :D



6th Venom@Posted: Sat Mar 22, 2008 6:00 pm :
Updated 1st post links. :D

And for curiosity, what do my D3W's family :roll: think about it?



rich_is_bored@Posted: Sun Mar 23, 2008 8:49 am :
IMHO, the biggest improvement was the text clarity. Not only does increasing the resolution of the fonts affect the menus, but you can see a rather dramatic impact when playing through the game aswell.

The only disappointment, and this may very well be outside your control, was that the console text didn't appear to change.

Ah, that reminds me to document those CVars simulation pointed out.



wal@Posted: Sun Mar 23, 2008 9:48 pm :
Just got round to using this, and it’s fucking awesome. I wasn’t expecting it to be this good. Now how about a monster and weapons gallery with cool looking gui stat and info screens using that swirly camera, that runs through the pda that gets filled up as you encounter new monsters and pick up new weapons for the first time. Chop chop :D

6th Venom wrote:
And for curiosity, what do my D3W's family :roll: think about it?

I’ve noticed a distinct lack of enthusiasm here and I think it’s because this site is full of modders rather than fans who, if they’re anything like me, run most mods once then think right, where was I? This mod is going to be used permanently by a lot of people though.



Xhan@Posted: Mon Mar 24, 2008 7:31 am :
Quote:
I think it can be caused by slow harddrive accesses, cause i can't see what else... Does another one got the same issue?


um... I'm using a Raptor150 with 8 gigs of ram on a Q6850 with two 8800Ultras in NAFR... I'm thinking it wold be something else....



6th Venom@Posted: Mon Mar 24, 2008 9:36 am :
The gallery is a good idea, and i already used to look at a rotating hellknight for "tests" (looks cool)
Thinking about something like a mainmenu encyclopedia, about characters, monsters and weapons shouldn't be "too hard"...

Xhan wrote:
um... I'm using a Raptor150 with 8 gigs of ram on a Q6850 with two 8800Ultras in NAFR... I'm thinking it wold be something else....

I think so! :mrgreen:
But i still can't see what is the problem here... cause the mars intro movement is a simple translation from A point to B point.

PS: Some people asked "where is the credits button?" => You didn't try to click on the id software logo? :P



Xhan@Posted: Mon Mar 24, 2008 8:06 pm :
The gallery would be very cool, if I sent you custom textured models, could you do the same? (in the future)

On the whole I like it a lot better than the default from textures to font. A very good job.

The only thing I really miss is the evil "mars highlight" haze-shroud that would surround the right side of mars after a short while.



Xhan@Posted: Fri Mar 28, 2008 6:54 am :
Also, Venom; I noted you don't have support for 2048x1536 or 2560x1600... Could you add those? I'd really like to look as clean and sharp as possible and my native res on both my CRT (2048) and my LCD(2560) are those...



6th Venom@Posted: Fri Mar 28, 2008 11:51 am :
Xhan wrote:
Also, Venom; I noted you don't have support for 2048x1536 or 2560x1600... Could you add those? I'd really like to look as clean and sharp as possible and my native res on both my CRT (2048) and my LCD(2560) are those...


Waw! Great soopa resolutions here! ...but you're a little bad boy! i already added 2560x1600 to the 1.00b update. do your homeworks! :D



Xhan@Posted: Sat Mar 29, 2008 5:00 am :
ah, ok Thanks! I'm still using .00a; I'll fix that. :wink:



ALien8ed@Posted: Mon Apr 07, 2008 9:37 am :
Fantastic mod.

So crisp, sharp and clean it looks fantastic.

Many thanks... :D



6th Venom@Posted: Mon Apr 07, 2008 7:28 pm :
thank you very much :D



kujeger@Posted: Sun Jul 06, 2008 2:28 pm :
Very nice, but overwriting a savegame doesn't work.



TRSGM@Posted: Sun Jul 06, 2008 3:40 pm :
Huh. Never tried that. Certainly a good thing to be aware of!



6th Venom@Posted: Sun Jul 06, 2008 9:49 pm :
kujeger wrote:
Very nice, but overwriting a savegame doesn't work.

Mmh... that's right, i just checked that. :?

I'll be looking at this when i'll got time for it, many thanks for feedbacks, and for using it! :wink:



kujeger@Posted: Mon Jul 07, 2008 9:47 am :
6th Venom wrote:
Mmh... that's right, i just checked that. :?

I'll be looking at this when i'll got time for it, many thanks for feedbacks, and for using it! :wink:


Thanks for making it! It's surprising how much nicer things are with good crisp fonts and graphics on the menu. It looks quite professional.



Gzegzolka@Posted: Sun Oct 11, 2009 10:41 pm :
Hi :) It's awesome mod and I'm useing it now. It's much more better than original D3 main menu. This version of menu should be just like "base" for every new mod. I like it a lot and I can not image playing my D3 without it. Idea about character encyclopedia is also great, it could be enable after player end game as bonus. I wish to see sub-menu like in OpenCo-op mod where player can change his hero head. I like a lot how configuration of many aspects of this game become more easy with this version of menu, it's professional work. 6th Venom You are genius! :)



vertex007@Posted: Mon Oct 12, 2009 1:59 am :
yeah, great addition indeed, a while ago I started-reinstalled D3 from scratch and I was shocked to see how bad and dated the original menu meanwhile looks compared to this.
this and my modded drone music and all was back and good again, the original D3 music is cool but get old after a while ...

the only gripe is that if you set custom widescreen resolutions mars get stretched ..would be nice to fix it

that idea with the "museum" was cool, future update Venom ?

btw. the drone music I was talking about, just replace, put it in the right folder (sound/musical)

http://www.mediafire.com/download.php?dtzmmyaqnyz

it is a loop I edited from LULL, Harris solo project, you know Scorn and the like ..

it settle the mood .. for me at least ..



Douglas Quaid@Posted: Fri Oct 22, 2010 7:41 am :
Thought I'd drop this post in here...I've been messing around with the total recall menu lately and remembered this cool mod! :D

Anyway, I looked into
Code:
zpakv00.pk4\guis\v_mainmenu
and noticed files with the extension *.pd such as loadgame.pd and transitions.pd. I was just wondering did Greg change the main menu elements into templates as I looked in his mainmenu.gui file and there are only a few windowdefs as opposed to the many lines of code in the vanilla mainmenu.gui.
If they are infact templates could somebody inform me on how you could use them please?

EDIT: Cool I just opened them up with notepad (wouldn't let me earlier for some reason) and they seem to be just a very tidied up menu. I'll have a longer look later on today...



simulation@Posted: Fri Oct 22, 2010 11:30 am :
Yes, using includefiles is a way to a) help keep the GUI files easier to manage and b) make elements re-usable between the mainmenu.gui and mpmain.gui

Talk of GUIs reminds me; I don't think I posted my work in progress MP model selector video on this site yet:
http://www.youtube.com/user/SimulationEMZ#p/a/u/0/SDVHbQykwYg



Douglas Quaid@Posted: Fri Oct 22, 2010 4:04 pm :
thanks sim, and the selector is looking great sofar man. Keep it up!



Nermerik@Posted: Sun Oct 31, 2010 9:15 pm :
This new main menu looks awesome, but I'm having a problem when choosing difficulty levels: no matter what I choose, the g_skill cvar is always set to 0 (Recruit). Any fix besides setting the cvar manually?



eVolution@Posted: Wed Jan 12, 2011 6:51 am :
Correct me if I'm wrong, but, didn't this used to have custom music when loaded? Currently I get the stock D3 music.



Douglas Quaid@Posted: Fri Jan 14, 2011 8:09 pm :
Hey guys,

I was wondering can someone help me out here. I've been messing around again with TR's menu system and I can't seem to locate some specifics from venoms HQ menu.

My problem is the New Game select. I'm trying to find out where the code for the level select image transition is...
Code:
//Scene Name
   choiceDef NGBtnText4 {
      rect      5, 117, 220, 10
      choices      "Insert tr map names"
      values      "marscity1;mcunderground;marscity2;admin;alpha1;alpha2;alpha3;alpha4;enpro;commout;communications;recycling1;
recycling2;monorail;delta1;delta2a;delta2b;delta3;delta4;hell;delta5;cpu1;cpuboss;site3;caverns1;caverns2;hellhole" //"#str_3666046"
      gui      "gui_ngscene"
                liveUpdate   1
      choiceType   1
      textscale   0.22
      font           "fonts/micro"
      textaligny   -4
      forecolor   0.6, 0.8, 0.8, 1

This is the code for the level text that is displayed when you click between each map choice but I would like to know where exactly the transitions for the images are. You know, the circlular images of Doom 3's levels which are displayed in the middle of the planet Mars. Any ideas?



NX-317@Posted: Sat Jan 15, 2011 10:23 am :
I think this is it:

In guis\v_mainmenu\newgame.pd:

Code:
onTime 0 {
         if ("gui::gui_ngscene" == 0) {
            set     "NGBtnText5::text" "Waste Storage Center" ;
            set     "SceneScreen::background" "gui/v_mainmenu/vmap_rec2" ;
            //set     "NGBtnText5::text" "#str_03468" ;
            //set     "SceneScreen::background" "gui/v_mainmenu/vmap_mc1" ;
              } else if ( "gui::gui_ngscene" == 1 ) {
            set     "NGBtnText5::text" "HQ2 Test Map" ;   //"#str_03504"
            set     "SceneScreen::background" "gui/v_mainmenu/vmap_mcu" ;
              } else if ( "gui::gui_ngscene" == 2 ) {
            set     "NGBtnText5::text" "COMING SOON" ;            
            //set     "NGBtnText5::text" "#str_03468" ;
            set     "SceneScreen::background" "" ;
            //set     "SceneScreen::background" "gui/v_mainmenu/vmap_mc2" ;
              } else if ( "gui::gui_ngscene" == 3 ) {            
            set     "NGBtnText5::text" "COMING SOON" ;            
            //set     "NGBtnText5::text" "#str_02647" ;
            set     "SceneScreen::background" "" ;
            //set     "SceneScreen::background" "gui/v_mainmenu/vmap_adm" ;
              }

Changes the image when you select a level.


In guis\v_mainmenu\transitions.pd:

Code:
transition "SceneScreen::matcolor" "0 .8 1 0" "1 1 1 1" "1000" ;

Fades in the map image when you click the new game button.


Code:
set "NewGameContainer::visible" "0" ;
transition "SceneScreen::matcolor" "0.65 1 1 1" "0.65 1 1 0" "50" ;

Removes the map image when you close the new game window.


The images themselves are materials which can be found in materials\Venom_menu.mtr

This code is likely different from yours, because I don't have the original version of this menu and look in the files from HardQuore2.



Douglas Quaid@Posted: Sat Jan 15, 2011 4:32 pm :
I'm looking for the actual windowDef information because I want to be able to move the image transition stuff to another part of the screen. I would be looking for something like this...
Code:
windowDef LVLIMAGECIRCLE {
rect 200, 400, 320, 100
}

The above code may sound a little silly but I want to be able to move the Image transition circle to somewhere else on the screen and need to find the code for this.

Thanks nonetheless NX



NX-317@Posted: Sat Jan 15, 2011 5:42 pm :
Well, since it is called SceneScreen in the code, this should be the right WindowDef:

In guis\v_mainmenu\newgame.pd:
Code:
windowDef SceneScreen {
   rect      180, 80, 280, 230
   background   "gui/v_mainmenu/vmap_mc1"
   matcolor   0.65 ,1 ,1 ,0
//   backcolor   0.5 ,0 ,0 ,.5
        visible         1
   noevents   1
}



Douglas Quaid@Posted: Sat Jan 15, 2011 6:12 pm :
My word I'm going blind! I can't believe it is the first piece of code in the Newgame.pd. Typical! :)
Anyway, thanks for the help NX, nice one! :)



john2earth@Posted: Thu May 05, 2011 7:15 am :
EDIT
Found answer a few posts up.



doomrama@Posted: Sun Sep 02, 2012 8:05 am :
I have a small problem with 6th venom HQ Mainmenu.
When i select to play a new game in Doom 3 and no matter what difficulty I select it always for some strange reason setts it self to 0 recruit when the game starts. Doesn't matter if i sett difficulty to marine, veteran or nightmare, it always goes back to 0 recruit.
I tried to re-install Doom 3 and applied the 1.3.1 patch but it doesn't help. Same happens with the Sikkmod version of 6th venom HQ Mainmenu.
Does anybody know how to fix this?



reckless@Posted: Sun Sep 02, 2012 2:47 pm :
Hmm newer stumbled on that bug works fine here :?
Only bug or rather feature lack with 6th venoms menu i have noticed is that you cannot overwrite savegames but else i got no problem with it :(



DGX24@Posted: Fri Sep 21, 2012 3:52 pm :
Also having the problem where you can only play on easy mode. Other than that this mod is awesome. Any way to fix it?



lukeman3000@Posted: Mon Oct 22, 2012 9:37 am :
I'm using this with Sikkmod, but the Sikkmod menu is gone. Is there any way to get it back?



reckless@Posted: Mon Oct 22, 2012 10:16 am :
open 6t venoms pk4 with winrar/7zip and extract guis/v_mainmenu/primary.pd

open it with notepad++ and put this after everything else

Code:
//=================================================================================
// START SIKKMOD MENU
//=================================================================================
   windowDef SikkmodBtnText {
      rect      202, 448, 150, 22
      text      "SIKKMOD OPTIONS"
      textscale   0.25
      textalign   1
      forecolor   1.0, 1.0, 1.0, 0.4
      visible      1
      notime      1

      onMouseEnter {
         set         "ToolTip1::text" "Sikkmod Options Menu";
         set         "ToolTip2::text" "Sikkmod Options Menu";
         transition   "forecolor" "1.0 1.0 1.0 0.4" "1.0 1.0 1.0 1.0" "100";
         resetTime   "ToolTip1" "0";
      }

      onMouseExit {
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
      }

      onAction {
         set         "sikkmod_options::visible" "1";
         set         "cmd" "play guisounds_menuclickup";
         set         "noevents" "1";
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
         resetTime   "0";
      }
      
      onTime 5000 {
         set         "noevents" "0";
      }
   }
   
   windowDef sikkmod_options {
      rect      0, 0, 640, 480
      text      "Sikkmod Options"
      textscale   0.25
      textalign   1
      backcolor   0.1796875, 0.25, 0.296875, 0.8
      visible      0
      notime      1
      modal      1

//=====================================================
// All Sikkmod Options Titles here
      windowDef sikkmod_title {
         rect      0, 0, 640, 480
         visible      1            
         
         windowDef sikkmod_main_bg_L {
            rect        4, 20, 8, 248
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_main_bg_M {
            rect        12, 20, 104, 248
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_main_bg_R {
            rect        104, 20, 8, 248
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_L {
            rect        4, 284, 8, 28
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_binds_bg_M {
            rect        12, 284, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_R {
            rect        104, 284, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         
         windowDef sikkmod_bloom_title {
            rect      8, 24, 96, 20
            text      "Bloom"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
            
            onMouseEnter {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "1";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";   
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_color_title {
            rect      8, 48, 96, 20
            text      "Color"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1

            onMouseEnter {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "1";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_dof_title {
            rect        8, 72, 96, 20
            text        "DoF"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "1";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_hdr_title {
            rect      8, 96, 96, 20
            text      "HDR"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "1";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_motion_title {
            rect      8, 120, 96, 20
            text      "Motion Blur"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "1";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_shadows_title {
            rect      8, 144, 96, 20
            text      "Shadows"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "1";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_ssao_title {
            rect      8, 168, 96, 20
            text      "SSAO"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "1";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_sunfx_title {
            rect      8, 192, 96, 20
            text      "Sun FX"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "1";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_misc_title {
            rect      8, 216, 96, 20
            text      "Misc"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "1";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_game_title {
            rect      8, 240, 96, 20
            text      "Game"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "1";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_binds_title {
            rect      8, 288, 96, 20
            text      "Key Binds"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "1";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "1.0 1.0 1.0 1.0";
            }
         }
      
         windowDef sikkmod_close_bg_L {
            rect        4, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_M {
            rect        12, 340, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_R {
            rect        104, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close {
            rect      8, 344, 96, 20
            text      "Close"
            textscale   0.25
            forecolor   0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
            }
            onMouseExit {
               transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
            }
            onAction {
               set         "sikkmod_options::visible" "0";
               set         "cmd" "play guisounds_menuclickdown";
            }
         }
      }
   
//=====================================================
// Bloom options

      windowDef sikkmod_bloom_settings {
         rect      120, 20, 520, 460
         visible      0

         // Bloom Toggle
         windowDef sikkmod_bloom_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useBloom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Buffer Size
         windowDef sikkmod_bloom_buffersize {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Buffer Size"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBufferSize"
               choices      "32;64;128;256;512;1024"
               values      "0;1;2;3;4;5"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Iterations
         windowDef sikkmod_bloom_iterations {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Iterations"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurIterations"
               choices      "1;2;3;4;5;6"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale X
         windowDef sikkmod_bloom_scalex {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur X Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale Y
         windowDef sikkmod_bloom_scaley {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Y Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Intensity
         windowDef sikkmod_bloom_intensity {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Gamma
         windowDef sikkmod_bloom_gamma {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Color FX options
      windowDef sikkmod_color_settings {
         rect      120, 20, 520, 460
         visible      0

         // Color Grading Toggle
         windowDef sikkmod_color_grading_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Color Grading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useColorGrading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Type
         windowDef sikkmod_color_grading_type {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Type"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingType"
               choices      "Math;LUT"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Parm
         windowDef sikkmod_color_grading_parm {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Parm"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingParm"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Sharpness
         windowDef sikkmod_color_grading_sharpness {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Sharpness"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingSharpness"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Toggle
         windowDef sikkmod_color_filmgrain_toggle {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Film Grain"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useFilmgrain"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Blend Mode
         windowDef sikkmod_color_filmgrain_blendmode {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Blend Mode"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainBlendMode"
               choices      "gl_one, gl_one;gl_zero, gl_one_minus_src_color;gl_dst_color, gl_one;gl_one_minus_dst_color, gl_one"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Scale
         windowDef sikkmod_color_filmgrain_scale {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Strength
         windowDef sikkmod_color_filmgrain_strength {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Vignetting Toggle
         windowDef sikkmod_color_vignetting_toggle {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Vignetting"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useVignetting"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Toggle
         windowDef sikkmod_color_edgeaa_toggle {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Edge AA"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useEdgeAA"
               choices      "Off;RGB edgeAA;FXAA"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Sample Scale
         windowDef sikkmod_color_edgeaa_samplescale {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Sample Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAASampleScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  Edge AA Filter Scale
         windowDef sikkmod_color_edgeaa_filterscale {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Filter Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAAFilterScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Toggle
         windowDef sikkmod_color_celshading_toggle {
            rect      0, 264, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Shading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useCelShading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Method
         windowDef sikkmod_color_celshading_method {
            rect      0, 286, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingMethod"
               choices      "RGB;Luminance;Depth"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Scale
         windowDef sikkmod_color_celshading_scale {
            rect      0, 308, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Threshold
         windowDef sikkmod_color_celshading_threshold {
            rect      0, 330, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// DoF options
      windowDef sikkmod_dof_settings {
         rect      120, 20, 520, 460
         visible      0

         // DoF Toggle
         windowDef sikkmod_dof_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Depth of Field"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useDepthOfField"
               choices      "Off;Automatic;Manual"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Scale
         windowDef sikkmod_dof_blurscale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Quality
         windowDef sikkmod_dof_blurquality {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurQuality"
               choices      "Box;Poisson;Gaussian;Bokeh"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Near Distance
         windowDef sikkmod_dof_distance_near {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Near Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofNear"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Focus Distance
         windowDef sikkmod_dof_distance_focus {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Focus Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFocus"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Far Distance
         windowDef sikkmod_dof_distance_far {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Far Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFar"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Always
         windowDef sikkmod_dof_condition_always {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Always"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionAlways"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Cinematic
         windowDef sikkmod_dof_condition_cinematic {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Cin."
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionCinematic"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: GUI
         windowDef sikkmod_dof_condition_gui {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: GUI"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionGUI"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Reload
         windowDef sikkmod_dof_condition_reload {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Reload"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionReload"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Talk
         windowDef sikkmod_dof_condition_talk {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Talk"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionTalk"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Zoom
         windowDef sikkmod_dof_condition_zoom {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Zoom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionZoom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// HDR options
      windowDef sikkmod_hdr_settings {
         rect      120, 20, 520, 460
         visible      0

         // HDR Toggle
         windowDef sikkmod_hdr_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "HDR"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useHDR"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Tone Mapper
         windowDef sikkmod_hdr_tonemapper {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Adaptation Rate
         windowDef sikkmod_hdr_adaptationrate {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adaptation Rate"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrAdaptationRate"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
           // HDR Middle Gray
         windowDef sikkmod_hdr_middlegray {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR White Point
         windowDef sikkmod_hdr_whitepoint {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Blue Shift Factor
         windowDef sikkmod_hdr_blueshift {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blue Shift Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrBlueShiftFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither
         windowDef sikkmod_hdr_dithertoggle {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDither"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither Size
         windowDef sikkmod_hdr_dithersize {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDitherSize"
               maxchars    32
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Min Luminance
         windowDef sikkmod_hdr_lummin {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMin"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Max Luminance
         windowDef sikkmod_hdr_lummax {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMax"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // HDR Bloom Tone Mapper
         windowDef sikkmod_hdr_bloom_tonemapper {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Middle Gray
         windowDef sikkmod_hdr_bloom_middlegray {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom White Point
         windowDef sikkmod_hdr_bloom_whitepoint {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Threshold
         windowDef sikkmod_hdr_bloom_threshold {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Offset
         windowDef sikkmod_hdr_bloom_offset {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Offset"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomOffset"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Scale
         windowDef sikkmod_hdr_bloom_scale {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Size
         windowDef sikkmod_hdr_bloom_size {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Style
         windowDef sikkmod_hdr_glare_style {
            rect      240, 154, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Style"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 160, 20
               cvar      "r_hdrGlareStyle"
               choices      "Off;Natural;Star;Cross;Snow Cross;Horizontal;Vertical;Star (Spectral);Cross (Spectral);Snow Cross (Spectral);Horizontal (Spectral);Vertical (Spectral)"
               values      "0;1;2;3;4;5;6;7;8;9;10;11"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Scale
         windowDef sikkmod_hdr_glare_scale {
            rect      240, 176, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Glare Size
         windowDef sikkmod_hdr_glare_size {
            rect      240, 198, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Scale
         windowDef sikkmod_hdr_flare_scale {
            rect      240, 220, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Size
         windowDef sikkmod_hdr_flare_size {
            rect      240, 242, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Flare Gamma
         windowDef sikkmod_hdr_flare_gamma {
            rect      240, 264, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   
//=====================================================
// Motion Blur options
      windowDef sikkmod_motion_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Motion Blur Toggle
         windowDef sikkmod_motionblur_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Motion Blur"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 160, 20
               cvar      "r_useMotionBlur"
               choices      "Off;Camera;Accumulation;Camera + Accumulation"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Scale
         windowDef sikkmod_motionblur_scale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Mask Distance
         windowDef sikkmod_motionblur_maskdistance {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Mask Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaskDistance"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur FPS Threshold
         windowDef sikkmod_motionblur_fpsthreshold {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "FPS Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFPSThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Min Threshold
         windowDef sikkmod_motionblur_thresholdmin {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMinThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Max Threshold
         windowDef sikkmod_motionblur_thresholdmax {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaxThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Blend Factor
         windowDef sikkmod_motionblur_blendfactor {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Lerp Factor
         windowDef sikkmod_motionblur_lerpfactor {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lerp Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurLerp"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Quality
         windowDef sikkmod_motionblur_quality {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 220, 20
               cvar      "r_motionBlurQuality"
               choices      "8 Samples;64 Samples (virtual);512 Samples (virtual);4096 Samples (virtual)"
               values      "1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Soft Shadows options
      windowDef sikkmod_shadows_settings {
         rect      120, 20, 520, 460
         visible      0

         // Soft Shadows Toggle
         windowDef sikkmod_softshadows_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Soft Shadows"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSoftShadows"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Filter
         windowDef sikkmod_softshadows_blurfilter {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Filter"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurFilter"
               choices      "None;Box;Poisson;Gaussian"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Scale
         windowDef sikkmod_softshadows_blurscale {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Epsilon
         windowDef sikkmod_softshadows_blurepsilon {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// SSAO options
      windowDef sikkmod_ssao_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // left column
         // SSAO Toggle
         windowDef sikkmod_ssao_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSSAO"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Method
         windowDef sikkmod_ssao_method {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoMethod"
               choices      "Crytek;HDAO;ABAO;PBAO;HBAO(low);HBAO(med);HBAO(high);Ray Marching;VO"
               values      "0;1;2;3;4;5;6;7;8"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Sample Radius
         windowDef sikkmod_ssao_radius {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sample Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Angle Bias
         windowDef sikkmod_ssao_anglebias {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Angle Bias"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBias"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Contrast Amount
         windowDef sikkmod_ssao_amount {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Contrast Amount"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Method
         windowDef sikkmod_ssao_blurmethod {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurMethod"
               choices      "Crytek;Box;Gaussian;Bilateral"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Scale
         windowDef sikkmod_ssao_blurscale {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Epsilon
         windowDef sikkmod_ssao_blurepsilon {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Quality
         windowDef sikkmod_ssao_blurquality {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blend Scale
         windowDef sikkmod_ssao_blendscale {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  SSAO Blend Power
         windowDef sikkmod_ssao_blendpower {
            rect      0, 220, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Power"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendPower"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // SSIL Toggle
         windowDef sikkmod_ssil_toggle {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_useSSIL"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Radius
         windowDef sikkmod_ssil_radius {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Intensity
         windowDef sikkmod_ssil_intensity {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Method
         windowDef sikkmod_ssil_blurmethod {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurMethod"
               choices      "Gaussian;Bilateral"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Scale
         windowDef sikkmod_ssil_blurscale {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Epsilon
         windowDef sikkmod_ssil_blureplsilon {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Quality
         windowDef sikkmod_ssil_blurquality {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Sun Effects options
      windowDef sikkmod_sunfx_settings {
         rect      120, 20, 520, 460
         visible      0

         // Lens Flare Toggle
         windowDef sikkmod_sunfx_lensflare_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useLensFlare"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Lens Flare Strength
         windowDef sikkmod_sunfx_lensflare_strength {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_lensFlareStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Toggle
         windowDef sikkmod_sunfx_sunshafts_toggle {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Shafts"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useSunShafts"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Size
         windowDef sikkmod_sunfx_sunshafts_size {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Strength
         windowDef sikkmod_sunfx_sunshafts_strength {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Mask Strength
         windowDef sikkmod_sunfx_sunshafts_maskstrength {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 160, 20
               text      "Shafts Mask Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsMaskStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Quality
         windowDef sikkmod_sunfx_sunshafts_quality {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin X axis
         windowDef sikkmod_sunfx_sunorigin_x {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: X axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Y axis
         windowDef sikkmod_sunfx_sunorigin_y {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Y axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Z axis
         windowDef sikkmod_sunfx_sunorigin_z {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Z axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginZ"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
      
//=====================================================
// Misc options
      windowDef sikkmod_misc_settings {
         rect      120, 20, 520, 460
         visible      0

         // Crosshair Toggle
         windowDef sikkmod_misc_crosshair_toggle {
            rect      0, 0, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshair"
               choices      "Off;On;Zoom Only"
               values      "0;1;2"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Type
         windowDef sikkmod_misc_crosshair_type {
            rect      0, 16, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairType"
               choices      "Static;Precise"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Lerp
         windowDef sikkmod_misc_crosshair_lerp {
            rect      0, 32, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Lerp"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairLerp"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Hud Type
         windowDef sikkmod_misc_hudtype_toggle {
            rect      0, 48, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Hud Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_HudType"
               choices      "Doom 3;Doom 3: Alpha"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Toggle
         windowDef sikkmod_misc_dynamichud_toggle {
            rect      0, 64, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useDynamicHud"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Time
         windowDef sikkmod_misc_dynamichud_time {
            rect      0, 80, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_dynamicHudTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Goggle Type
         windowDef sikkmod_misc_goggle_type {
            rect      0, 96, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Goggle Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_goggleType"
               choices      "Infrared;Thermal"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Life
         windowDef sikkmod_misc_battery_life {
            rect      0, 112, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Life"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryLife"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Recharge Rate
         windowDef sikkmod_misc_battery_rechargerate {
            rect      0, 128, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Recharge Rate"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryRechargeRate"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Toggle
         windowDef sikkmod_misc_ambientlight_toggle {
            rect      0, 144, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useAmbientLight"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Color
         windowDef sikkmod_misc_ambientlight_color {
            rect      0, 160, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Color"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightColor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Radius
         windowDef sikkmod_misc_ambientlight_radius {
            rect      0, 176, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Radius"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightRadius"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Toggle
         windowDef sikkmod_misc_explosionfx_toggle {
            rect      0, 192, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useExplosionFX"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Time
         windowDef sikkmod_misc_explosionfx_time {
            rect      0, 208, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Scale
         windowDef sikkmod_misc_explosionfx_scale {
            rect      0, 224, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Magnitude"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Toggle
         windowDef sikkmod_misc_bloodspray_toggle {
            rect      0, 240, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showBloodSpray"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Time
         windowDef sikkmod_misc_bloodspray_time {
            rect      0, 256, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Distance
         windowDef sikkmod_misc_bloodspray_distance {
            rect      0, 272, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Distance"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayDistance"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Frequency
         windowDef sikkmod_misc_bloodspray_frequency {
            rect      0, 288, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Screen Frost
         windowDef sikkmod_misc_screenfrost_time {
            rect      0, 304, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Screen Frost Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_screenFrostTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Tracer Frequency
         windowDef sikkmod_misc_tracerfrequency {
            rect      0, 320, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Tracer Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_tracerFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Head Type
         windowDef sikkmod_misc_playerheadtype {
            rect      0, 336, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Player Head Model"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_playerHeadType"
               choices      "Default Head;Marine Helmet"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // First Person Body
         windowDef sikkmod_misc_firstpersonbody {
            rect      0, 352, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "First Person Body"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showFirstPersonBody"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sky Portal Support
         windowDef sikkmod_misc_skyportal {
            rect      0, 368, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Sky Portal Support"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_enablePortalSky"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }

//=====================================================
// Game options
      windowDef sikkmod_game_settings {
         rect      120, 20, 520, 460
         visible      0

         // light column
         // Health Management System
         windowDef sikkmod_game_health_type {
            rect      0, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Management System"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthManagementType"
               choices      "Default;Health Pack;Health Regeneration"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Total
         windowDef sikkmod_game_health_packtotal {
            rect      0, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Total"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTotal"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Uses
         windowDef sikkmod_game_health_packuses {
            rect      0, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Uses"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackUses"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Time
         windowDef sikkmod_game_health_packtime {
            rect      0, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Time
         windowDef sikkmod_game_health_regentime {
            rect      0, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Delay
         windowDef sikkmod_game_health_regendelay {
            rect      0, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Amount
         windowDef sikkmod_game_health_regenamount {
            rect      0, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Amount"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenAmt"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Limit
         windowDef sikkmod_game_health_regenlimit {
            rect      0, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Steps
         windowDef sikkmod_game_health_regensteps {
            rect      0, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Steps"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenSteps"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Feedback
         windowDef sikkmod_game_health_regenfeedback {
            rect      0, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Feedback"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenFeedback"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Pickup Type
         windowDef sikkmod_game_item_pickuptype {
            rect      0, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Pickup Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemPickupType"
               choices      "Automatic;Manual"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Max Armor Type
         windowDef sikkmod_game_item_maxarmortype {
            rect      0, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Max Armor Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemMaxArmorType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Helmet Factor
         windowDef sikkmod_game_item_helmetfactor {
            rect      0, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Helmet Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemHelmetFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Random Value Factor
         windowDef sikkmod_game_item_randomvaluefactor {
            rect      0, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Random Value Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemValueFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Removal Factor
         windowDef sikkmod_game_item_removalfactor {
            rect      0, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Removal Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemRemovalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Corpse Search Factor
         windowDef sikkmod_game_item_searchfactor {
            rect      0, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Corpse Search Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemSearchFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Capacity Type
         windowDef sikkmod_game_ammo_capacitytype {
            rect      0, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Capacity Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoCapacityType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Clip Size Type
         windowDef sikkmod_game_ammo_clipsizetype {
            rect      0, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Clip Size Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoClipSizeType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Usage Type
         windowDef sikkmod_game_ammo_usagetype {
            rect      0, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Usage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoUsageType"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Awareness
         windowDef sikkmod_game_weaponawarenesstoggle {
            rect      0, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Awareness"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponAwareness"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Handling Type
         windowDef sikkmod_game_weaponhandling {
            rect      0, 320, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Handling Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponHandlingType"
               choices      "Spread (Fixed);Spread (Variable);Recoil (Fixed);Recoil (Variable)"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Projectile Origin
         windowDef sikkmod_game_weaponprojectileorigin {
            rect      0, 336, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Projectile Origin"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponProjectileOrigin"
               choices      "Default;Weapon Barrel"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }

         // right column
         // Object Manipulation
         windowDef sikkmod_game_objectmanipulation_toggle {
            rect      260, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Object Manipulation"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_grabMode"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Fall Damage
         windowDef sikkmod_game_falldamage {
            rect      260, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Fall Damage"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_disableFallDamage"
               choices      "On;Off"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Speed Type
         windowDef sikkmod_game_playerspeedtype {
            rect      260, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Player Speed Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_playerSpeedType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Type
         windowDef sikkmod_game_damagetype {
            rect      260, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Zone Type
         windowDef sikkmod_game_damagezonetype {
            rect      260, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Zone Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageZoneType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Type
         windowDef sikkmod_game_enemyhealth_type {
            rect      260, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Enemy Health Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Scale
         windowDef sikkmod_game_enemyhealth_scale {
            rect      260, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Scale"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Random
         windowDef sikkmod_game_enemyhealth_random {
            rect      260, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Randomize"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthRandom"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Spectre Factor
         windowDef sikkmod_game_spectrefactor {
            rect      260, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Spectre Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemySpectreFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Pain Elemental Factor
         windowDef sikkmod_game_painelementalfactor {
            rect      260, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Pain Elemental Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyPainElementalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Baron of Hell Factor
         windowDef sikkmod_game_baronfactor {
            rect      260, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Baron of Hell Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyBaronFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Demon Burn Delay
         windowDef sikkmod_game_burnaway_time {
            rect      260, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Demon Burn Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_burnAwayDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //Cyberdemon Damage Type
         windowDef sikkmod_game_cyberdemondamage_type {
            rect      260, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Cyberdemon Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_cyberdemonDamageType"
               choices      "Soul Cube Only;All Weapons"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Inter Rank Aggression
         windowDef sikkmod_game_interrankaggression_toggle {
            rect      260, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Inter Rank Aggression"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_interRankAggression"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Zombie Resurrection Limit
         windowDef sikkmod_game_zombieresurrect_limit {
            rect      260, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Zombie Resurrection Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_zombieResurrectionLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Toggle
         windowDef sikkmod_game_re_toggle {
            rect      260, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Random Encounters"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_useRandomEncounters"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Spawns
         windowDef sikkmod_game_re_maxspawns {
            rect      260, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Spawns"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxSpawns"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Min Time
         windowDef sikkmod_game_re_mintime {
            rect      260, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Min Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMinTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Time
         windowDef sikkmod_game_re_maxtime {
            rect      260, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Dormant Time
         windowDef sikkmod_game_re_dormanttime {
            rect      260, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Dormant Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersDormantTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }       
      
//=====================================================
// Key Binds
      windowDef sikkmod_binds_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Use Bind
         windowDef sikkmod_keybinds_use {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Use"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse40"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Headlight Bind
         windowDef sikkmod_keybinds_headlight {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Headlight"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse23"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // IR Goggles Bind
         windowDef sikkmod_keybinds_irgoggles {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "IR Goggles"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse24"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Bind
         windowDef sikkmod_keybinds_healthpack {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text        "Health Pack"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse25"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Adrenaline Bind
         windowDef sikkmod_keybinds_adrenaline {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adrenaline"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse26"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   }
//=================================================================================
// END SIKKMOD MENU
//=================================================================================
// <---sikk


put it back into 6th venoms pk4 and save.

open pak_modfiles.pk4 and delete mainmenu.gui save and close.

sikkmod settings are now a part of 6th venoms menu ;)



lukeman3000@Posted: Mon Oct 22, 2012 5:28 pm :
Reckless, thank you!



lukeman3000@Posted: Wed Oct 24, 2012 9:24 pm :
reckless wrote:
open 6t venoms pk4 with winrar/7zip and extract guis/v_mainmenu/primary.pd

open it with notepad++ and put this after everything else

Code:
//=================================================================================
// START SIKKMOD MENU
//=================================================================================
   windowDef SikkmodBtnText {
      rect      202, 448, 150, 22
      text      "SIKKMOD OPTIONS"
      textscale   0.25
      textalign   1
      forecolor   1.0, 1.0, 1.0, 0.4
      visible      1
      notime      1

      onMouseEnter {
         set         "ToolTip1::text" "Sikkmod Options Menu";
         set         "ToolTip2::text" "Sikkmod Options Menu";
         transition   "forecolor" "1.0 1.0 1.0 0.4" "1.0 1.0 1.0 1.0" "100";
         resetTime   "ToolTip1" "0";
      }

      onMouseExit {
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
      }

      onAction {
         set         "sikkmod_options::visible" "1";
         set         "cmd" "play guisounds_menuclickup";
         set         "noevents" "1";
         transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 0.4" "200";
         resetTime   "ToolTip2" "0";
         resetTime   "0";
      }
      
      onTime 5000 {
         set         "noevents" "0";
      }
   }
   
   windowDef sikkmod_options {
      rect      0, 0, 640, 480
      text      "Sikkmod Options"
      textscale   0.25
      textalign   1
      backcolor   0.1796875, 0.25, 0.296875, 0.8
      visible      0
      notime      1
      modal      1

//=====================================================
// All Sikkmod Options Titles here
      windowDef sikkmod_title {
         rect      0, 0, 640, 480
         visible      1            
         
         windowDef sikkmod_main_bg_L {
            rect        4, 20, 8, 248
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_main_bg_M {
            rect        12, 20, 104, 248
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_main_bg_R {
            rect        104, 20, 8, 248
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_L {
            rect        4, 284, 8, 28
               background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
                 noevents    1
         }
         windowDef sikkmod_binds_bg_M {
            rect        12, 284, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_binds_bg_R {
            rect        104, 284, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         
         windowDef sikkmod_bloom_title {
            rect      8, 24, 96, 20
            text      "Bloom"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
            
            onMouseEnter {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_bloom_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "1";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";   
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_color_title {
            rect      8, 48, 96, 20
            text      "Color"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1

            onMouseEnter {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_color_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "1";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }

         windowDef sikkmod_dof_title {
            rect        8, 72, 96, 20
            text        "DoF"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_dof_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "1";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_hdr_title {
            rect      8, 96, 96, 20
            text      "HDR"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_hdr_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "1";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "1.0 1.0 1.0 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_motion_title {
            rect      8, 120, 96, 20
            text      "Motion Blur"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_motion_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "1";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_shadows_title {
            rect      8, 144, 96, 20
            text      "Shadows"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_shadows_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "1";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_ssao_title {
            rect      8, 168, 96, 20
            text      "SSAO"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_ssao_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "1";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_sunfx_title {
            rect      8, 192, 96, 20
            text      "Sun FX"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_sunfx_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "1";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_misc_title {
            rect      8, 216, 96, 20
            text      "Misc"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_misc_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "1";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_game_title {
            rect      8, 240, 96, 20
            text      "Game"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_game_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "1";
               set         "sikkmod_binds_settings::visible"      "0";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "1.0 1.0 1.0 1.0";
               set         "sikkmod_binds_title::forecolor"       "0.6 0.8 0.8 1.0";
            }
         }
   
         windowDef sikkmod_binds_title {
            rect      8, 288, 96, 20
            text      "Key Binds"
            textscale   0.25
            forecolor    0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
               }
            }
            onMouseExit {
               if ( "sikkmod_binds_settings::visible" == 0 ) {
                  transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
               }
            }
            onAction {
               set         "cmd" "play guisounds_menuclickup";
               set         "sikkmod_bloom_settings::visible"       "0";
               set         "sikkmod_color_settings::visible"      "0";
               set         "sikkmod_dof_settings::visible"         "0";
               set         "sikkmod_hdr_settings::visible"         "0";
               set         "sikkmod_motion_settings::visible"      "0";
               set         "sikkmod_shadows_settings::visible"      "0";
               set         "sikkmod_ssao_settings::visible"      "0";
               set         "sikkmod_sunfx_settings::visible"      "0";
               set         "sikkmod_misc_settings::visible"      "0";
               set         "sikkmod_game_settings::visible"      "0";
               set         "sikkmod_binds_settings::visible"      "1";
               set         "sikkmod_bloom_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_color_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_dof_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_hdr_title::forecolor"          "0.6 0.8 0.8 1.0";
               set         "sikkmod_motion_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_shadows_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_ssao_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_sunfx_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_misc_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_game_title::forecolor"       "0.6 0.8 0.8 1.0";
               set         "sikkmod_binds_title::forecolor"       "1.0 1.0 1.0 1.0";
            }
         }
      
         windowDef sikkmod_close_bg_L {
            rect        4, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_M {
            rect        12, 340, 104, 28
            background  "gui/mainmenu/select_border"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close_bg_R {
            rect        104, 340, 8, 28
            background  "gui/mainmenu/select_edge"
            matcolor    0, 0, 0, 1
            noevents    1
         }
         windowDef sikkmod_close {
            rect      8, 344, 96, 20
            text      "Close"
            textscale   0.25
            forecolor   0.6, 0.8, 0.8, 1.0
            visible      1
   
            onMouseEnter {
               transition   "forecolor" "0.6 0.8 0.8 1.0" "1.0 1.0 1.0 1.0" "100";
            }
            onMouseExit {
               transition   "forecolor" "1.0 1.0 1.0 1.0" "0.6 0.8 0.8 1.0" "200";
            }
            onAction {
               set         "sikkmod_options::visible" "0";
               set         "cmd" "play guisounds_menuclickdown";
            }
         }
      }
   
//=====================================================
// Bloom options

      windowDef sikkmod_bloom_settings {
         rect      120, 20, 520, 460
         visible      0

         // Bloom Toggle
         windowDef sikkmod_bloom_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useBloom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Buffer Size
         windowDef sikkmod_bloom_buffersize {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Buffer Size"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBufferSize"
               choices      "32;64;128;256;512;1024"
               values      "0;1;2;3;4;5"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Iterations
         windowDef sikkmod_bloom_iterations {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Iterations"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurIterations"
               choices      "1;2;3;4;5;6"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale X
         windowDef sikkmod_bloom_scalex {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur X Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Scale Y
         windowDef sikkmod_bloom_scaley {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Y Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomBlurScaleY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Intensity
         windowDef sikkmod_bloom_intensity {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Bloom Gamma
         windowDef sikkmod_bloom_gamma {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_bloomGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Color FX options
      windowDef sikkmod_color_settings {
         rect      120, 20, 520, 460
         visible      0

         // Color Grading Toggle
         windowDef sikkmod_color_grading_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Color Grading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useColorGrading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Type
         windowDef sikkmod_color_grading_type {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Type"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingType"
               choices      "Math;LUT"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Parm
         windowDef sikkmod_color_grading_parm {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Parm"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingParm"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Color Grading Sharpness
         windowDef sikkmod_color_grading_sharpness {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "CG Sharpness"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_colorGradingSharpness"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Toggle
         windowDef sikkmod_color_filmgrain_toggle {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Film Grain"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useFilmgrain"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Blend Mode
         windowDef sikkmod_color_filmgrain_blendmode {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Blend Mode"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainBlendMode"
               choices      "gl_one, gl_one;gl_zero, gl_one_minus_src_color;gl_dst_color, gl_one;gl_one_minus_dst_color, gl_one"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Scale
         windowDef sikkmod_color_filmgrain_scale {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Filmgrain Strength
         windowDef sikkmod_color_filmgrain_strength {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Grain Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_filmgrainStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Vignetting Toggle
         windowDef sikkmod_color_vignetting_toggle {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Vignetting"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useVignetting"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Toggle
         windowDef sikkmod_color_edgeaa_toggle {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Edge AA"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useEdgeAA"
               choices      "Off;RGB edgeAA;FXAA"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Edge AA Sample Scale
         windowDef sikkmod_color_edgeaa_samplescale {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Sample Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAASampleScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  Edge AA Filter Scale
         windowDef sikkmod_color_edgeaa_filterscale {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "AA Filter Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_edgeAAFilterScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Toggle
         windowDef sikkmod_color_celshading_toggle {
            rect      0, 264, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Shading"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_useCelShading"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Method
         windowDef sikkmod_color_celshading_method {
            rect      0, 286, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingMethod"
               choices      "RGB;Luminance;Depth"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Scale
         windowDef sikkmod_color_celshading_scale {
            rect      0, 308, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Cel Shading Threshold
         windowDef sikkmod_color_celshading_threshold {
            rect      0, 330, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Cel Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 240, 20
               cvar      "r_celShadingThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// DoF options
      windowDef sikkmod_dof_settings {
         rect      120, 20, 520, 460
         visible      0

         // DoF Toggle
         windowDef sikkmod_dof_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Depth of Field"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useDepthOfField"
               choices      "Off;Automatic;Manual"
               values      "0;1;2"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Scale
         windowDef sikkmod_dof_blurscale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Blur Quality
         windowDef sikkmod_dof_blurquality {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofBlurQuality"
               choices      "Box;Poisson;Gaussian;Bokeh"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Near Distance
         windowDef sikkmod_dof_distance_near {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Near Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofNear"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Focus Distance
         windowDef sikkmod_dof_distance_focus {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Focus Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFocus"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Far Distance
         windowDef sikkmod_dof_distance_far {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Far Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofFar"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Always
         windowDef sikkmod_dof_condition_always {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Always"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionAlways"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Cinematic
         windowDef sikkmod_dof_condition_cinematic {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Cin."
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionCinematic"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: GUI
         windowDef sikkmod_dof_condition_gui {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: GUI"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionGUI"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Reload
         windowDef sikkmod_dof_condition_reload {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Reload"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionReload"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Talk
         windowDef sikkmod_dof_condition_talk {
            rect      0, 220, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Talk"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionTalk"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // DoF Condition: Zoom
         windowDef sikkmod_dof_condition_zoom {
            rect      0, 242, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Condition: Zoom"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_dofConditionZoom"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// HDR options
      windowDef sikkmod_hdr_settings {
         rect      120, 20, 520, 460
         visible      0

         // HDR Toggle
         windowDef sikkmod_hdr_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "HDR"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useHDR"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Tone Mapper
         windowDef sikkmod_hdr_tonemapper {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Adaptation Rate
         windowDef sikkmod_hdr_adaptationrate {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adaptation Rate"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrAdaptationRate"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
           // HDR Middle Gray
         windowDef sikkmod_hdr_middlegray {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR White Point
         windowDef sikkmod_hdr_whitepoint {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Blue Shift Factor
         windowDef sikkmod_hdr_blueshift {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blue Shift Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrBlueShiftFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither
         windowDef sikkmod_hdr_dithertoggle {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDither"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Dither Size
         windowDef sikkmod_hdr_dithersize {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Dither Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrDitherSize"
               maxchars    32
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Min Luminance
         windowDef sikkmod_hdr_lummin {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMin"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Max Luminance
         windowDef sikkmod_hdr_lummax {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max Luminance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_hdrLumThresholdMax"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // HDR Bloom Tone Mapper
         windowDef sikkmod_hdr_bloom_tonemapper {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Tone Mapper"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomToneMapper"
               choices      "Reinhard(RGB);Reinhard(Yxy);Exponential;Filmic(simple);Filmic(complex)"
               values      "0;1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Middle Gray
         windowDef sikkmod_hdr_bloom_middlegray {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Middle Gray"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomMiddleGray"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom White Point
         windowDef sikkmod_hdr_bloom_whitepoint {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom White Point"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomWhitePoint"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Threshold
         windowDef sikkmod_hdr_bloom_threshold {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Offset
         windowDef sikkmod_hdr_bloom_offset {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Offset"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomOffset"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Scale
         windowDef sikkmod_hdr_bloom_scale {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Bloom Size
         windowDef sikkmod_hdr_bloom_size {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Bloom Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrBloomSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Style
         windowDef sikkmod_hdr_glare_style {
            rect      240, 154, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Style"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 160, 20
               cvar      "r_hdrGlareStyle"
               choices      "Off;Natural;Star;Cross;Snow Cross;Horizontal;Vertical;Star (Spectral);Cross (Spectral);Snow Cross (Spectral);Horizontal (Spectral);Vertical (Spectral)"
               values      "0;1;2;3;4;5;6;7;8;9;10;11"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Glare Scale
         windowDef sikkmod_hdr_glare_scale {
            rect      240, 176, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Glare Size
         windowDef sikkmod_hdr_glare_size {
            rect      240, 198, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Glare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrGlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Scale
         windowDef sikkmod_hdr_flare_scale {
            rect      240, 220, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // HDR Flare Size
         windowDef sikkmod_hdr_flare_size {
            rect      240, 242, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
            // HDR Flare Gamma
         windowDef sikkmod_hdr_flare_gamma {
            rect      240, 264, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Flare Gamma"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_hdrFlareGamma"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   
//=====================================================
// Motion Blur options
      windowDef sikkmod_motion_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Motion Blur Toggle
         windowDef sikkmod_motionblur_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Motion Blur"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 160, 20
               cvar      "r_useMotionBlur"
               choices      "Off;Camera;Accumulation;Camera + Accumulation"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Scale
         windowDef sikkmod_motionblur_scale {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Mask Distance
         windowDef sikkmod_motionblur_maskdistance {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Mask Distance"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaskDistance"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur FPS Threshold
         windowDef sikkmod_motionblur_fpsthreshold {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "FPS Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFPSThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Min Threshold
         windowDef sikkmod_motionblur_thresholdmin {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Min. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMinThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Max Threshold
         windowDef sikkmod_motionblur_thresholdmax {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Max. Threshold"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurMaxThreshold"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Blend Factor
         windowDef sikkmod_motionblur_blendfactor {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurFactor"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Lerp Factor
         windowDef sikkmod_motionblur_lerpfactor {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lerp Factor"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_motionBlurLerp"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Motion Blur Quality
         windowDef sikkmod_motionblur_quality {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Quality"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 220, 20
               cvar      "r_motionBlurQuality"
               choices      "8 Samples;64 Samples (virtual);512 Samples (virtual);4096 Samples (virtual)"
               values      "1;2;3;4"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Soft Shadows options
      windowDef sikkmod_shadows_settings {
         rect      120, 20, 520, 460
         visible      0

         // Soft Shadows Toggle
         windowDef sikkmod_softshadows_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Soft Shadows"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSoftShadows"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Filter
         windowDef sikkmod_softshadows_blurfilter {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Filter"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurFilter"
               choices      "None;Box;Poisson;Gaussian"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Scale
         windowDef sikkmod_softshadows_blurscale {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Soft Shadows Blur Epsilon
         windowDef sikkmod_softshadows_blurepsilon {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_softShadowsBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// SSAO options
      windowDef sikkmod_ssao_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // left column
         // SSAO Toggle
         windowDef sikkmod_ssao_toggle {
            rect      0, 0, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_useSSAO"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Method
         windowDef sikkmod_ssao_method {
            rect      0, 22, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSAO Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoMethod"
               choices      "Crytek;HDAO;ABAO;PBAO;HBAO(low);HBAO(med);HBAO(high);Ray Marching;VO"
               values      "0;1;2;3;4;5;6;7;8"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Sample Radius
         windowDef sikkmod_ssao_radius {
            rect      0, 44, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sample Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Angle Bias
         windowDef sikkmod_ssao_anglebias {
            rect      0, 66, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Angle Bias"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBias"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Contrast Amount
         windowDef sikkmod_ssao_amount {
            rect      0, 88, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Contrast Amount"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Method
         windowDef sikkmod_ssao_blurmethod {
            rect      0, 110, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurMethod"
               choices      "Crytek;Box;Gaussian;Bilateral"
               values      "0;1;2;3"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Scale
         windowDef sikkmod_ssao_blurscale {
            rect      0, 132, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Epsilon
         windowDef sikkmod_ssao_blurepsilon {
            rect      0, 154, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blur Quality
         windowDef sikkmod_ssao_blurquality {
            rect      0, 176, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSAO Blend Scale
         windowDef sikkmod_ssao_blendscale {
            rect      0, 198, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //  SSAO Blend Power
         windowDef sikkmod_ssao_blendpower {
            rect      0, 220, 240, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 216, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        224, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Blend Power"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      121, -1, 120, 20
               cvar      "r_ssaoBlendPower"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         
         // right column
         // SSIL Toggle
         windowDef sikkmod_ssil_toggle {
            rect      240, 0, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_useSSIL"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Radius
         windowDef sikkmod_ssil_radius {
            rect      240, 22, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Radius"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilRadius"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Intensity
         windowDef sikkmod_ssil_intensity {
            rect      240, 44, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Intensity"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilAmount"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Method
         windowDef sikkmod_ssil_blurmethod {
            rect      240, 66, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Method"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurMethod"
               choices      "Gaussian;Bilateral"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Scale
         windowDef sikkmod_ssil_blurscale {
            rect      240, 88, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Scale"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurScale"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Epsilon
         windowDef sikkmod_ssil_blureplsilon {
            rect      240, 110, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Epsilon"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurEpsilon"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // SSIL Blur Quality
         windowDef sikkmod_ssil_blurquality {
            rect      240, 132, 340, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 260, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        268, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "SSIL Blur Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      131, -1, 120, 20
               cvar      "r_ssilBlurQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
//=====================================================
// Sun Effects options
      windowDef sikkmod_sunfx_settings {
         rect      120, 20, 520, 460
         visible      0

         // Lens Flare Toggle
         windowDef sikkmod_sunfx_lensflare_toggle {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useLensFlare"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Lens Flare Strength
         windowDef sikkmod_sunfx_lensflare_strength {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Lens Flare Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_lensFlareStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Toggle
         windowDef sikkmod_sunfx_sunshafts_toggle {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Shafts"
               textscale   0.2
            }
            choiceDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_useSunShafts"
               choices      "Off;On"
               choiceType   0
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Size
         windowDef sikkmod_sunfx_sunshafts_size {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Size"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsSize"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Strength
         windowDef sikkmod_sunfx_sunshafts_strength {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Mask Strength
         windowDef sikkmod_sunfx_sunshafts_maskstrength {
            rect      0, 110, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 160, 20
               text      "Shafts Mask Strength"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsMaskStrength"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Shafts Quality
         windowDef sikkmod_sunfx_sunshafts_quality {
            rect      0, 132, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Shafts Quality"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunShaftsQuality"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin X axis
         windowDef sikkmod_sunfx_sunorigin_x {
            rect      0, 154, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: X axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginX"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Y axis
         windowDef sikkmod_sunfx_sunorigin_y {
            rect      0, 176, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Y axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginY"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sun Origin Z axis
         windowDef sikkmod_sunfx_sunorigin_z {
            rect      0, 198, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Sun Origin: Z axis"
               textscale   0.2
            }
            editDef sikkmod_choice {
               rect      160, -1, 120, 20
               cvar      "r_sunOriginZ"
               maxchars    32
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
      
//=====================================================
// Misc options
      windowDef sikkmod_misc_settings {
         rect      120, 20, 520, 460
         visible      0

         // Crosshair Toggle
         windowDef sikkmod_misc_crosshair_toggle {
            rect      0, 0, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshair"
               choices      "Off;On;Zoom Only"
               values      "0;1;2"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Type
         windowDef sikkmod_misc_crosshair_type {
            rect      0, 16, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairType"
               choices      "Static;Precise"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Crosshair Lerp
         windowDef sikkmod_misc_crosshair_lerp {
            rect      0, 32, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Crosshair Lerp"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_crosshairLerp"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Hud Type
         windowDef sikkmod_misc_hudtype_toggle {
            rect      0, 48, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Hud Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_HudType"
               choices      "Doom 3;Doom 3: Alpha"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Toggle
         windowDef sikkmod_misc_dynamichud_toggle {
            rect      0, 64, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useDynamicHud"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Dynamic Hud Time
         windowDef sikkmod_misc_dynamichud_time {
            rect      0, 80, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Dynamic Hud Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_dynamicHudTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Goggle Type
         windowDef sikkmod_misc_goggle_type {
            rect      0, 96, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Goggle Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_goggleType"
               choices      "Infrared;Thermal"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Life
         windowDef sikkmod_misc_battery_life {
            rect      0, 112, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Life"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryLife"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Battery Recharge Rate
         windowDef sikkmod_misc_battery_rechargerate {
            rect      0, 128, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Battery Recharge Rate"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_batteryRechargeRate"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Toggle
         windowDef sikkmod_misc_ambientlight_toggle {
            rect      0, 144, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useAmbientLight"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Color
         windowDef sikkmod_misc_ambientlight_color {
            rect      0, 160, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Color"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightColor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ambient Light Radius
         windowDef sikkmod_misc_ambientlight_radius {
            rect      0, 176, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Ambient Light Radius"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_ambientLightRadius"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Toggle
         windowDef sikkmod_misc_explosionfx_toggle {
            rect      0, 192, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_useExplosionFX"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Time
         windowDef sikkmod_misc_explosionfx_time {
            rect      0, 208, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Explosion FX Scale
         windowDef sikkmod_misc_explosionfx_scale {
            rect      0, 224, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Explosion FX Magnitude"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_explosionFXScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Toggle
         windowDef sikkmod_misc_bloodspray_toggle {
            rect      0, 240, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showBloodSpray"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Time
         windowDef sikkmod_misc_bloodspray_time {
            rect      0, 256, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Duration"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Distance
         windowDef sikkmod_misc_bloodspray_distance {
            rect      0, 272, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Distance"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayDistance"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Blood Spray Frequency
         windowDef sikkmod_misc_bloodspray_frequency {
            rect      0, 288, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Blood Spray Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_bloodSprayFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Screen Frost
         windowDef sikkmod_misc_screenfrost_time {
            rect      0, 304, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Screen Frost Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_screenFrostTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Tracer Frequency
         windowDef sikkmod_misc_tracerfrequency {
            rect      0, 320, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Tracer Frequency"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_tracerFrequency"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Head Type
         windowDef sikkmod_misc_playerheadtype {
            rect      0, 336, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Player Head Model"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_playerHeadType"
               choices      "Default Head;Marine Helmet"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // First Person Body
         windowDef sikkmod_misc_firstpersonbody {
            rect      0, 352, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "First Person Body"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_showFirstPersonBody"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Sky Portal Support
         windowDef sikkmod_misc_skyportal {
            rect      0, 368, 400, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Sky Portal Support"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      160, -2, 152, 12
               cvar      "g_enablePortalSky"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }

//=====================================================
// Game options
      windowDef sikkmod_game_settings {
         rect      120, 20, 520, 460
         visible      0

         // light column
         // Health Management System
         windowDef sikkmod_game_health_type {
            rect      0, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Management System"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthManagementType"
               choices      "Default;Health Pack;Health Regeneration"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Total
         windowDef sikkmod_game_health_packtotal {
            rect      0, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Total"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTotal"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Uses
         windowDef sikkmod_game_health_packuses {
            rect      0, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Uses"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackUses"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Time
         windowDef sikkmod_game_health_packtime {
            rect      0, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Pack Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthPackTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Time
         windowDef sikkmod_game_health_regentime {
            rect      0, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Delay
         windowDef sikkmod_game_health_regendelay {
            rect      0, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Amount
         windowDef sikkmod_game_health_regenamount {
            rect      0, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Amount"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenAmt"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Limit
         windowDef sikkmod_game_health_regenlimit {
            rect      0, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Steps
         windowDef sikkmod_game_health_regensteps {
            rect      0, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Steps"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenSteps"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Regen Feedback
         windowDef sikkmod_game_health_regenfeedback {
            rect      0, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Health Regen Feedback"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_healthRegenFeedback"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Pickup Type
         windowDef sikkmod_game_item_pickuptype {
            rect      0, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Pickup Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemPickupType"
               choices      "Automatic;Manual"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Max Armor Type
         windowDef sikkmod_game_item_maxarmortype {
            rect      0, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Max Armor Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemMaxArmorType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Helmet Factor
         windowDef sikkmod_game_item_helmetfactor {
            rect      0, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Helmet Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemHelmetFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Random Value Factor
         windowDef sikkmod_game_item_randomvaluefactor {
            rect      0, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Random Value Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemValueFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Removal Factor
         windowDef sikkmod_game_item_removalfactor {
            rect      0, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Items: Removal Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemRemovalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Item Corpse Search Factor
         windowDef sikkmod_game_item_searchfactor {
            rect      0, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Items: Corpse Search Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_itemSearchFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Capacity Type
         windowDef sikkmod_game_ammo_capacitytype {
            rect      0, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Capacity Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoCapacityType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Clip Size Type
         windowDef sikkmod_game_ammo_clipsizetype {
            rect      0, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Clip Size Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoClipSizeType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Ammo Usage Type
         windowDef sikkmod_game_ammo_usagetype {
            rect      0, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Ammo: Usage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_ammoUsageType"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Awareness
         windowDef sikkmod_game_weaponawarenesstoggle {
            rect      0, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Awareness"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponAwareness"
               choices      "Normal;Realistic"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Handling Type
         windowDef sikkmod_game_weaponhandling {
            rect      0, 320, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Handling Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponHandlingType"
               choices      "Spread (Fixed);Spread (Variable);Recoil (Fixed);Recoil (Variable)"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Weapon Projectile Origin
         windowDef sikkmod_game_weaponprojectileorigin {
            rect      0, 336, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Weapon Projectile Origin"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_weaponProjectileOrigin"
               choices      "Default;Weapon Barrel"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }

         // right column
         // Object Manipulation
         windowDef sikkmod_game_objectmanipulation_toggle {
            rect      260, 0, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Object Manipulation"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_grabMode"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Fall Damage
         windowDef sikkmod_game_falldamage {
            rect      260, 16, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Fall Damage"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_disableFallDamage"
               choices      "On;Off"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Player Speed Type
         windowDef sikkmod_game_playerspeedtype {
            rect      260, 32, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Player Speed Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_playerSpeedType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Type
         windowDef sikkmod_game_damagetype {
            rect      260, 48, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Damage Zone Type
         windowDef sikkmod_game_damagezonetype {
            rect      260, 64, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Damage Zone Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_damageZoneType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Type
         windowDef sikkmod_game_enemyhealth_type {
            rect      260, 80, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Enemy Health Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthType"
               choices      "Doom 3;Doom 1&2;Custom"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Scale
         windowDef sikkmod_game_enemyhealth_scale {
            rect      260, 96, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Scale"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthScale"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Enemy Health Random
         windowDef sikkmod_game_enemyhealth_random {
            rect      260, 112, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Enemy Health Randomize"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyHealthRandom"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Spectre Factor
         windowDef sikkmod_game_spectrefactor {
            rect      260, 128, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Spectre Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemySpectreFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Pain Elemental Factor
         windowDef sikkmod_game_painelementalfactor {
            rect      260, 144, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Pain Elemental Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyPainElementalFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Baron of Hell Factor
         windowDef sikkmod_game_baronfactor {
            rect      260, 160, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Baron of Hell Factor"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_enemyBaronFactor"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Demon Burn Delay
         windowDef sikkmod_game_burnaway_time {
            rect      260, 176, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Demon Burn Delay"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_burnAwayDelay"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         //Cyberdemon Damage Type
         windowDef sikkmod_game_cyberdemondamage_type {
            rect      260, 192, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Cyberdemon Damage Type"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_cyberdemonDamageType"
               choices      "Soul Cube Only;All Weapons"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Inter Rank Aggression
         windowDef sikkmod_game_interrankaggression_toggle {
            rect      260, 208, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Inter Rank Aggression"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_interRankAggression"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Zombie Resurrection Limit
         windowDef sikkmod_game_zombieresurrect_limit {
            rect      260, 224, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Zombie Resurrection Limit"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_zombieResurrectionLimit"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Toggle
         windowDef sikkmod_game_re_toggle {
            rect      260, 240, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 120, 12
               text      "Random Encounters"
               textscale   0.15
            }
            choiceDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_useRandomEncounters"
               choices      "Off;On"
               choiceType   0
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Spawns
         windowDef sikkmod_game_re_maxspawns {
            rect      260, 256, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Spawns"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxSpawns"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Min Time
         windowDef sikkmod_game_re_mintime {
            rect      260, 272, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Min Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMinTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Max Time
         windowDef sikkmod_game_re_maxtime {
            rect      260, 288, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Max Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersMaxTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Random Encounters Dormant Time
         windowDef sikkmod_game_re_dormanttime {
            rect      260, 304, 254, 12
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 12
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 238, 12
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        246, 0, 8, 12
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -2, 140, 12
               text      "Random Enc. Dormant Time"
               textscale   0.15
            }
            editDef sikkmod_choice {
               rect      151, -2, 120, 12
               cvar      "g_randomEncountersDormantTime"
               maxchars    32
               textscale   0.15
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }       
      
//=====================================================
// Key Binds
      windowDef sikkmod_binds_settings {
         rect      120, 20, 520, 460
         visible      0
         
         // Use Bind
         windowDef sikkmod_keybinds_use {
            rect      0, 0, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Use"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse40"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Headlight Bind
         windowDef sikkmod_keybinds_headlight {
            rect      0, 22, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Headlight"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse23"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // IR Goggles Bind
         windowDef sikkmod_keybinds_irgoggles {
            rect      0, 44, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "IR Goggles"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse24"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Health Pack Bind
         windowDef sikkmod_keybinds_healthpack {
            rect      0, 66, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text        "Health Pack"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse25"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
         // Adrenaline Bind
         windowDef sikkmod_keybinds_adrenaline {
            rect      0, 88, 400, 20
            
            windowDef sikkmod_background_L {
               rect        0, 0, 8, 16
               background  "gui/mainmenu/select_edge"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_M {
               rect        8, 0, 304, 16
               background  "gui/mainmenu/select_border"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_background_R {
               rect        312, 0, 8, 16
               background  "gui/mainmenu/select_angle"
               matcolor    0, 0, 0, 1
               noevents    1
            }
            windowDef sikkmod_name {
               rect      1, -1, 120, 20
               text      "Adrenaline"
               textscale   0.2
            }
            bindDef sikkmod_choice {
               rect      121, -1, 120, 20
               bind        "_impulse26"
               textscale   0.2
               forecolor   0.6, 0.8, 0.8, 1
            }
         }
      }
   }
//=================================================================================
// END SIKKMOD MENU
//=================================================================================
// <---sikk


put it back into 6th venoms pk4 and save.

open pak_modfiles.pk4 and delete mainmenu.gui save and close.

sikkmod settings are now a part of 6th venoms menu ;)


Does this also work for 6th Venom ROE?



reckless@Posted: Wed Oct 24, 2012 10:04 pm :
It might but the sikkpin code for ROE is a bit older so its probably better to check it first.

My pack has it with the code from his ROE mod.



lukeman3000@Posted: Wed Oct 24, 2012 10:37 pm :
So, is that massive mount of code just copied and pasted from sikkmod itself and put into Venom's mod?

Could I just open up sikkmod ROE and take the menu code out of there and put it into Venom?



reckless@Posted: Wed Oct 24, 2012 10:58 pm :
pretty much aye :) just remember to remove sikkmods mainmenu.gui file.

theres also a few other things to do that i forgot to post ill see if i can dig up the changes nessesary.



reckless@Posted: Thu Nov 29, 2012 3:13 am :
Btw confirmed the skill setting is not working :( no matter what you select g_skill defaults to 0. Can check it by entering g_skill in the console it will allways return 0 with venoms hd menu. For now untill someone can look into fixing this set g_skill via the console 3 is nightmare.