PDA

View Full Version : .pk3 file packing


lipton
01-05-2004, 01:49 PM
:?: Hi out there! I have made a skin of my dad (see it here) (http://www.daplayazclub.com/uploads/OSF.jpg)
Its made with the original things from moh! only the medic armband is changed by me, from two armbands to one (ps. i have changed the original armband file! its not a new file i've made!) Im a doof to make .pk3 skin files so, how do i pack everything i used, to one .pk3 file skin, i can use in the comming paciffic assault? :star:

Here's what i used to the skin:

-------------------------------
surface ranger_pants shader army_pantsgreen
surface us_top shader us_top
surface armband shader army_medic
surface us_top_c shader us_top_c
-------------------------------
path models/human/heads
skelmodel head5.skd
surface head shader paul_dirty
--------------------------------
path models/human/hands
skelmodel hand.skd
surface hand shader handsnew
--------------------------------
path models/gear/us
skelmodel garandbelt.skd
surface garandbelt shader usammobelt
--------------------------------
path models/equipment/USGear/helmets
skelmodel us_helmet.skd
surface us_helmet shader us-helmet_medic
--------------------------------
path models/equipment/usgear
skelmodel AL_US_ParaPack.skd
surface ParaPack shader parachute_pack2
--------------------------------
path models/equipment/USGear/airborne
skelmodel airborne_gear.skd
surface gear shader airborne_gear
--------------------------------

GaSplat
01-05-2004, 10:26 PM
If you have winzip, open an existing pk3 that came with the game and see the directory structure where the different files are kept. On you r C: (or D: or other hard drive root directory) create the same directory tree and copy in your files for your skin.

Now create a new zip archive, and name it after your skin name (make the file name something that comes after pak, like z_dadMedicSkin). I won't go into why, but if you changed a file you will need your mod to come after the standard pk3s. Now add all the files from the special directory structure you made to the new zip. Be sure to use the "retain folder information" option (exact words may vary, but inside the zip you need the files to keep their directory structure). Once you have done all this, rename your zip file so it ends in pk3 instead of zip. Voila.

As to working in the new Pacific Assault game, I don't know but I doubt it. They appear to be making huge graphic engine upgrades so skins designed off the current system will probably need extensive updates, if not complete rewrites. That (and new hardware, heh) is the price of progress.