Call to an external pk3


(MaxJenius) #1

Is it possible to use a file wich is in another pk3 file?

directorie/image.tga

=> It reffers to a file in the current pk3, but how to use a file located in another pk3 ?


(Berzerkr) #2

Two solutions:

  1. Change the path to the file in the another pk3
  2. Rename and replace the old file with the new one

You’re talking about a mapscript, right?


(IndyJones) #3

well, as far i know engine loads PK3 alphabetically, so, if you have 3 files with name a.pk3, b.pk3 and c.pk3, if there is a file with same filename and directory in a.pk3, it will be replaced by files in c.pk3. just use zzz_name.pk3 … hope it helps.


(MaxJenius) #4

I would like to use some files which belong to the original pk3 which are in Etmain.


(Berzerkr) #5

So don’t replace them with other files wich are in the new pk3 you create.
Let only a script/shader/skin/md3 point to the files wich are located in pak0.pk3


(MaxJenius) #6

Tank you to all of those gave me a respons.