Search for files in *.gcf files
file_exists(file[]) searches for files in the mod directory. However, for every mod, all files from half-life.gcf will be used as well, although not actually copied to the modfolder on game load. For cstrike, DoD, OpFor and other Valve-made/-owned GoldScr mods, their very own *.gcf-files will be loaded as well. So, is there any way to check for file in the gcfs, and, if possible, find out what the name of the mod's *.gcf-file is, if at all?
|
Re: Search for files in *.gcf files
If you find it in a gcf on your computer you can just precache it (hardcoded) in your plugin. afaik
HLDS doesn't use gcf files. |
Re: Search for files in *.gcf files
LoadFileForMe() can load .gcf files.
|
Re: Search for files in *.gcf files
Quote:
Code:
/** |
Re: Search for files in *.gcf files
Thanks for the replies, but wow, I expected some functions specially for use with gcf-files. I don't feel like deciphering an ASCII-string with 400-million arrays just to check if some guy on a listenserver typed in the correct file path. Anyway, thanks for the answers. =)
|
| All times are GMT -4. The time now is 14:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.