Brought to you by PCGamingWiki

Mods

From Sir, You Are Being Hunted Wiki
Revision as of 11:06, 30 August 2013 by 27.32.169.144 (talk) (Created page with "This is a Guide to Modding Sir, You are Being Hunted. This guide is intended to show you how to add Items to the Game, Such as Rifles with 1000+ Ammo. To Start we Need a Basi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a Guide to Modding Sir, You are Being Hunted. This guide is intended to show you how to add Items to the Game, Such as Rifles with 1000+ Ammo.

To Start we Need a Basic Inventory, Which can be found in sir_alp -> Savegames -> World# -> Dynamic -> PlayerInv.xml This is the Inventory

Make sure the game is Off to start with.

here is a copy of the inventory with nothing in it.

<?xml version="1.0" encoding="utf-8"?> <C_InventoryData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <m_InventoryName>PlayerInventory</m_InventoryName>
 <m_PickupItemList>
 </m_PickupItemList>
 <m_PickupItemValueList>
 </m_PickupItemValueList>
 <m_PickupPositionList>
 </m_PickupPositionList>

</C_InventoryData>

As you can See, Their is nothing in it as you have nothing in your inventory, unless you have done the staring "Quest" where you explore the dead robot.

In Order to Add Something, You Have to put in All 3 Catigories which is

 <m_PickupItemList>
 </m_PickupItemList>
 <m_PickupItemValueList>
 </m_PickupItemValueList>
 <m_PickupPositionList>
 </m_PickupPositionList>

Now lets Add Something, Say a Rifle So What we Need is the Starting Inventory Remember We Need to add thi9ngs in al 3 catigorys.

<?xml version="1.0" encoding="utf-8"?> <C_InventoryData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <m_InventoryName>PlayerInventory</m_InventoryName>
 <m_PickupItemList>
   <string>Rifle</string>
 </m_PickupItemList>
 <m_PickupItemValueList>
   <int>0</int>
 </m_PickupItemValueList>
 <m_PickupPositionList>
   <S_InvPoint>
     <x>0</x>
     <y>0</y>
   </S_InvPoint>
 </m_PickupPositionList>

</C_InventoryData>

All the 0's will be filled in by the Game

Notice how their are 2 spaces when a new comment is set (VITAL)

So if you Save This, When you start the game, You will have a Rifle. You can add other Items by having their Name. Remember, You need things in all 3 Categories.