Help Laying the Groundwork for a Mod? Created 17 years ago2006-06-03 17:57:23 UTC by Trevor Trevor

Created 17 years ago2006-06-03 17:57:23 UTC by Trevor Trevor

Posted 17 years ago2006-06-03 17:57:23 UTC Post #183589
Hey. I've read the "setting up a mod" series of tutorials, but they only tell you how to make a map based on already-existing data (such as models). Basically, I want my mod to use a different .pak file from the default "pak0.pak" file in the valve directory. Suppose I have already finished the first part of the aformentioned series; what next if I want to change the .pak to be used?
Posted 17 years ago2006-06-03 17:58:37 UTC Post #183590
You just place the models etc in your mod directory. The game uses these models instead.
ChickenFist ChickenFist<Witty Title>
Posted 17 years ago2006-06-03 18:02:09 UTC Post #183592
putting a pak0.pak in your mod's directory will do what i think your asking.

The system works on a higher archy. If something exist on a higher level than the other, the engine uses that instead.

Mod Folders
Pak file in mod directory
Valve Folders
Pak file in Valve directory

There is no need for new code if you replace stuff with the same name in the folder. Names aren't that important, and other things like sprites, sounds, and models can be defined in the mapping part.
Rimrook RimrookSince 2003
You must be logged in to post a response.