Thread: cz map dir how?
View Single Post
Re: cz map dir how?
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default 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."
  
Reply With Quote