How do you make a boxmap Pk3 file?


(Miggy) #1

I’ve searched in the IMPORTANT posts, but none of them answer the question of how to run it without typing stuff like

/sv_pure 0
/g_gametype 2

How you you create a map so that you can create a game normally, like the other standard ET maps ?

At the moment, i’ve made a very simple map ( better than boxes only eheh ) but I cant create and host a server so that i can play it with my friends. The map is fine, becuase i can run around it, go axis/allies/spectator, so thats not the problem.

If someone can provide a linky or explanation , it would be great!
Thanks for any help.


(TIHan) #2

search might help :smiley:

BANANAS!!! :banana: :banana: :banana: :banana: :banana: :banana: :banana: :banana: :banana: :banana: :banana: :banana:


(Miggy) #3

search for what?? :frowning:


(Loffy) #4

Hi!
First: Im new to mapping, and my advice might be totally wrong.
I interpret your problem to be: You want to send your map to your buddies, so you can all round around inside your map and shoot at each other and stuff.
I think you can send the .bsp to your friends. Then they should be able to join your server.
(You can also try to make a .pk3 file, and send to them. But I think it is enough to give them just the .bsp file. I hope.)
Good luck!
// Loffy


(Loffy) #5

Do you have a zip-program? Like WinZip? I am assuming that you have a zip-program, when I am writing this text.

Let us assume your map is called killzone.
First, make a copy of it! Put the copy in a safe place. It is a back up!
Create a new, empty folder. Call it killzone
Inside this map you create a folder called maps.
Inside maps, you put your .map-file.
Start radiant. Open killzone.map. Yes, the file inside the folder maps.
Compile it (-bsp, -vis and –light).
Now you can see some new files, inside your killzone-folder. For example, there is a killzone.bsp file. Just leave them where they are. (If you ever re-compile the map, later on, these files will be re-written. That is normal, and they way it should be.)

Close radiant.

Your next step is to compress the folder killzone, and its content. Zip it!
When you have zipped it to killzone.zip you must rename it. Rename it to killzone.pk3.
Ok, this file (killzone.pk3) is it. You then copy it and paste it where it should be. That is, inside the folder called etmain (in your Wolfenstein – Enemy Territory folder).

Now, send the pk3 to your friends. Tell them to put it inside their etmain folder.

Or! You can also do this: Start a server with your new map killzone.pk3.
Password protected server.
Make sure players are able to join (give them the password to your server) and that download is possible (so they can connect to your server and download the pk3).

You must be aware that there are internet users and ET players that will try to download the map, if it is not password protected. What is wrong with that?, someone might ask. Nothing really. But there might be a problem if it is just a simple, made-for-fun map, that you do not want to distribute further.
If you have the map on a server that is not password protected, and if you are unlucky, someone might download it and host it on a different server. So, you might wake up one morning and find that there are ET-servers out there that run your map. It was perhaps only a simple map that you made for fun and that you had no intention whatsoever to make it public. Not nice, I know. But it might happen. It happend to me.

I made a simple room, with health/ammo racks and a water-tunnel under the floor. Two spawnpoints, one for axis and one for allies.
It was just for fun. To learn mapping.
I made the mistake to host it on my computer without password. I did it for like 30 minutes. It was a small sized map (<2Mb) and someone downloaded it. The next day it was out there. Brrr. 2-3 servers ran it. I felt so shamed. A crappy map with my name on it. (called Attack_beta).
Nobody runs it today, thankfully. Rest in peace attack_beta.

In sum: Make a zip (see above), rename it to .pk3. Put it in your etmain-folder. Start a password-protected server and allow download. Tell your friends to connect. And the shooting can begin!

Keep on mapping
// Loffy


(Miggy) #6

i tried it… and i still cant see the map name when i press

“host game” in the ET menu. I cycled through all the game types like stopwatch, lms … etc…

Do i have to compile with the command that you mentioned?

Or any command that generates a bsp file is good enough?

namely the “(single) bsp -beta” one… which seems to be fastest on my slow computer.


(heeen) #7

you need an arena file. search for arena file.


(Stektr33) #8

I don’t think you need a .arena file (please don’t flame me). The map should show up in the list if you properly created the pk3. Is it possible you created a killzone.pk3.zip file? instead of a killzone.pk3. To make sure, browse to your etmain folder, goto Tools->Folder Options click the View Tab, scroll to the “Hide Extensions for known file types” and make sure it’s uncheck. Click Ok or Apply.

GL.


([rD]MrPink) #9

Yeah, to get it on the list, you need to name it in the arena file. You can play it without one though.


(heeen) #10

as i said: you can set the gametype manually with set g_gametype 2 or use an arena file to make it appear in the map selection menu


(Loffy) #11

Also Miggy, but you knew this I guess, you have to restart Et. You cant just copy and paste the pk3 into the etmain folder. ET will not know it is there until it is restarted. (ET has a look in the etmain folder when it starts, to see what is there.) // L.


(Miggy) #12

So do i make this arena file or download it or??? Or is there an arena file in my ETmain somewhere that i cant find?

So let me get this straight, you need an arena file and a pk3 right?

Atm… all i can do is type /map Boxmap and then have my friends join.


([rD]MrPink) #13

http://www.planetquake.com/6thfloor/tutorials/make_arena.htm
http://www.planetquake.com/6thfloor/tutorials/make_pk3.htm


(Miggy) #14

the arena tutorial doesnt seem to be relevant to ET cause its got all these game types with “UT” infront of them. :???:


(Loffy) #15

Hi!
Previously I wrote the following (see above, 08 Sep 2003 09:33):


“Let us assume your map is called killzone.
First, make a copy of it! Put the copy in a safe place. It is a back up!
Create a new, empty folder. Call it killzone
Inside this map you create a folder called maps.
Inside maps, you put your .map-file.”

Ok, you can add this: Inside the folder killzone you create a folder called scripts.
This means that you have two folders inside killzone: maps and scripts.
Inside scripts you will now put your arena-file.

The arena file is simply a textfile. A plain text. However, the file name must end with this suffix: .arena

Let us assume that you have created a arena file for your map killzone. Then the file name will be: killzone.arena
Put killzone.arena inside your scripts folder.

When you have done that, just continue with the tutorial I wrote above (08 Sep 2003 09:33).

:drink:
// Loffy


(Loffy) #16

This is what an arena file for ET might look like:

{
map “killzone”
longname “killzone”
type “wolfmp”
timelimit 15
axisRespawnTime 10
alliedRespawnTime 10
lmsbriefing “Blahblah”
briefing “MyMap”
axiswintext “Axis win text in here.”
alliedwintext “Allied win text in here.”
mapposition_x 400
mapposition_y 400

}

Save it as a text file. Change the file name killzone.txt to killzone.arena
Put it inside the folder called scripts.
You can alter the information in your arena-file at any time. You might want to alter the values for the mapposition_x and mapposition_y. It is the location for your map name on the europe-map, when the map loads.
// Loffy

EDIT: and you might want to edit the axisRespawnTime 10 and alliedRespawnTime 10. When I test my map, and want to run around and jump and stuff, I set this to just 2. Then I respawn quickly (max 2 sec.) if I happen to die (after a long fall for example). But do not forget to change it back to the proper setting when you release the map :slight_smile:


(Miggy) #17

thank you very very much loffy, I have made my first working pk3 file :clap:


(Miggy) #18

but this part

axisRespawnTime 2
alliedRespawnTime 2

doesnt seem to be working

is it axisRespawnTime 2 or is it userAxisRespawnTime 2 ??