Has anyone succeeded loading a server plugin?

  • Thread starter Thread starter MrBlunden
  • Start date Start date
M

MrBlunden

Guest
Hi all,

I'm trying to load the empty server plugin provided with the hl2 mod sdk, but the sdk documentation is a bit unclear and I can't seem to get it to work.

Anyone knows how to do this?

Thanks.
 
Once compiled move it to the directory for the mod you want. In my case it's "\half-life 2 deathmatch\bin\" Since I want to run my plugin with HL2 deathmatch. Once your dlls in there go to "half-life 2 deathmatch\hl2mp\addons\" and create a plugins.vdf file, edit it with a text editor and put this in:
Code:
"Plugin"
{
        "file"  "mau_sp"
}

Replace "mau_sp" with the name of your serverplugin (the dll's name).

Should be good to go.
 
Server Plugin Problem

McFace, thanks for your reply.

I tried what you said already. My vdf file is loaded but the plugin isn't.

BTW, I'm making a mod for hl2 single player, not hl2 DM. Maybe it isn't supposed to work yet until Valve releases an update.

I tried to put the .dll file in several places, and I tried to write a few locations inside the .vdf file (full path, relative path etc.).
Nothing is working - it loads the vdf but not the plugin.
 
Back
Top