Talk:Adding Your Logo to the Menu

From Valve Developer Community
Revision as of 23:49, 27 December 2007 by G.I. Jimbo (talk | contribs)
Jump to: navigation, search

Is there any way to modify the spray menu in CounterStrike 1.6? I would like to add customized sprays to the Options menu. I found where the default sprays are located in half-life.gcf, and I suspect that it will be impossible to modify this .wad to control that list.

Gijimbo - If I remember right, 1.6 used the half-life 1 engine which had a totaly different way of doing all of the GUI. This article pertains to mods based on the Source engine which uses VGUI2. I'm guessing it will not help you at all, and most likely confuse you. That is not why I am posting here anyways. I could not get my logo to show up at all. I used all of the same naming conventions, and did not edit the given code at all. I even opened up the VGUI drawtree window to try and see if it tried to show up and was just hidden somewhere. The VGUI drawtree did not show anything pertaining to the logo at all. I'm guessing there is a problem in the code somewhere, but i can't seem to find it.

!!Solution!! - the 'logo.vmt' example had the line '"$baseTexture" "console/logo"'. That meant it was trying to find the texture in a console folder, I changed the line to read: '"$baseTexture" "vgui/logo"' and it showed up just fine. Note: to prevent others from having the same problem I edited the tut so nobody should have the same problem.