In this guide, I'll show you how to make your own mod to replace the starting weapon and inventory on any sub-level. It doesn't matter if you play as Billy or Ray.
Editing relevant game files
If you want to try a range of weapons in Call of Juarez, you can add them to your inventory at the start of each chapter by editing the relevant .scr files in the game's main Data0.pak (for the demo) or Data1.pak (for the full version) file archives. These .pak files are found under your: \Program Files\Ubisoft\Demo\Techland\Call of Juarez [SP Demo]\ directory, and can be opened using a program like WinZip or WinRAR.
For the demo version, open Data0.pak and find the files saloon01_PublicDemo_StartProp.scr which is for the Ray chapter, and Ranch_PublicDemo_StartProp.scr which is for the Billy chapter. In the full version, open Data1.pak and select which map you want to alter, making sure to select a file which ends in _StartProp.scr (e.g. Hunt01_StartProp.scr).
To edit them, you can either extract them to a suitable directory and use a text editor just like a normal .scr file (See Advanced Tweaking section), or you can right-click on them while they are still in the .pak file and select 'View' or 'View with Notepad.exe' (in WinZip). Make sure to backup the contents of each before editing them. Now towards the bottom of the .scr file where it lists the various starting items (e.g. StartItem("WeaponWhip")), you can edit to add any of the following items:
StartItem("WeaponWhip") - Whip
StartItem("WeaponRifleWinchester") – Winchester Rifle
StartItem("WeaponRifleWinchesterScope") – Winchester Scope Rifle
StartItem("WeaponRifleWinchesterScope") – Снайперська Ґвинтівка
StartItem("WeaponRifleRemingtonSawOff") – Sawn Off Shotgun
StartItem("WeaponRifleRemington") – Normal Shotgun
StartItem("WeaponPistolSchofield") – Schofield Six Shooter
StartItem("WeaponPistolLemant") – LeMat Pistol
StartItem("WeaponPistolFrontier") – Pistol
StartItem("WeaponPistolDerringer") – Derringer Pistol
StartItem("WeaponPistolPeacemaker") – Peacemaker Pistol
StartItem("WeaponPistolWalker") – Walker Pistol
StartItem("WeaponPistolCogswell") – Cogswell Pistol
StartItem("WeaponPistolVolcanic") – Volcanic Pistol
StartItem("WeaponHatchet") – Hatchet
StartItem("WeaponDynamiteStick") – Dynamite
StartItem("WeaponBow") – Bow
You can also start with the relevant ammo:
StartItem("AmmoPistol")
StartItem("AmmoRifle")
StartItem("BowArrow")
Add all the items you want to the file in place of the existing ones, save the file and update the archive with it. If you extracted the files to another location, make sure to add them back to the relevant .pak archive using the exact same directory path the file originally used. You should now be equipped with these items when you start that particular chapter the next time you boot up the game.
.pak files can be easily opened with windows file explorer. I open .pak files by renaming them to .zip (to change the file extension back to .pak, you have to set Windows to show file extensions).
Modified .scr files don't need to be in .pak file – I put them to relevant directory as it was in .pak file.
For example put _StartProp.scr of the 1st part of the 1st episode to: Call of Juarez\Data\Maps\Hope\Home01 (of course, create required folders in Data).
Just don't forget to leave the original .pak file in the game folder! The game ignores original data in .pak file and loads the changed ones from Data folder.
You can also zip the modified folders into a single file, renaming it, for example, "Data20.pak". The number should be any of your choice.
--------------------------------------------------
Thanks to QuA for help!
Немає коментарів:
Дописати коментар