Talk:Writing Extensions

From AlliedModders Wiki
Revision as of 08:53, 19 May 2014 by Sarysa (talk | contribs) (This entire article is out of date)
Jump to: navigation, search

Visual Studio section woefully out of date

The Visual Studio sections seem to miss a lot of things that they should list. The SourceMod source public\sample_ext directory now contains solutions and projects for Visual Studio 2005 (msvc8), 2008 (msvc9), and 2010 (msvc10).

However, the configuration for this, such as the Linker Input tab, have a bunch of variables that aren't explained. For instance, where does one set $(HL2SDKOBVALVE), the variable that tells it where the HL2SDK files for HL2:DM, CS:S, DOD:S, and TF2 are located? Since this will have a different location on each system, this is a variable that needs to be set by the programmer writing the extension.

I admit, maybe this is because I haven't ever used Visual Studio for C++ before, but this sort of thing seems like the kind of thing that should be explained in the Setting up Visual Studio section. --Powerlord 02:25, 1 June 2011 (UTC)

Incidentally, I later realized those were likely environment variables. --Powerlord 02:45, 1 June 2011 (UTC)

"An Event is formally called a Forward."

"An Event is formally called a Forward." is a very bad way to phrase this. Source games have game events, and forwards are not the same as those. --Powerlord 02:32, 8 June 2011 (UTC)

This entire article is out of date

Trying to get started with extensions and the entire article is out of date, right from the very beginning where the SDK structure is listed. I can't even find the basic header files listed at all, and I did download the source package. (there's nothing called "Sourcemod SDK" anywhere) Needless to say, someone starting out these days will have no clue what to do. I can only hope starting from someone else's small extension will eventually yield some progress... Sarysa (talk) 09:53, 19 May 2014 (CDT)