Changing font in Chatbox?

Simple question,

The chatbox for my current gamemode is pretty basic, is there a way i could change the font? coolvetica seems to be one which will suit well.

Thanks in advance

What chatbox are you using?

Its just the standard one from sandbox.

You cant

You’ll have to make a new chatbox to be able to change anything.

You can probably modify the GUI files like you would customize Half-Life base HUD in Half-Life 2, or as if you would customize Team Fortress 2 HUD, but this doesn’t deal with Lua, you’re gonna deal with modifying table text files.

EDIT:
Not sure :
“base source engine 2.gcf\root\hl2\resource\ChatScheme.res”

Font section, starting line 214

Except from line 310


		"ChatFont"
		{
			"1"
			{
				"name"		"Verdana"
				"tall"		"12"
				"weight"	"700"
				"yres"		"480 599"
				"dropshadow"	"1"
			}
			"2"
			{
				"name"		"Verdana"
				"tall"		"14"
				"weight"	"700"
				"yres"		"600 767"
				"dropshadow"	"1"
			}
			"3"
			{
				"name"		"Verdana"
				"tall"		"15"
				"weight"	"700"
				"yres"		"768 1023"
				"dropshadow"	"1"
			}

Mess with the file, place it in the same logical folder in Garry’s Mod, try to see if anything changed. For example, in the file, batch override “Verdana” with another valid font see if that changes anything.

Ah thank you very much, helped me greatly :smile: