PAKexplorer: Error while copying Created 14 years ago2009-12-20 17:48:56 UTC by Tracker Tracker

Created 14 years ago2009-12-20 17:48:56 UTC by Tracker Tracker

Posted 14 years ago2009-12-20 17:48:56 UTC Post #276795
Hi!

I need some help with Pakexplorer, because when I want to add a model or sound or nearly anything to the pak0.pak in the Half-Life\valve directory, I always get an error message which says something like:
Error while copying C:\w9mmarclipt.mdl: Invalid Filename

I wanted to add a new mp5 model to the game, which I got from a site. Then I tried to copy the files into the pak0.pak using PAKexplorer, with no success at all. Could anyone help me with this please? It's very annoying!

Thanks,

Tracker
Posted 14 years ago2009-12-20 18:34:09 UTC Post #276799
If you want to use a new weapon (a replacement for the mp5 in your case), all you need to do is put the model(s) in valve/models directory. If you have custom sounds and sprites for the mp5 replacement weapon, put them in valve/sound and valve/sprites.

Note that the filesnames should be the same as the original, or else HL won't recognise your new weapon as a replacement.

There is absolutly NO NEED to add the files into the existing pak0.pak file. You should leave the original game files alone anyway.
Half-Life will look for resources in its file structure first, and then in the pak file so that your new mp5 weapon will used instead of the default mp5.
Posted 14 years ago2009-12-22 04:47:40 UTC Post #276853
So it's quite similar the way Counter-Strike 1.6 uses the weapons... Well, fortunately I made a copy of my original pak file, so I can restore it.
Thank you very much!
Posted 14 years ago2009-12-22 09:51:40 UTC Post #276855
One thing, however:
w9mmarclipt.mdl
should be w_9mmarclipt
there is always an underscore between the item name and it's world, player, or view model designation (w, p, v, respectively) because that's the system valve used, and
the filesnames should be the same as the original, or else HL won't recognise your new weapon as a replacement.
You may want to put that in the feedback section for where you downloaded the skin.
Notewell NotewellGIASFELFEBREHBER
You must be logged in to post a response.