Mounting multiple games: Difference between revisions
Jump to navigation
Jump to search
Trleighton (talk | contribs) |
Trleighton (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This was originally posted on the Chatbear Source Coding forums, relating to one of my questions. I am posting it here and saying now that i am not the author of this post, but it is incredibly useful. | This was originally posted on the Chatbear Source Coding forums, relating to one of my questions. I am posting it here and saying now that i am not the author of this post, but it is incredibly useful. | ||
Line 6: | Line 5: | ||
cdll_client_int.cpp - Go to about line "622" and paste this. CLIENTSIDE | cdll_client_int.cpp - Go to about line "622" and paste this. CLIENTSIDE | ||
<pre> | |||
filesystem->AddSearchPath("hl2mp", "GAME"); | filesystem->AddSearchPath("hl2mp", "GAME"); | ||
filesystem->AddSearchPath("hl2", "GAME"); | filesystem->AddSearchPath("hl2", "GAME"); | ||
Line 16: | Line 15: | ||
filesystem->MountSteamContent(300); | filesystem->MountSteamContent(300); | ||
filesystem->MountSteamContent(240); | filesystem->MountSteamContent(240); | ||
</pre> | |||
Now open GameInterface.cpp (SERVERSIDE)and about line 551 paste this. | Now open GameInterface.cpp (SERVERSIDE)and about line 551 paste this. | ||
<pre> | |||
filesystem->AddSearchPath("hl2mp", "GAME"); | filesystem->AddSearchPath("hl2mp", "GAME"); | ||
filesystem->AddSearchPath("hl2", "GAME"); | filesystem->AddSearchPath("hl2", "GAME"); | ||
Line 28: | Line 28: | ||
filesystem->MountSteamContent(300); | filesystem->MountSteamContent(300); | ||
filesystem->MountSteamContent(240); | filesystem->MountSteamContent(240); | ||
</pre> | |||
Compile or rebuild and run your game.. All done all mounted :D | Compile or rebuild and run your game.. All done all mounted :D | ||
VERY MANY THANKS TO Tommy.Gun9mm from the Chatbear Forums: http://www.chatbear.com/users/Tommy.Gun9mm | VERY MANY THANKS TO Tommy.Gun9mm from the Chatbear Forums: http://www.chatbear.com/users/Tommy.Gun9mm |
Revision as of 04:23, 2 May 2007
This was originally posted on the Chatbear Source Coding forums, relating to one of my questions. I am posting it here and saying now that i am not the author of this post, but it is incredibly useful.
This code allows you to use Counter-Strike, HL2 or DOD:S content in your Source Mod.
cdll_client_int.cpp - Go to about line "622" and paste this. CLIENTSIDE
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);
Now open GameInterface.cpp (SERVERSIDE)and about line 551 paste 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);
Compile or rebuild and run your game.. All done all mounted :D
VERY MANY THANKS TO Tommy.Gun9mm from the Chatbear Forums: http://www.chatbear.com/users/Tommy.Gun9mm