FileSystem Snippet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=Mount Other GFC's=
=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);