Talk:Adding Your Logo to the Menu
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 article so nobody should have the same problem.
1>Compiling... 1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release 1>vgui_Panel_Top.cpp 1>.\vgui_Panel_Top.cpp(93) : error C2259: 'CTop' : cannot instantiate abstract class 1> due to following members: 1> 'void ITop::Destroy(void)' : is abstract 1> d:\steam mods\**************\src\game\client\vgui_Panel_Top.h(12) : see declaration of 'ITop::Destroy' 1>Build log was saved at "file://d:\Steam Mods\************\src\game\client\Release_episodic\BuildLog.htm" 1>Client Episodic - 1 error(s), 1 warning(s)
==== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ====
Wrong Code ? Im Using Microsoft Visual C++ Express 2008 HELP Please Post The Correct CODE
Why are you editing the C++ code? Please read the tutorial more carefully --Disabled logic 12:09, 21 March 2012 (PDT)