Page 1 of 1

Map conversions

Posted: Wed Nov 15, 2006 8:21 am
by JB
The map cpm1a isn't a TDM map, but i seriously want to be able to play a 2v2 or similar on this map. Is there a quick and easy way to convert it's compatible gametypes to include TDM?

Posted: Wed Nov 15, 2006 9:11 am
by foralarx2k3
Do you mean you can't load it from the skermish or multiplay menu in TDM mode? If so, there's a few ways round this.

1. Launch a tdm game and once in the map bring down the console (the key above tab on your keyboard) and type \map cpm1a and press enter :)

Alternate method:-

2. Open the pk3 .. (use winzip) it's just a .zip file with a different file extension. Extract the .arena file and using wordpad update the type line to include the word "team" as follows:-

{
map "cpm1a"
longname "Wicked"
fraglimit 0
timelimit 15
bots "keel major doom"
type "ffa tourney team"
}

Save it and then you have two choices.

a) [Not recommend as this will make the pk3 incompatiable with other pure servers] Update the existing pk3 with the amended .arena file
b) Create a new zip file and add the updated .arena file to it (retaining the scripts path in the new zip file for the updated .arena file). And then renaming the file extension of the new .zip to .pk3 and making sure the file name of the .pk3 comes alphabetically after the original .pk3 (so for example if the map is in cpm1a.pk3 name your new .zip file z_cpm1ateam.pk3). Lastly stick the .pk3 in your baseq3 folder.

-----------------------

If you mean you want to add team locations then thats a whole different matter and would involve a decompile of the .bsp to a .map then adding them and recompiling the .bsp in a map editor. Then if you wanted to give it out to others included your friends you would most certainly need the permission of the map author, which I would seek before undertaking such a task.

Hope that helps.

FoRa.

Posted: Wed Nov 15, 2006 9:47 am
by ^misantropia^
foralarx2k3 wrote:If you mean you want to add team locations then thats a whole different matter and would involve a decompile of the .bsp to a .map then adding them and recompiling the .bsp in a map editor.
Not quite. CPMA supports custom .loc files (custom .map files with alternate item layouts, even).

Posted: Fri Nov 17, 2006 9:26 am
by JB
all i want is to play a 2v2 on cpm1a, not team locations or anything, as the map is pretty small.

Posted: Fri Nov 17, 2006 9:27 am
by JB
foralarx2k3 wrote:Do you mean you can't load it from the skermish or multiplay menu in TDM mode? If so, there's a few ways round this.

1. Launch a tdm game and once in the map bring down the console (the key above tab on your keyboard) and type \map cpm1a and press enter :)
Thank you, much appreciated :icon30:

Posted: Mon Nov 20, 2006 3:49 pm
by Jotabin
foralarx2k3 wrote:...and would involve a decompile of the .bsp to a .map then adding them and recompiling the .bsp in a map editor.
Do you know how to decompile a .bsp file?
I've been trying to find a way to do it, but every program I've downloaded has failed... please tell me if you know how, I would really appreciate it

Posted: Mon Nov 20, 2006 10:59 pm
by spookmineer
http://en.wikibooks.org/wiki/Q3Map2#General_options
-convert [-format <ase|map|quake3|wolf|et|etut|ef|jk2|ja|sof2|tenebrae>]
map "decompiles" a .bsp back to a .map (most entities are lost, as is texture alignment information). Q3Map2 -convert -format map outputs mapname_c.map in the "maps" directory.

Posted: Tue Nov 21, 2006 6:05 pm
by Jotabin
When you get home, there's gonna be another floor on your house.