Upvote Upvoted 1 Downvote Downvoted
help with main menu
1
#1
0 Frags +

how do i add a section to my tf2 menu to connect me to servers without opening my server browser?

how do i add a section to my tf2 menu to connect me to servers without opening my server browser?
2
#2
0 Frags +

http://teamfortress.tv/forum/thread/1246-alternative-to-favorites

You could try that.

http://teamfortress.tv/forum/thread/1246-alternative-to-favorites

You could try that.
3
#3
0 Frags +

gmang has it

gmang has it
4
#4
0 Frags +
VickMhttp://teamfortress.tv/forum/thread/1246-alternative-to-favorites

You could try that.

im trying to make it part of the menu. thanks though

bleakgmang has it

ill give it a look thanks

[quote=VickM]http://teamfortress.tv/forum/thread/1246-alternative-to-favorites

You could try that.[/quote]
im trying to make it part of the menu. thanks though

[quote=bleak]gmang has it[/quote]

ill give it a look thanks
5
#5
-1 Frags +

double post

double post
6
#6
1 Frags +

http://cloud-2.steampowered.com/ugc/902125486830443607/C5F2CE71E8C8210A3B9C456B81391CF183804708/

Something like that right?

Append into gamemenu.res just before the last "}"

	"ServerButton1"
	{
		"label" 		"button1" //name of button
		"command"	"engine connect " //enter IP after connect
	}
	"ServerButton2"
	{
		"label"		"button2"
		"command" "engine connect "
	}
	"ServerButton3"
	{
		"label"		"button3"
		"command" "engine connect "
	}
	"ServerButton4"
	{
		"label"		"button4"
		"command" "engine connect "
	}

Next part goes into MainMenuOverride.res again, just before the last "}"

"ConnectPanel"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"ConnectPanel"
		"xpos"			"c-290"
		"ypos"			"278"
		"zpos"			"-1"
		"wide"			"260"
		"tall"			"70"
		"visible"		"1"
		"pinCorner"		"0"
		"autoResize"	"0"
		"PaintBackgroundType"	"2"
		"border"		"MainMenuBGBorder"
	}	

	"ServerButton1"
	{
		"ControlName"	"EditablePanel"
		"fieldname"		"ServerButton1"
		"xpos"			"c-285"
		"ypos"			"283"
		"zpos"			"11"
		"wide"			"130"
		"tall"			"36"
		"visible"		"1"
		"PaintBackgroundType"	"2"
		"SubButton"
		{
			"ControlName"	"CExImageButton"
			"fieldName"		"SubButton"
			"xpos"			"0"
			"ypos"			"0"
			"wide"			"125"
			"tall"			"26"
			"autoResize"	"0"
			"pinCorner"		"3"
			"visible"		"1"
			"enabled"		"1"
			"tabPosition"	"0"
			"textinsetx"	"0"//"25"
			"use_proportional_insets" "1"
			"font"			"HudFontSmallBold"
			"textAlignment"	"center"//"west"
			"dulltext"		"0"
			"brighttext"	"0"
			"default"		"1"
			"sound_depressed"	"UI/buttonclick.wav"
			"sound_released"	"UI/buttonclickrelease.wav"

			"border_default"	"MainMenuButtonDefault"
			"border_armed"		"MainMenuButtonArmed"
			"paintbackground"	"0"

			"defaultFgColor_override" "46 43 42 255"
			"armedFgColor_override" "235 226 202 255"
			"depressedFgColor_override" "46 43 42 255"

			"image_drawcolor"	"117 107 94 255"
			"image_armedcolor"	"235 226 202 255"
			"SubImage"
			{
				"ControlName"	"ImagePanel"
				"fieldName"		"SubImage"
				"xpos"			"6"
				"ypos"			"6"
				"zpos"			"1"
				"wide"			"14"
				"tall"			"14"
				"visible"		"1"
				"enabled"		"1"
				"scaleImage"	"1"
			}		
		}
	} 

Repeat ServerButton1 for rest of the buttons. Make sure to change all instances of ServerButton1 to 2/3/4.

Adjust the position of the ConnectPanel, then work out the button pos.

http://cloud-2.steampowered.com/ugc/902125486830443607/C5F2CE71E8C8210A3B9C456B81391CF183804708/

Something like that right?

Append into gamemenu.res just before the last "}"
[code] "ServerButton1"
{
"label" "button1" //name of button
"command" "engine connect " //enter IP after connect
}
"ServerButton2"
{
"label" "button2"
"command" "engine connect "
}
"ServerButton3"
{
"label" "button3"
"command" "engine connect "
}
"ServerButton4"
{
"label" "button4"
"command" "engine connect "
}
[/code]

Next part goes into MainMenuOverride.res again, just before the last "}"
[code]"ConnectPanel"
{
"ControlName" "EditablePanel"
"fieldName" "ConnectPanel"
"xpos" "c-290"
"ypos" "278"
"zpos" "-1"
"wide" "260"
"tall" "70"
"visible" "1"
"pinCorner" "0"
"autoResize" "0"
"PaintBackgroundType" "2"
"border" "MainMenuBGBorder"
}

"ServerButton1"
{
"ControlName" "EditablePanel"
"fieldname" "ServerButton1"
"xpos" "c-285"
"ypos" "283"
"zpos" "11"
"wide" "130"
"tall" "36"
"visible" "1"
"PaintBackgroundType" "2"
"SubButton"
{
"ControlName" "CExImageButton"
"fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
"wide" "125"
"tall" "26"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textinsetx" "0"//"25"
"use_proportional_insets" "1"
"font" "HudFontSmallBold"
"textAlignment" "center"//"west"
"dulltext" "0"
"brighttext" "0"
"default" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"

"border_default" "MainMenuButtonDefault"
"border_armed" "MainMenuButtonArmed"
"paintbackground" "0"

"defaultFgColor_override" "46 43 42 255"
"armedFgColor_override" "235 226 202 255"
"depressedFgColor_override" "46 43 42 255"

"image_drawcolor" "117 107 94 255"
"image_armedcolor" "235 226 202 255"
"SubImage"
{
"ControlName" "ImagePanel"
"fieldName" "SubImage"
"xpos" "6"
"ypos" "6"
"zpos" "1"
"wide" "14"
"tall" "14"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
}
}
} [/code] Repeat ServerButton1 for rest of the buttons. Make sure to change all instances of ServerButton1 to 2/3/4.

Adjust the position of the ConnectPanel, then work out the button pos.
7
#7
0 Frags +

thanks jp

thanks jp
Please sign in through STEAM to post a comment.