tutorials/mapping/pk3.txt · Last modified: 2014/01/25 23:51 by JRandomNoob
Table of Contents

.pk3

.pk3

Introduction

A .pk3 is basically a .zip (with just blah.zip renamed to blah.pk3) containing 4 folders:

- MAPS
- LEVELSHOTS
- SCRIPTS
- TEXTURES

There might as well be a SOUNDS folder to be included, in case you used custom soundfiles.

Notes

  • Don't put the folders in another folder and zip this single folder then… map wont work!
  • Rename your files all to <mapname>.* … i.e. testmap.bsp, testmap.tga, testmap.jpg, testmap.shader, testmap.arena …
  • The .bsp must be the same name as the .pk3 otherwise autodownload won't work. [i dont know yet if the .arena file plays a role]
  • This stuff is to zip:
MAPS
contains the .bsp you get after compiling the .map you made with your radiant
contains the .tga of the minimap
might contain also a folder with some pics starting with "lm_ " or similar... in case you have used 'lightstyles'/flashing lights\\

LEVELSHOTS
contains the .tga/.jpg of your levelshot, the picture that shows up during loading\\

SCRIPTS
contains the .shader and the .arena files.
and the q3map2_<mapname>.shader for the flashing light, in case you have used any\\

TEXTURES
contains the textures you used, in case you do not just use standard urt textures but own ones\\
  • arenafile is a .txt renamed to .arena, with a similar layout like:
{
map "ut4_ramelle"
longname "Ramelle"
type "ut_ffa ut_team ut_survivor ut_ftl ut_cah ut_ctf ut_bomb"
}

longname is what shows up ingame in the vote menu

  • Flashing lights should not be used, as they will be broken in 4.2 anyway.

Links