This is a question about map directory layout, Is it possible to have sub-directories of maps, and the game can still read it all as if it was all in one folder?
Example:
Maps for defrag would go
/baseq3/maps/defrag
Maps for CTF would go
/baseq3/maps/ctf
Maps for DM would go
/baseq3/maps/dm
so when you want to choose from a map, but not sure if it's a CTF or DM map, admin could list "/rcon dir maps/ctf" to get a list of all available CTF maps on the server, instead of listing "/rcon dir maps" where it's hard to determine which is ctf, dm, or even defrag.
I have tried myself doing it this way, Yes it lists the maps correctly, but no it can't load them, because it says it cannot find it.
Cheers (:
Question for map directory structure
-
- Posts: 27
- Joined: Sun Jan 15, 2012 1:19 pm
Question for map directory structure
ts3.wishfulthinkings.net
Re: Question for map directory structure
No but the alternative is to unpack the pk3 files and repack them in grouped pk3 files. Pk3 files are just renamed zip files.
Re: Question for map directory structure
And destroy any means of playing online at the same time. Quake 3 servers can and mostly will run in pure mode, which means a client can only load .pk3 files that are also present on the server. If you put your maps in custom pk3 files, no server will allow you to load it.
-
- Posts: 27
- Joined: Sun Jan 15, 2012 1:19 pm
Re: Question for map directory structure
Alright, what about "viewing" a text/config file within console that contains a list?. For example, If I had all of the maps in the one directory (/baseq3), and a text/config file that I could open and list the names of CTF maps, Defrag maps, and so on, and then within Quake 3 do something like "/rcon exec maplist.cfg"?... could it show all the maps I have, as I have manually put the names into a config file?.
I have done some experiments like this in the past for other Q3 scripting tests, obviously using SAY would list it to the public, since we don't want to do this, I would need to use ECHO, but it only seems to ECHO into the server console, not into the clients/red console. There should be a "/rcon view filename.cfg" to view the contents of a configuration file.
Cheers,
~Wishful Thinking!
I have done some experiments like this in the past for other Q3 scripting tests, obviously using SAY would list it to the public, since we don't want to do this, I would need to use ECHO, but it only seems to ECHO into the server console, not into the clients/red console. There should be a "/rcon view filename.cfg" to view the contents of a configuration file.
Cheers,
~Wishful Thinking!
ts3.wishfulthinkings.net
Re: Question for map directory structure
Doesn't CPMA do something like this? I've been on servers that only list the available maps by /maplist that are available for the game mode that is currently running (1v1, TDM, FFA).
-
- Posts: 27
- Joined: Sun Jan 15, 2012 1:19 pm
Re: Question for map directory structure
I'm not sure as I don't play CPMA, I might download it and see if it's got it... no use to me though even if it did. but it's nice to know that some programmer out there has made it possible.
ts3.wishfulthinkings.net