Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Page 2

  1. #1
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts

    Page 2

    Hi Guys, i have a weapon menu on my server, and this is now very full (40 weapons), i want to make a page 2 , but idk how i can make this. Can somebody help me? and if you take your weapon a secoundary menu will come, if you know how to make please answer back.

    thank you

  2. #2
    Private
    Join Date
    Jan 2013
    Location
    Hungary
    Posts
    113
    Thanks
    10
    Thanked 74 Times in 45 Posts
    Create the second page, and the scrolling buttons (e.g. "Next Page", "Previous Page") at the first one, what opens the new menu. Its pretty simple. xd

  3. #3
    Private First Class thOuMta's Avatar
    Join Date
    Oct 2012
    Location
    France
    Posts
    191
    Thanks
    139
    Thanked 35 Times in 28 Posts
    PHP Code:
    action
    {
        
    play "mouse_click";
        
    open page2;
    }
    onFocus
    {
        
    play "mouse_over";

    Juste make it, its very simple

  4. #4
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    No, its not easy and and it will not open.

  5. #5
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    it will open. Make sure u edit _menus.gsc
    Code:
    action 
    { 
        play "mouse_click"; 
        close "page1";
        open "page2"; 
    } 
    onFocus 
    { 
        play "mouse_over"; 
    }

  6. The Following User Says Thank You to Ni3ls For This Useful Post:

    thOuMta (1st June 2013)

  7. #6
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Ni3ls View Post
    it will open. Make sure u edit _menus.gsc
    Code:
    action 
    { 
        play "mouse_click"; 
        close "page1";
        open "page2"; 
    } 
    onFocus 
    { 
        play "mouse_over"; 
    }
    There is nothing in that menu code which is monitored in _menus.gsc.

  8. #7
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Loveboy View Post
    No, its not easy and and it will not open.
    Modding elementary - post your code for us to check.

    I will say - if it isn't opening, check the name of your page2 menu with the menu action "open". The "open" action looks for a menu name. If the menu name is wrong, it wont open.

    BTW - when I say menu name, I do not mean the name of the menu file. I mean the name you have to give a menu after menuDef{}.

    Example:

    PHP Code:
        menuDef
        
    {
            
    name            "page2"
            
    rect            0 0 640 480
            focuscolor        GLOBAL_FOCUSED_COLOR
            style            WINDOW_STYLE_EMPTY
            blurWorld        5.0
        

    Last edited by Tally; 1st June 2013 at 13:18.

  9. The Following User Says Thank You to Tally For This Useful Post:

    kung foo man (1st June 2013)

  10. #8
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Lemme just say this one word:

    Precache.

  11. #9
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    I can not get ahead. Here the scripts:

    filename: weapon_american.menu location: ui_mp/scriptmenus/weapon_american.menu

    script:

    Code:
    #include "ui_mp/menudef.h"
    
    #define ORIGIN_TITLE				48 64
    #define ORIGIN_CHOICE1				80 84
    #define ORIGIN_CHOICE2				80 108
    #define ORIGIN_CHOICE3				80 132
    #define ORIGIN_CHOICE4				80 156
    #define ORIGIN_CHOICE5				80 180
    #define ORIGIN_CHOICE6				80 204
    #define ORIGIN_CHOICE7				80 228
    #define ORIGIN_CHOICE8				560 355
    
    #define ORIGIN_WEAPONIMAGE			296 84
    #define ORIGIN_WEAPONTEXT			296 220
    #define ORIGIN_WEAPONPROPERTIESTEXT	296 290
    #define ORIGIN_WEAPONACCURACY		395 277
    #define ORIGIN_WEAPONDAMAGE			395 301
    #define ORIGIN_WEAPONMOBILITY		395 325
    #define ORIGIN_GRENADESLOT1			296 144
    #define ORIGIN_GRENADESLOT2			312 144
    #define ORIGIN_GRENADESLOT3			328 144
    
    {
    	menuDef
    	{
    		name			"weapon_american"
    		rect			0 0 640 480
    		focuscolor		GLOBAL_FOCUSED_COLOR
    		style			WINDOW_STYLE_EMPTY
    		blurWorld		5.0
    		onEsc 
    		{
    			close weapon_american;
    		}
    		onOpen 
    		{
    			show greasegun_info;
    			show weapon_propertiestext;
    		}
    		onClose
    		{
    			hide m1carbine_info;
    			hide m1garand_info;
    			hide thompson_info;
    			hide bar_info;
    			hide springfield_info;
    			hide shotgun_info;
    		}
    
    		// Gradient
    		itemDef
    		{
    			style			WINDOW_STYLE_SHADER
    			//rect			-107 0 554 480
    			rect			0 0 640 480 HORIZONTAL_ALIGN_FULLSCREEN VERTICAL_ALIGN_FULLSCREEN
    			background		"gradient"
    			visible			1
    			decoration
    		}
    
    		#include "ui/bars.menu"
    
    		itemDef
    		{
    			type			ITEM_TYPE_TEXT
    			visible			1
    			origin			ORIGIN_TITLE
    			forecolor		1 1 1 1
    			text			"@MPUI_AMERICAN_WEAPONS"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_HEADER_SIZE
    			decoration
    		}
    
    // MENU CHOICES
    		execKey "1" { play "mouse_click"; scriptMenuResponse "greasegun_mp" }
    		execKey "2" { play "mouse_click"; scriptMenuResponse "m1carbine_mp" }
    		execKey "3" { play "mouse_click"; scriptMenuResponse "m1garand_mp" }
    		execKey "4" { play "mouse_click"; scriptMenuResponse "springfield_mp" }
    		execKey "5" { play "mouse_click"; scriptMenuResponse "shotgun_mp" }
    		execKey "6" { play "mouse_click"; scriptMenuResponse "thompson_mp" }
    		execKey "7" { play "mouse_click"; scriptMenuResponse "bar_mp" }
    
    		itemDef 
    		{
    			name			"button_greasegun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE1
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_1_GREASEGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_greasegun"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "greasegun_mp";
    			}
    			onFocus
    			{
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show greasegun_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_greasegun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE1
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_1_GREASEGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_greasegun"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show greasegun_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_m1carbine"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE2
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_2_M1A1_CARBINE"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1carbine"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "m1carbine_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1carbine_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_m1carbine"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE2
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_2_M1A1_CARBINE"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1carbine"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1carbine_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_m1garand"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE3
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_3_M1_GARAND"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1garand"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "m1garand_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1garand_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_m1garand"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE3
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_3_M1_GARAND"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1garand"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1garand_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_springfield"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE4
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_4_SPRINGFIELD"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_springfield"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "springfield_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show springfield_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_springfield"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE4
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_4_SPRINGFIELD"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_springfield"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show springfield_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_shotgun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE5
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_5_SHOTGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_shotgun"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "shotgun_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				play "mouse_over";
    				show shotgun_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_shotgun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE5
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_5_SHOTGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_shotgun"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				play "mouse_over";
    				show shotgun_info;
    				show weapon_propertiestext;
    			}
    		}
    		
    		itemDef 
    		{
    			name			"button_thompson"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE6
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_6_THOMPSON"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_thompson"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "thompson_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show thompson_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_thompson"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE6
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_6_THOMPSON"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_thompson"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show thompson_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_bar"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE7
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_7_BAR"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_bar"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "bar_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show bar_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_bar"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE7
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_7_BAR"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_bar"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show bar_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_page2"
    			visible			1
    			rect			0 0 128 20
    			origin			ORIGIN_CHOICE8
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"Page 2"
    			textfont		UI_FONT_NORMAL
    			textscale		1
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_page2"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				open page2;
    			}
    			onFocus
    			{
        				play "mouse_over";
    			}  
    		}
    		itemDef 
    		{
    			name			"button_page2"
    			visible			1
    			rect			0 0 128 20
    			origin			ORIGIN_CHOICE8
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"Page 2"
    			textfont		UI_FONT_NORMAL
    			textscale		1
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_page2"
    			hideDvar		{ "1" }
    			onFocus
    			{
    				hide enfield_info;
    				hide nagant_info;
    				hide kar98k_info;
    				hide springfield_info;
    				hide enfieldsniper_info;
    				hide nagantsniper_info;
    				hide kar98ksniper_info;
    				hide danifilth_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide svt40_info;
    				hide g43_info;
    				hide g43sniper_info;
    				hide weapon_propertiestext;
    			}
    		}
    		
    		itemDef 
    		{
    			#include "ui_mp/button_mainmenu.menu"
    
    			action
    			{
    				play "mouse_click";
    				close ingame;
    				open main;
    			}
    			onFocus
    			{
    				play "mouse_over";
    			}
    		}
    		
    // WEAPON IMAGES
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 6 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_thompson"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_m1carbine"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_m1garand"
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 -2 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_bar"
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 4 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_springfield"
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 6 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_greasegun"
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_shotgun"
    			decoration
    		}
    
    /*
    // WEAPON DESCRIPTIONS
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 17 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_THOMPSON_IS_DEADLY"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_M1A1_CARBINE_IS_A"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_M1_GARAND_IS_A_POWERFUL"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_BROWNING_AUTOMATIC"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THIS_IS_A_SNIPER_RIFLE"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    */
    // WEAPON PROPERTIES
    		itemDef
    		{
    			name			"weapon_propertiestext"
    			visible 		0
    			origin			ORIGIN_WEAPONPROPERTIESTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_ACCURACY_DAMAGE_MOBILITY"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 56 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 83 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 64 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 110 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 80 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 72 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 120 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 64 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 80 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		
    				itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 70 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 75 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 35 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 100 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 80 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    // GRENADE LOADOUT
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    // SMOKE GRENADE LOADOUT
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"hud_us_smokegrenade_C"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"hud_us_smokegrenade_C"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"hud_us_smokegrenade_C"
    			decoration
    		}
    	}
    }

  12. #10
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    next file name: page2.menu location: ui_mp/scriptmenus/page2.menu

    script:
    Code:
    #include "ui_mp/menudef.h"
    
    #define ORIGIN_TITLE				48 64
    #define ORIGIN_CHOICE1				80 84
    #define ORIGIN_CHOICE2				80 108
    #define ORIGIN_CHOICE3				80 132
    #define ORIGIN_CHOICE4				80 156
    #define ORIGIN_CHOICE5				80 180
    #define ORIGIN_CHOICE6				80 204
    #define ORIGIN_CHOICE7				80 228
    
    #define ORIGIN_WEAPONIMAGE			296 84
    #define ORIGIN_WEAPONTEXT			296 220
    #define ORIGIN_WEAPONPROPERTIESTEXT	296 290
    #define ORIGIN_WEAPONACCURACY		395 277
    #define ORIGIN_WEAPONDAMAGE			395 301
    #define ORIGIN_WEAPONMOBILITY		395 325
    #define ORIGIN_GRENADESLOT1			296 144
    #define ORIGIN_GRENADESLOT2			312 144
    #define ORIGIN_GRENADESLOT3			328 144
    
    {
    	menuDef
    	{
    		name			"page2"
    		rect			0 0 640 480
    		focuscolor		GLOBAL_FOCUSED_COLOR
    		style			WINDOW_STYLE_EMPTY
    		blurWorld		5.0
    		onEsc 
    		{
    			close weapon_american;
    		}
    		onOpen 
    		{
    			show greasegun_info;
    			show weapon_propertiestext;
    		}
    		onClose
    		{
    			hide m1carbine_info;
    			hide m1garand_info;
    			hide thompson_info;
    			hide bar_info;
    			hide springfield_info;
    			hide shotgun_info;
    		}
    
    		// Gradient
    		itemDef
    		{
    			style			WINDOW_STYLE_SHADER
    			//rect			-107 0 554 480
    			rect			0 0 640 480 HORIZONTAL_ALIGN_FULLSCREEN VERTICAL_ALIGN_FULLSCREEN
    			background		"gradient"
    			visible			1
    			decoration
    		}
    
    		#include "ui/bars.menu"
    
    		itemDef
    		{
    			type			ITEM_TYPE_TEXT
    			visible			1
    			origin			ORIGIN_TITLE
    			forecolor		1 1 1 1
    			text			"@MPUI_AMERICAN_WEAPONS"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_HEADER_SIZE
    			decoration
    		}
    
    // MENU CHOICES
    		execKey "1" { play "mouse_click"; scriptMenuResponse "greasegun_mp" }
    		execKey "2" { play "mouse_click"; scriptMenuResponse "m1carbine_mp" }
    		execKey "3" { play "mouse_click"; scriptMenuResponse "m1garand_mp" }
    		execKey "4" { play "mouse_click"; scriptMenuResponse "springfield_mp" }
    		execKey "5" { play "mouse_click"; scriptMenuResponse "shotgun_mp" }
    		execKey "6" { play "mouse_click"; scriptMenuResponse "thompson_mp" }
    		execKey "7" { play "mouse_click"; scriptMenuResponse "bar_mp" }
    
    		itemDef 
    		{
    			name			"button_greasegun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE1
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_1_GREASEGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_greasegun"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "greasegun_mp";
    			}
    			onFocus
    			{
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show greasegun_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_greasegun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE1
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_1_GREASEGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_greasegun"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show greasegun_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_m1carbine"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE2
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_2_M1A1_CARBINE"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1carbine"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "m1carbine_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1carbine_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_m1carbine"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE2
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_2_M1A1_CARBINE"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1carbine"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1carbine_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_m1garand"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE3
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_3_M1_GARAND"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1garand"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "m1garand_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1garand_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_m1garand"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE3
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_3_M1_GARAND"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_m1garand"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide thompson_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show m1garand_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_springfield"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE4
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_4_SPRINGFIELD"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_springfield"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "springfield_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show springfield_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_springfield"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE4
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_4_SPRINGFIELD"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_springfield"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide bar_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show springfield_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_shotgun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE5
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_5_SHOTGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_shotgun"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "shotgun_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				play "mouse_over";
    				show shotgun_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_shotgun"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE5
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_5_SHOTGUN"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_shotgun"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide thompson_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				play "mouse_over";
    				show shotgun_info;
    				show weapon_propertiestext;
    			}
    		}
    		
    		itemDef 
    		{
    			name			"button_thompson"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE6
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_6_THOMPSON"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_thompson"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "thompson_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show thompson_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_thompson"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE6
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_6_THOMPSON"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_thompson"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide bar_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show thompson_info;
    				show weapon_propertiestext;
    			}
    		}
    
    		itemDef 
    		{
    			name			"button_bar"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE7
    			forecolor		GLOBAL_UNFOCUSED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_7_BAR"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_bar"
    			showDvar		{ "1" }
    			action
    			{
    				play "mouse_click";
    				scriptMenuResponse "bar_mp";
    			}
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show bar_info;
    				show weapon_propertiestext;
    			}
    		}
    		itemDef 
    		{
    			name			"button_bar"
    			visible			1
    			rect			0 0 128 24
    			origin			ORIGIN_CHOICE7
    			forecolor		GLOBAL_DISABLED_COLOR
    			type			ITEM_TYPE_BUTTON
    			text			"@MPUI_7_BAR"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			textstyle		ITEM_TEXTSTYLE_SHADOWED
    			textaligny		20
    			dvartest		"ui_allow_bar"
    			showDvar		{ "2" }
    			onFocus
    			{
    				hide greasegun_info;
    				hide m1carbine_info;
    				hide m1garand_info;
    				hide thompson_info;
    				hide springfield_info;
    				hide shotgun_info;
    				play "mouse_over";
    				show bar_info;
    				show weapon_propertiestext;
    			}
    		}
    		
    		itemDef 
    		{
    			#include "ui_mp/button_mainmenu.menu"
    
    			action
    			{
    				play "mouse_click";
    				close ingame;
    				open main;
    			}
    			onFocus
    			{
    				play "mouse_over";
    			}
    		}
    		
    // WEAPON IMAGES
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 6 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_thompson"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_m1carbine"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_m1garand"
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 -2 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_bar"
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 4 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_springfield"
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 6 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_greasegun"
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 224 112
    			origin			ORIGIN_WEAPONIMAGE
    	 		style			WINDOW_STYLE_SHADER
    			background		"weapon_shotgun"
    			decoration
    		}
    
    /*
    // WEAPON DESCRIPTIONS
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 17 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_THOMPSON_IS_DEADLY"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_M1A1_CARBINE_IS_A"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_M1_GARAND_IS_A_POWERFUL"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THE_BROWNING_AUTOMATIC"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 224 64
    			origin			ORIGIN_WEAPONTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_THIS_IS_A_SNIPER_RIFLE"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    */
    // WEAPON PROPERTIES
    		itemDef
    		{
    			name			"weapon_propertiestext"
    			visible 		0
    			origin			ORIGIN_WEAPONPROPERTIESTEXT
    			forecolor		1 1 1 1
    			autowrapped
    			text			"@MPUI_ACCURACY_DAMAGE_MOBILITY"
    			textfont		UI_FONT_NORMAL
    			textscale		GLOBAL_TEXT_SIZE
    			decoration
    		}
    
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 56 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 83 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 64 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 110 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 80 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 72 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 120 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 64 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 80 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		
    				itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 70 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 75 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 96 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 35 10
    			origin			ORIGIN_WEAPONACCURACY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 100 10
    			origin			ORIGIN_WEAPONDAMAGE
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 128 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 .125
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 80 10
    			origin			ORIGIN_WEAPONMOBILITY
    			backcolor		1 1 1 1
    	 		style			WINDOW_STYLE_FILLED
    			decoration
    		}
    
    // GRENADE LOADOUT
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1carbine_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"m1garand_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"bar_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT2
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    		itemDef
    		{
    			name			"springfield_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT1
    	 		style			WINDOW_STYLE_SHADER
    			background		"gfx/icons/hud@us_grenade_C.tga"
    			decoration
    		}
    
    // SMOKE GRENADE LOADOUT
    		itemDef
    		{
    			name			"thompson_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"hud_us_smokegrenade_C"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"greasegun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"hud_us_smokegrenade_C"
    			decoration
    		}
    
    		itemDef
    		{
    			name			"shotgun_info"
    			visible 		0
    			rect			0 0 32 32
    			origin			ORIGIN_GRENADESLOT3
    	 		style			WINDOW_STYLE_SHADER
    			background		"hud_us_smokegrenade_C"
    			decoration
    		}
    	}
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •