Page 1 of 1

My Map .PK3 Problem please help...

Posted: Sun Jun 25, 2006 6:25 pm
by Nathe.uK
Lo Guys im new here & also new to mapping. hope u guys can help :)

I Did a test of making something in mohradient and when i tested it ingame all works fine.. then i packed it into a .PK3 Files inside that was

Maps Textures Scripts Ui

in maps folder there is a dm folder inside that i had mymap.bsp, mymap.bak, mymap.scr, mymap.prt, mymap.vis......

in textures folder is mohmenu folder inside that is dmloading with my loadfing screen called mapload.tga

In Scripts there was my, mymap.shader file

and in the Ui folder is my loading_mymap.urc

all packed into this .PK3 folder so i deleted all the mymap.bsp etc from

"C:\Program Files\EA GAMES\MOHAA\mainta\maps\dm"

and then placed my .PK3 into my mainta but as i start moh game it loads up then cuts off straight away with an error of
"Runtime Error"
Program: C:\Program Files\EA GAMES\MOHAA\moh_spearhead.exe
Abnormal program termination

with the moh console up its stopped with this

------- Sound Initialization Complete ------- 260 ms
Setting up Shaders
Loading inventory...

then i have to take my .PK3 out and it works?

any idea guys sorry for the long story but i tryied to explain all the infomation required

Thanks Nathe

pk3

Posted: Mon Jun 26, 2006 4:45 am
by tltrude
First, the file that ends in .bak is a backup for your .map file and not needed in your pk3. Also the .vis file is used by the compiler and not needed in your pk3.

I think your map name has to start with "dm_" for Spearhead deathmatch maps, but I'm not sure.

A pk3 is a compressed version of the main folder. So, take all the little folders and use winzip or winrar to compress them. Then just rename the file from .zip or .rar to .pk3 .

You can also, download a program named "Pakscape" which will do all that for you.

Posted: Mon Jun 26, 2006 5:29 am
by neillomax
He ran a thread over at "The Great Pumkin",.... gonna catch it for that... lol... his loading screen was causing the problem.

Re: pk3

Posted: Mon Jun 26, 2006 3:11 pm
by LeadHead
tltrude wrote:I think your map name has to start with "dm_" for Spearhead deathmatch maps, but I'm not sure.
I am pretty sure that it doesn't need that.

Posted: Mon Jun 26, 2006 6:23 pm
by Nathe.uK
Cheers Guys all fixed and working, :D

ty nathe :D