RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

Changing the Armoury contents
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=7&t=1915
Page 1 of 1

Author:  Jaiden [ Fri Nov 21, 2014 8:34 pm ]
Post subject:  Changing the Armoury contents

Myself and a friend who has experience with .xml documents have been trying to add weapons to the armoury for a fun playthrough. We've modified the rewards .xml to get easy promotions so far but have been unable to add weapons such as the F2000 to the armoury.

Can anyone help us out?

Author:  pasik [ Sat Nov 22, 2014 7:40 am ]
Post subject:  Re: Changing the Armoury contents

Code:
    <commonness value="0.0006" can_respawn_with="0" in_stock="0" />

First, change in_stock to 1 to make it possible for it to appear in armory.

Next, the rare weapons are enabled to be available for the miniboss soldier group only by default, so you need to modify the faction files as well. For example, green.xml, you can see these
Code:
         <weapon key='p90.weapon' />
         <weapon key='benelli_m4.weapon' />
         <weapon key='f2000.weapon' />
         <weapon key='aks74u.weapon' />
         <weapon key='pepperdust.weapon' />
         <weapon key='vss_vintorez.weapon' />
         <weapon key='ns2000.weapon' />
         <weapon key='stoner_lmg.weapon' />
         <weapon key='aa-12.weapon' />
         <weapon key='mgl_flasher.weapon' />
         <weapon key='barrett_m107.weapon' />
         <weapon key='xm8.weapon' />     

listed under miniboss group. You'd need to copy paste those into the corresponding position a bit higher up so that they end up inside the default group. The same applies to other faction files, including the separate ones for winter maps in vanilla.winter/factions/.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/