FileSystem Snippet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Mount Other GFC's= | =Mount Other GFC's= | ||
==Client_dll== | |||
cdll_client_int.cpp - Go to about line "622" and add this. | cdll_client_int.cpp - Go to about line "622" and add this. | ||
<pre> | <pre> | ||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
==Server_dll== | |||
GameInterface.cpp - Go to about line 551 add this. | |||
<pre> | <pre> | ||
filesystem->AddSearchPath("hl2mp", "GAME"); | filesystem->AddSearchPath("hl2mp", "GAME"); |
Revision as of 08:34, 20 May 2007
Mount Other GFC's
Client_dll
cdll_client_int.cpp - Go to about line "622" and add this.
filesystem->AddSearchPath("hl2mp", "GAME"); //hl2 Multiplayer filesystem->AddSearchPath("hl2", "GAME"); //hl2 filesystem->AddSearchPath("episodic", "GAME"); //hl2 ep1 filesystem->AddSearchPath("dod", "GAME"); //day of defeat filesystem->AddSearchPath("cstrike", "GAME"); //Counter strike source filesystem->MountSteamContent(220); filesystem->MountSteamContent(320); filesystem->MountSteamContent(300); filesystem->MountSteamContent(240);
Server_dll
GameInterface.cpp - Go to about line 551 add this.
filesystem->AddSearchPath("hl2mp", "GAME"); filesystem->AddSearchPath("hl2", "GAME"); filesystem->AddSearchPath("episodic", "GAME"); filesystem->AddSearchPath("dod", "GAME"); filesystem->AddSearchPath("cstrike", "GAME"); filesystem->MountSteamContent(220); filesystem->MountSteamContent(320); filesystem->MountSteamContent(300); filesystem->MountSteamContent(240);