Re: cz map dir how? -
08-02-2005
the game directory for CZ is "czero", hence the maps' official directory is "../condition zero/czero/maps".
To extract stuff (like the official maps) from Steam's GCF cache, use the LOAD_FILE_FOR_ME() macro. Look in my PMtools plugin to find out how it works. You can't save stuff back into the GCF file, though.
If you want some code to create the directory for you in case it doesn't exist, use the _mkdir() macro.
I'm moving this to the coders section, alright?
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|