different models, same path


(Erik-Ftn) #1

Hi

Im fully aware that this is really bad pratice but I’m considering doing this once, if it works.

Will a model in my_map.pk3 consistently and predictably override the model in pak0.pk3 if the two models have the same path? Are there any factors that controls the behaviour? (like eg override on that particular map (.pk3), no override on all other .pk3:s)

Erik


(ratty redemption) #2

I dont know about et, but in rtcw and the jedi knight q3 games, the latter named pk3s are read after the former names, eg 01.pk3 will be overridden by 02.pk3 so I`ve been able to change any assets, on my own system, including shaders and models by doing this.

works as well for alphabetical names like a.pk3 will be overridden by z.pk3

Im guessing the problem with distributing pk3s like this is choosing a name which will come after anyone else`s custom pk3, so if two people used z[mapname].pk3 as custom names they would clash or be read in order of the map name.


(TFate) #3

Just name the model something different. Downloading new pak#.pk3 files is such a pain in the ass.

:moo: