Mounting multiple games: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
John.Stuart (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The following short sec of code, allows you to Mount aditional files from the following games. | |||
'''Counter Strike Source,''' | |||
'''Hl2MP,''' | |||
'''Episode 1,''' | |||
'''Day of Defeat Source,''' | |||
'''Half Life 2 (fixes),''' | |||
This code allows you | This code will now fix bugs which may be featured with a game, also this allows you use the css and dod etc maps.. Tho the info_player_*** will not work, you'll have to bind that to the original info_player_start which isnt hard. | ||
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 | ||
Line 32: | Line 37: | ||
Compile or rebuild and run your game.. All done all mounted :D | Compile or rebuild and run your game.. All done all mounted :D | ||
===Credits=== | |||
''John Stuart aka TommyGun'' | |||
===See Also=== | ===See Also=== | ||
* [[IFileSystem]] | * [[IFileSystem]] | ||
* [[IFileSystem#Mount_Steam_Application_Content|Mount Steam Application Content]] | * [[IFileSystem#Mount_Steam_Application_Content|Mount Steam Application Content]] | ||
[[Category:Programming]] | [[Category:Programming]] |
Revision as of 09:46, 23 June 2007
The following short sec of code, allows you to Mount aditional files from the following games.
Counter Strike Source, Hl2MP, Episode 1, Day of Defeat Source, Half Life 2 (fixes),
This code will now fix bugs which may be featured with a game, also this allows you use the css and dod etc maps.. Tho the info_player_*** will not work, you'll have to bind that to the original info_player_start which isnt hard.
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
Credits
John Stuart aka TommyGun