Map conversions

Locked
JB
Posts: 1030
Joined: Fri Sep 22, 2006 11:31 am

Map conversions

Post 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?
foralarx2k3
Posts: 306
Joined: Wed Feb 01, 2006 9:56 pm

Post 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.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post 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).
JB
Posts: 1030
Joined: Fri Sep 22, 2006 11:31 am

Post by JB »

all i want is to play a 2v2 on cpm1a, not team locations or anything, as the map is pretty small.
JB
Posts: 1030
Joined: Fri Sep 22, 2006 11:31 am

Post 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:
Jotabin
Posts: 12
Joined: Fri Nov 17, 2006 5:51 pm

Post 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
resistance is futile
spookmineer
Posts: 506
Joined: Fri Nov 29, 2002 8:00 am

Post 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.
Jotabin
Posts: 12
Joined: Fri Nov 17, 2006 5:51 pm

Post by Jotabin »

When you get home, there's gonna be another floor on your house.
resistance is futile
Locked