FileSystem Snippet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Softboysxp (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=Mount Other | =Mount Other GCF's= | ||
==Client_dll== | ==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. |
Revision as of 02:56, 31 May 2007
Mount Other GCF'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);