Upvote Upvoted 28 Downvote Downvoted
1 2
Custom settings menu for TF2?
1
#1
20 Frags +

Today I went through the files in my cfg folder and I checked out "user.scr" which actually stores the data for the for the advanced options. So I added

	"cl_first_person_uses_world_model"
	{
		"First person uses world model"
		"custom tooltip"
		{ BOOL }
		{ "0" }
	}

and what got was this (full image):

http://puu.sh/3ZmwL.jpg

Maybe with a nice skin and special options this menu could actually be something like a gui for the console commands, maybe you can even use rcon commands in there! You can checkboxes, use drop down lists, which could be useful for prec, sliders and text inputs.

In "settings.scr" is list list of server settings, haven't tested it but it also looks useful!

Today I went through the files in my cfg folder and I checked out "user.scr" which actually stores the data for the for the advanced options. So I added
[code] "cl_first_person_uses_world_model"
{
"First person uses world model"
"custom tooltip"
{ BOOL }
{ "0" }
}[/code]
and what got was this ([url=http://puu.sh/3Zmuc.jpg]full image[/url]):
[img]http://puu.sh/3ZmwL.jpg[/img]

Maybe with a nice skin and special options this menu could actually be something like a gui for the console commands, maybe you can even use rcon commands in there! You can checkboxes, use drop down lists, which could be useful for prec, sliders and text inputs.

In "settings.scr" is list list of server settings, haven't tested it but it also looks useful!
2
#2
6 Frags +

The future of FPS Configs.

The future of FPS Configs.
3
#3
1 Frags +

I went ahead and tested the "settings.scr" for you four, I found some interesting stuff as well.

I added this to "settings.scr":

"sv_pure"
     {
          "Set sv_pure"
          { NUMBER 0 2 }
          { "0" }
     }

"tf_birthday"
{
"Toggle Birthday Mode"
{ BOOL }
{ "0" }
}

And I was able to get this in the Create New Server Dialog Box:

http://i.imgur.com/Y3jGV4L.png

I checked the Birthday Mode and got this in-game:

Show Content

I didn't have any skin mods to test sv_pure, but I bet it worked as well.

EDIT: I was thinking about what fsXD said, and it could be viable for fast swapping of config files. You could make a dropdown list and have certain configs listed.

I went ahead and tested the "settings.scr" for you four, I found some interesting stuff as well.

I added this to "settings.scr":
[code]"sv_pure"
{
"Set sv_pure"
{ NUMBER 0 2 }
{ "0" }
}

"tf_birthday"
{
"Toggle Birthday Mode"
{ BOOL }
{ "0" }
}
[/code]

And I was able to get this in the Create New Server Dialog Box:
[img]http://i.imgur.com/Y3jGV4L.png[/img]

I checked the Birthday Mode and got this in-game:
[spoiler][img]http://cloud-2.steampowered.com/ugc/578996451286786590/5D3B9BCC9BB0CAE7FD86D8FD2C673403BFEFD511/[/img][/spoiler]

I didn't have any skin mods to test sv_pure, but I bet it worked as well.

EDIT: I was thinking about what fsXD said, and it could be viable for fast swapping of config files. You could make a dropdown list and have certain configs listed.
4
#4
2 Frags +

The server settings look pretty neat and I guess that it'd be possible to change fpsconfig with a plugin :)

The server settings look pretty neat and I guess that it'd be possible to change fpsconfig with a plugin :)
5
#5
1 Frags +
fourThe server settings look pretty neat and I guess that it'd be possible to change fpsconfig with a plugin :)

I'm trying to test that out right now through "user.scr."

[quote=four]The server settings look pretty neat and I guess that it'd be possible to change fpsconfig with a plugin :)[/quote]

I'm trying to test that out right now through "user.scr."
6
#6
13 Frags +

After poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about!

I had to edit the tf_english.txt file, and then I was able to add:

	"exec"
	{
		"Select your preferred config:"
		"Execute an FPS Config"
		{
			LIST
			"#TF_ShowFPSConfig1" "FPS_Configs\maxframes.cfg"
			"#TF_ShowFPSConfig2" "FPS_Configs\dx9frames.cfg"
			"#TF_ShowFPSConfig3" "FPS_Configs\maxquality.cfg"
		}
		{ "0" }
	}

This then allowed me to configure a drop down menu in Adv. Options with selectable configs:

http://i.imgur.com/OdshNpe.png

Here, you can see it went through and execed the config: (There's a bug that makes it so it doesn't have it selected when you open up Adv. Options, probably because I'm making it exec a file instead of execing through an integer.)

Show Content

This is pretty fucking cool.

After poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about!

I had to edit the tf_english.txt file, and then I was able to add:
[code] "exec"
{
"Select your preferred config:"
"Execute an FPS Config"
{
LIST
"#TF_ShowFPSConfig1" "FPS_Configs\maxframes.cfg"
"#TF_ShowFPSConfig2" "FPS_Configs\dx9frames.cfg"
"#TF_ShowFPSConfig3" "FPS_Configs\maxquality.cfg"
}
{ "0" }
}[/code]

This then allowed me to configure a drop down menu in Adv. Options with selectable configs:

[img]http://i.imgur.com/OdshNpe.png[/img]

Here, you can see it went through and execed the config: (There's a bug that makes it so it doesn't have it selected when you open up Adv. Options, probably because I'm making it exec a file instead of execing through an integer.)

[spoiler][img]http://i.imgur.com/za919RB.png[/img][/spoiler]

This is pretty fucking cool.
7
#7
1 Frags +

I thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.

I thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.
8
#8
0 Frags +
R3VoltAfter poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about!

I had to edit the tf_english.txt file, and then I was able to add:
	"exec"
	{
		"Select your preferred config:"
		"Execute an FPS Config"
		{
			LIST
			"#TF_ShowFPSConfig1" "FPS_Configs\maxframes.cfg"
			"#TF_ShowFPSConfig2" "FPS_Configs\dx9frames.cfg"
			"#TF_ShowFPSConfig3" "FPS_Configs\maxquality.cfg"
		}
		{ "0" }
	}

This then allowed me to configure a drop down menu in Adv. Options with selectable configs:

http://i.imgur.com/OdshNpe.png

Here, you can see it went through and execed the config: (There's a bug that makes it so it doesn't have it selected when you open up Adv. Options, probably because I'm making it exec a file instead of execing through an integer.)
Show Content

This is pretty fucking cool.

This is awesome. Excited to see what could be done for the console GUI, if nothing better than to make it fit with a hud to make it not ugly.

[quote=R3Volt]After poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about!

I had to edit the tf_english.txt file, and then I was able to add:
[code] "exec"
{
"Select your preferred config:"
"Execute an FPS Config"
{
LIST
"#TF_ShowFPSConfig1" "FPS_Configs\maxframes.cfg"
"#TF_ShowFPSConfig2" "FPS_Configs\dx9frames.cfg"
"#TF_ShowFPSConfig3" "FPS_Configs\maxquality.cfg"
}
{ "0" }
}[/code]

This then allowed me to configure a drop down menu in Adv. Options with selectable configs:

[img]http://i.imgur.com/OdshNpe.png[/img]

Here, you can see it went through and execed the config: (There's a bug that makes it so it doesn't have it selected when you open up Adv. Options, probably because I'm making it exec a file instead of execing through an integer.)
[spoiler][img]http://i.imgur.com/za919RB.png[/img][/spoiler]

This is pretty fucking cool.[/quote]

This is awesome. Excited to see what could be done for the console GUI, if nothing better than to make it fit with a hud to make it not ugly.
9
#9
1 Frags +
BenroadsI thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.

Yeah, you will most likely have to reconfigure the configs you use so there aren't any leftover commands.

[quote=Benroads]I thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.[/quote]

Yeah, you will most likely have to reconfigure the configs you use so there aren't any leftover commands.
10
#10
-1 Frags +
BenroadsI thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.

That's rather poor technique.

[quote=Benroads]I thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.[/quote]
That's rather poor technique.
11
#11
2 Frags +
smoboBenroadsI thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.That's rather poor technique.

They're not exactly designed to be switched. I guess you could make a fpsclear config that would set all possible changed things to default.

[quote=smobo][quote=Benroads]I thought certain fps configs used commands exclusive to that config, so if you did switch them it might have left over settings from a previous config.[/quote]
That's rather poor technique.[/quote]

They're not exactly designed to be switched. I guess you could make a fpsclear config that would set all possible changed things to default.
12
#12
0 Frags +
R3VoltAfter poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about!

Does it save the value when you close tf2?

[quote=R3Volt]After poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about![/quote]

Does it save the value when you close tf2?
13
#13
2 Frags +

I'm thinking of playing with a few things. I'll try a cl_interp slider that goes between default and the minimum, as well a checkbox that loads a listen server and spams impulse 101 for jump practice.

I'm thinking of playing with a few things. I'll try a cl_interp slider that goes between default and the minimum, as well a checkbox that loads a listen server and spams impulse 101 for jump practice.
14
#14
0 Frags +
fourR3VoltAfter poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about!
Does it save the value when you close tf2?

When it execs the config, all the commands inside the file are saved. However, the value in the drop down menu is NOT saved. Like I said, it's probably because I'm executing a file, instead of an integer linked to a resource.

[quote=four][quote=R3Volt]After poking around for nearly a half hour, I've finally been able to make the FPS Config drop down menu fsXD was talking about![/quote]

Does it save the value when you close tf2?[/quote]

When it execs the config, all the commands inside the file are saved. However, the value in the drop down menu is NOT saved. Like I said, it's probably because I'm executing a file, instead of an integer linked to a resource.
15
#15
5 Frags +

cl_interp slider working perfectly. it snaps to multiples of 0.01, though.

Show Content

note that it's rounding up on the text, the actual min value is 0.015152

Now I'm setting up a toggle between common comp. net settings and the default ones.

cl_interp slider working perfectly. it snaps to multiples of 0.01, though.
[spoiler][img]http://i.imgur.com/6zUP2Oq.png[/img][/spoiler]

note that it's rounding up on the text, the actual min value is 0.015152


Now I'm setting up a toggle between common comp. net settings and the default ones.
16
#16
-1 Frags +
smobocl_interp slider working perfectly. it snaps to multiples of 0.01, though.
Show Content

note that it's rounding up on the text, the actual min value is 0.015152

Now I'm setting up a toggle between common comp. net settings and the default ones.

So we can change interp now without going to spec?

[quote=smobo]cl_interp slider working perfectly. it snaps to multiples of 0.01, though.
[spoiler][img]http://i.imgur.com/6zUP2Oq.png[/img][/spoiler]

note that it's rounding up on the text, the actual min value is 0.015152


Now I'm setting up a toggle between common comp. net settings and the default ones.[/quote]
So we can change interp now without going to spec?
17
#17
1 Frags +
Treshsmobocl_interp slider working perfectly. it snaps to multiples of 0.01, though.
Show Content

note that it's rounding up on the text, the actual min value is 0.015152

Now I'm setting up a toggle between common comp. net settings and the default ones.
So we can change interp now without going to spec?

No this just puts the command in console without you having to type it.

[quote=Tresh][quote=smobo]cl_interp slider working perfectly. it snaps to multiples of 0.01, though.
[spoiler][img]http://i.imgur.com/6zUP2Oq.png[/img][/spoiler]

note that it's rounding up on the text, the actual min value is 0.015152


Now I'm setting up a toggle between common comp. net settings and the default ones.[/quote]
So we can change interp now without going to spec?[/quote]
No this just puts the command in console without you having to type it.
18
#18
0 Frags +
Treshsmobocl_interp slider working perfectly. it snaps to multiples of 0.01, though.
Show Content

note that it's rounding up on the text, the actual min value is 0.015152

Now I'm setting up a toggle between common comp. net settings and the default ones.
So we can change interp now without going to spec?

Probably not, his slider just replicates typing "cl_interp ##" into the console.

EDIT: FUCKING NINJA'D

[quote=Tresh][quote=smobo]cl_interp slider working perfectly. it snaps to multiples of 0.01, though.
[spoiler][img]http://i.imgur.com/6zUP2Oq.png[/img][/spoiler]

note that it's rounding up on the text, the actual min value is 0.015152


Now I'm setting up a toggle between common comp. net settings and the default ones.[/quote]
So we can change interp now without going to spec?[/quote]

Probably not, his slider just replicates typing "cl_interp ##" into the console.

EDIT: FUCKING NINJA'D
19
#19
1 Frags +

Wow, swapping a whole config is really easy. Didn't need to touch tf_english or whatever.

Wasn't having any success finding the settings.scr that alters the listen server dialog, but whatever.

Wow, swapping a whole config is really easy. Didn't need to touch tf_english or whatever.

Wasn't having any success finding the settings.scr that alters the listen server dialog, but whatever.
20
#20
0 Frags +
smoboWow, swapping a whole config is really easy. Didn't need to touch tf_english or whatever.

Wasn't having any success finding the settings.scr that alters the listen server dialog, but whatever.

Well yeah, it is, but I went into tf_english.txt so you can add the names of your configs.

[quote=smobo]Wow, swapping a whole config is really easy. Didn't need to touch tf_english or whatever.

Wasn't having any success finding the settings.scr that alters the listen server dialog, but whatever.[/quote]

Well yeah, it is, but I went into tf_english.txt so you can add the names of your configs.
21
#21
2 Frags +
R3VoltWell yeah, it is, but I went into tf_english.txt so you can add the names of your configs.
Show Content
"exec"
	{
		"Net settings"
		"The competitive settings are faster and more responsive."
		{
			LIST
			"Default" "defnet.cfg"
			"Competitive" "compnet.cfg"
		}
		{ "0" }
	}

Works just fine as it is. Valve does it the way they do so that they can provide support for other languages.

EDIT: I think that this menu won't stick when Valve updates it, and it's not possible to share menu edits without also sharing all of your settings. I'm questioning the usefulness of this discovery even though it's really cool.

[quote=R3Volt]Well yeah, it is, but I went into tf_english.txt so you can add the names of your configs.[/quote]

[spoiler][img]http://i.imgur.com/a6klaMR.png[/img][/spoiler]

[code]"exec"
{
"Net settings"
"The competitive settings are faster and more responsive."
{
LIST
"Default" "defnet.cfg"
"Competitive" "compnet.cfg"
}
{ "0" }
}[/code]

Works just fine as it is. Valve does it the way they do so that they can provide support for other languages.

EDIT: I think that this menu won't stick when Valve updates it, and it's not possible to share menu edits without also sharing all of your settings. I'm questioning the usefulness of this discovery even though it's really cool.
22
#22
0 Frags +

OOHHHHH, I'm stupid..., I didn't know that it would work that way as well, I thought it had to go through the localization files.

Anyways, you don't need to share your menu, just add that bit of code you just pasted and tell people to add it to their own user.scr

OOHHHHH, I'm stupid..., I didn't know that it would work that way as well, I thought it had to go through the localization files.

Anyways, you don't need to share your menu, just add that bit of code you just pasted and tell people to add it to their own user.scr
23
#23
0 Frags +

I think you could put this file in your "custom/whatever/cfg" folder, maybe it won't be overwritten by updates.

I think you could put this file in your "custom/whatever/cfg" folder, maybe it won't be overwritten by updates.
24
#24
4 Frags +

Also I just realized that you could make the same as the fps config thing, just for serverconfigs in settings.scr like "ugc9v9.cfg" and "etf2l.cfg" and maybe a "regen.cfg" that regenerates your health over time!

Also I just realized that you could make the same as the fps config thing, just for serverconfigs in settings.scr like "ugc9v9.cfg" and "etf2l.cfg" and maybe a "regen.cfg" that regenerates your health over time!
25
#25
3 Frags +

This opens up a whole new window for game costumization. Great job everyone!

This opens up a whole new window for game costumization. Great job everyone!
26
#26
0 Frags +

This all seems really cool and I dont really get it but it seems cool.
I'll leave it to you smart folks.

This all seems really cool and I dont really get it but it seems cool.
I'll leave it to you smart folks.
27
#27
1 Frags +

Could also add some preset colors for the ingame crosshairs. I remember it was fairly annoying trying to get certain colors.

Could also add some preset colors for the ingame crosshairs. I remember it was fairly annoying trying to get certain colors.
28
#28
0 Frags +

The config stuff is neat, but to switch between a dx8 and a dx9 config, you still have to restart the game right? Better way to put it, you have to change the launch options and launch the game to make the directx settings go into effect.

The config stuff is neat, but to switch between a dx8 and a dx9 config, you still have to restart the game right? Better way to put it, you have to change the launch options and launch the game to make the directx settings go into effect.
29
#29
0 Frags +

Would someone mind uploading an unchanged user.scr file? Looks like i've deleted mine and can't seemed to find another.

Would someone mind uploading an unchanged user.scr file? Looks like i've deleted mine and can't seemed to find another.
30
#30
0 Frags +
BenroadsWould someone mind uploading an unchanged user.scr file? Looks like i've deleted mine and can't seemed to find another.

http://pastebin.com/uE2HD18t

It's not totally unedited since it's using my settings.

[quote=Benroads]Would someone mind uploading an unchanged user.scr file? Looks like i've deleted mine and can't seemed to find another.[/quote]

http://pastebin.com/uE2HD18t

It's not totally unedited since it's using my settings.
1 2
Please sign in through STEAM to post a comment.