Thread: cz map dir how?
View Single Post
cz map dir how?
Old
  (#1)
Austin
Moderator
 
Austin's Avatar
 
Status: Offline
Posts: 403
Join Date: Nov 2003
Default cz map dir how? - 07-02-2005

Not sure if this should be posted here or in the dev forums.

CZ loads maps from two different directories.
..\condition zero\cstrike
..\condition zero\czero

In a metamod plugin running under cz on a LAN game:
GET_GAME_DIR ();
returns "czero" always.

gpGlobals->mapname
is jsut the map name.

1) So how can I find the full path to the loaded map?

2) Also, for the standard cz maps they must be bundled in some cache.
How would I load/save these maps in game form my metamod plugin?
I guess I can't and would have to install them as a custom map in the cstrike folder with a different name and load them from there??
Tx.
  
Reply With Quote