Re: [hlcoders] Source SDK Base
On Saturday 04 November 2006 10:08 pm, Tim McLennan wrote: > You must add the args to the SDK Base, rather than your mod. > > Regards, > Tim That's rather unfortunately unintuitive. Valve, fix? I can think of many scenarios in which one would want different arguments for different SDK Base-based mods. -John Sheu ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Source SDK Base
SteamAppID 215, right? And from the Steam games list, not the debugger. Funky. -John Sheu ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Source SDK Base
You must add the args to the SDK Base, rather than your mod. Regards, Tim > -Original Message- > From: [EMAIL PROTECTED] [mailto:hlcoders- > [EMAIL PROTECTED] On Behalf Of John Sheu > Sent: Saturday, November 04, 2006 11:02 PM > To: hlcoders@list.valvesoftware.com > Subject: [hlcoders] Source SDK Base > > I've been having some trouble troubleshooting seemingly insoluble problems > running a mod off the Source SDK Base (SteamAppId 215). It seems that > certain arguments aren't being passed to the executable when the game is run > through the Steam window (runs fine from Visual Studio). For example, one > set that does not work is "-width 640 -height 480 -window". I also have a > report that even a fresh-from-the-SDK mod, with no modifications, has this > problem. > > -John Sheu ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Source SDK Base
-- [ Picked text/plain from multipart/alternative ] Try "-window -width 640 -height 480" that's what I always use and it works. On 11/5/06, John Sheu <[EMAIL PROTECTED]> wrote: > > I've been having some trouble troubleshooting seemingly insoluble problems > running a mod off the Source SDK Base (SteamAppId 215). It seems that > certain arguments aren't being passed to the executable when the game is > run > through the Steam window (runs fine from Visual Studio). For example, one > set that does not work is "-width 640 -height 480 -window". I also have a > report that even a fresh-from-the-SDK mod, with no modifications, has this > problem. > > -John Sheu > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- - Benjamin Davison -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] Source SDK Base
I've been having some trouble troubleshooting seemingly insoluble problems running a mod off the Source SDK Base (SteamAppId 215). It seems that certain arguments aren't being passed to the executable when the game is run through the Steam window (runs fine from Visual Studio). For example, one set that does not work is "-width 640 -height 480 -window". I also have a report that even a fresh-from-the-SDK mod, with no modifications, has this problem. -John Sheu ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] What is and is not available to programmers?
-- [ Picked text/plain from multipart/alternative ] The HOOK_COMMAND macro is a fancy way of creating a ConCommand. First, DECLARE_HUD_COMMAND_NAME must be called, which will create the hook for the function (create and link a function named there ie Close, to the function in the class, UserCmd_Close). Then HOOK_COMMAND will create the ConCommand to call the external Close function (thereby calling UserCmd_Close). There are plenty of examples at the top of weaponselection.cpp. On 11/5/06, Zach Brockway <[EMAIL PROTECTED]> wrote: > > -- > [ Picked text/plain from multipart/alternative ] > I don't know if this helps you, since you said "for example," but in the > case you gave, but isn't that HOOK_COMMAND macro (weapon_selection.cpp:55) > plugging the "cancelselect" command into a function called Close? (I don't > have the code in front of me, so be gentle.) > > On 11/4/06, rj m <[EMAIL PROTECTED]> wrote: > > > > well, I can see it being called, but I don't see the concommand is > > what I'm saying: for example this is the findings: > > Find all "cancelselect", Subfolders, Find Results 1, Entire Solution, > > "*.*" > > C:\source\mp\src\cl_dll\perfvisualbenchmark.cpp(222): > > engine->ClientCmd("cancelselect"); // > > exit menu and console > > C:\source\mp\src\cl_dll\weapon_selection.cpp(55):HOOK_COMMAND( > > cancelselect, Close ); > > > > > C:\source\mp\src\cl_dll\weapon_selection.cpp(170): > engine->ClientCmd( > > "cancelselect\n" ); > > C:\source\mp\src\cl_dll\weapon_selection.cpp(238): if > > (IsInSelectionMode() && pszCurrentBinding && > > !stricmp(pszCurrentBinding, "cancelselect")) > > > > > C:\source\mp\src\cl_dll\weapon_selection.cpp(509): > engine->ClientCmd( > > "cancelselect\n" ); > > > > > C:\source\mp\src\cl_dll\weapon_selection.cpp(528): > engine->ClientCmd( > > "cancelselect\n" ); > > > > > C:\source\mp\src\dlls\client.cpp(855): engine->ClientCommand( > > UTIL_GetCommandClient()->edict(), "cancelselect" ); > > > > > C:\source\mp\src\dlls\client.cpp(886): engine->ClientCommand( > > UTIL_GetCommandClient()->edict(), "cancelselect" ); > > Total found: 8Matching files: 3Total files searched: 2100 > > > > On 11/4/06, Jeremy Swigart <[EMAIL PROTECTED]> wrote: > > > -- > > > [ Picked text/plain from multipart/alternative ] > > > Looks to me like cancelselect is in the client dll. > > > > > > On 11/4/06, rj m <[EMAIL PROTECTED]> wrote: > > > > > > > > I'm wondering what concommands are editable, and not editable. For > > > > example "cancelselect" doesn't seem to be anywhere in the Source > code. > > > > Is this command and others already embedded into hl2.exe or > > > > something? > > > > > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > please visit: > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > -- > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > -- > "I am at the point where coffee just makes my teeth vibrate." - Tycho, > Penny-Arcade.com > -- > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- Lead Programmer for Resistance and Liberation www.resistanceandliberation.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] What is and is not available to programmers?
-- [ Picked text/plain from multipart/alternative ] I don't know if this helps you, since you said "for example," but in the case you gave, but isn't that HOOK_COMMAND macro (weapon_selection.cpp:55) plugging the "cancelselect" command into a function called Close? (I don't have the code in front of me, so be gentle.) On 11/4/06, rj m <[EMAIL PROTECTED]> wrote: > > well, I can see it being called, but I don't see the concommand is > what I'm saying: for example this is the findings: > Find all "cancelselect", Subfolders, Find Results 1, Entire Solution, > "*.*" > C:\source\mp\src\cl_dll\perfvisualbenchmark.cpp(222): > engine->ClientCmd("cancelselect"); // > exit menu and console > C:\source\mp\src\cl_dll\weapon_selection.cpp(55):HOOK_COMMAND( > cancelselect, Close ); > > C:\source\mp\src\cl_dll\weapon_selection.cpp(170): > engine->ClientCmd( > "cancelselect\n" ); > C:\source\mp\src\cl_dll\weapon_selection.cpp(238): if > (IsInSelectionMode() && pszCurrentBinding && > !stricmp(pszCurrentBinding, "cancelselect")) > > C:\source\mp\src\cl_dll\weapon_selection.cpp(509): > engine->ClientCmd( > "cancelselect\n" ); > > C:\source\mp\src\cl_dll\weapon_selection.cpp(528): > engine->ClientCmd( > "cancelselect\n" ); > > C:\source\mp\src\dlls\client.cpp(855): engine->ClientCommand( > UTIL_GetCommandClient()->edict(), "cancelselect" ); > > C:\source\mp\src\dlls\client.cpp(886): engine->ClientCommand( > UTIL_GetCommandClient()->edict(), "cancelselect" ); > Total found: 8Matching files: 3Total files searched: 2100 > > On 11/4/06, Jeremy Swigart <[EMAIL PROTECTED]> wrote: > > -- > > [ Picked text/plain from multipart/alternative ] > > Looks to me like cancelselect is in the client dll. > > > > On 11/4/06, rj m <[EMAIL PROTECTED]> wrote: > > > > > > I'm wondering what concommands are editable, and not editable. For > > > example "cancelselect" doesn't seem to be anywhere in the Source code. > > > Is this command and others already embedded into hl2.exe or > > > something? > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > -- > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- "I am at the point where coffee just makes my teeth vibrate." - Tycho, Penny-Arcade.com -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] What is and is not available to programmers?
well, I can see it being called, but I don't see the concommand is what I'm saying: for example this is the findings: Find all "cancelselect", Subfolders, Find Results 1, Entire Solution, "*.*" C:\source\mp\src\cl_dll\perfvisualbenchmark.cpp(222): engine->ClientCmd("cancelselect"); // exit menu and console C:\source\mp\src\cl_dll\weapon_selection.cpp(55):HOOK_COMMAND( cancelselect, Close ); C:\source\mp\src\cl_dll\weapon_selection.cpp(170): engine->ClientCmd( "cancelselect\n" ); C:\source\mp\src\cl_dll\weapon_selection.cpp(238): if (IsInSelectionMode() && pszCurrentBinding && !stricmp(pszCurrentBinding, "cancelselect")) C:\source\mp\src\cl_dll\weapon_selection.cpp(509): engine->ClientCmd( "cancelselect\n" ); C:\source\mp\src\cl_dll\weapon_selection.cpp(528): engine->ClientCmd( "cancelselect\n" ); C:\source\mp\src\dlls\client.cpp(855): engine->ClientCommand( UTIL_GetCommandClient()->edict(), "cancelselect" ); C:\source\mp\src\dlls\client.cpp(886): engine->ClientCommand( UTIL_GetCommandClient()->edict(), "cancelselect" ); Total found: 8Matching files: 3Total files searched: 2100 On 11/4/06, Jeremy Swigart <[EMAIL PROTECTED]> wrote: -- [ Picked text/plain from multipart/alternative ] Looks to me like cancelselect is in the client dll. On 11/4/06, rj m <[EMAIL PROTECTED]> wrote: > > I'm wondering what concommands are editable, and not editable. For > example "cancelselect" doesn't seem to be anywhere in the Source code. > Is this command and others already embedded into hl2.exe or > something? > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] What is and is not available to programmers?
-- [ Picked text/plain from multipart/alternative ] Looks to me like cancelselect is in the client dll. On 11/4/06, rj m <[EMAIL PROTECTED]> wrote: > > I'm wondering what concommands are editable, and not editable. For > example "cancelselect" doesn't seem to be anywhere in the Source code. > Is this command and others already embedded into hl2.exe or > something? > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] What is and is not available to programmers?
I'm wondering what concommands are editable, and not editable. For example "cancelselect" doesn't seem to be anywhere in the Source code. Is this command and others already embedded into hl2.exe or something? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] New SDK Update is Out As Beta
Not sure if this meets everyone's needs, but Subversion has their differencing code. On 11/3/06, Nick <[EMAIL PROTECTED]> wrote: Personally I always use winmerge http://winmerge.org/. When it comes to merging files from the old sdk to the new sdk, I use a program called KDIFF3 http://kdiff3.sourceforge.net/. Kdiff3 at this time has problems working on windows. I usually dual boot to fedora core 5 and run kdiff3 from there. It works flawlessly, and it is free. http://winmerge.org/ (two way merging) http://kdiff3.sourceforge.net/ (three way merging) When you use kdiff3, make sure you have the original sdk that you used for your current codebase(A), your current codebase(B), and the latest sdk codebase you want to merge into(C). Kdiff3 is a bit tricky at first, but it is a powerful tool that can save you many hours. If you have any questions I'll be happy to answer them. On 11/3/06, Stephen Swires <[EMAIL PROTECTED]> wrote: > This is more of a general thing to do with Source SDK updates, but does > anyone know any good (freeware) tools that can tell detect differences > in files so I know which new files I'll need to replace/copy from? > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders