How to create new items

From Running With Rifles Wiki
Jump to: navigation, search

In campaign this is how to insert items into your singleplayer stash.

First in the RWR main menu you go to "CONTINUE RECENT GAME"

Then you click "MANAGE IN FILE BROWSER!"

Your campaign savegames should pop up.

Go to the campaign stash you want to edit.


in your campaign edit after the <stash> tag, you can place these tags in before the </stash> and it will appear in your campaign's stash.


RARE WEAPONS

<item class="0" index="11" key="famasg1.weapon" />

<item class="0" index="13" key="f2000.weapon" />

<item class="0" index="14" key="benelli_m4.weapon" />

<item class="0" index="15" key="pepperdust.weapon" />

<item class="0" index="18" key="aks74u.weapon" />

<item class="0" index="19" key="p90.weapon" />

<item class="0" index="23" key="vss_vintorez.weapon" />

<item class="0" index="24" key="ns2000.weapon" />

<item class="0" index="29" key="stoner_lmg.weapon" />

<item class="0" index="30" key="m79.weapon" />

<item class="0" index="34" key="l85a2.weapon" />

<item class="0" index="35" key="sg552.weapon" />

<item class="0" index="51" key="xm25.weapon" />

<item class="0" index="52" key="desert_eagle.weapon" />

<item class="0" index="53" key="desert_eagle_gold.weapon" />

<item class="0" index="54" key="aa-12.weapon" />

<item class="0" index="55" key="mgl_flasher.weapon" />

<item class="0" index="56" key="barrett_m107.weapon" />

<item class="0" index="57" key="xm8.weapon" />

<item class="0" index="72" key="microgun.weapon" />

<item class="0" index="74" key="javelin.weapon" />

<item class="0" index="75" key="benelli_m4_supp.weapon" />

<item class="0" index="76" key="musket.weapon" />

<item class="0" index="82" key="lahti_l39.weapon" />

<item class="0" index="41" key="mg_resource.weapon" />

<item class="0" index="8" key="m60e4.weapon" />

<item class="0" index="81" key="mg42.weapon" />

<item class="0" index="88" key="steyr_aug.weapon" />

<item class="0" index="34" key="l85a2.weapon" />

Item Class Number
Guns (.weapon) 0
Grenades (.projectile) 1
Vests/Misc Items (.carry_item) 3
Unknown 2

All weapon names can be found in Steam_Root_Path\RunningWithRifles\media\packages\vanilla\weapons in all_weapons.xml as can all_throwables.xml. Items like vests and misc items are found in Steam_Root_Path\RunningWithRifles\media\packages\vanilla\items in all_carry_items.xml.

When adding items to stash, the "index" number doesn't seem to matter all too much, while testing i could set it to anything and the value would later become updated to correct number.

Edit: If someone can clean up and better structure this new information, feel free. -Mews88



note: i realize only the rare weapons are listed. I'm working on finding the indexes and keys of vest 3s and other items. If anybody could help me with that message me or publish here. Thanks!

Also the stash limit has a limit of 100 items or 1000 weight. I'm not sure what happens if you go over the limit by placing objects in your stash, it might crash your save. If anybody tries adding items over the limit, let me know what happens.