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

Rare weapon testing
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=6&t=1226
Page 1 of 1

Author:  Visionhunter [ Sun Jun 02, 2013 11:29 pm ]
Post subject:  Rare weapon testing

It would be nice to have easy access to all the new rare weapons somehow. I've seen the 5 different ones but after about 50 hours I still haven't been able to properly test them all. On average about 2 minutes each.

For testing purposes only, I propose one (or both) of the following:

1. Make them available in the armory for a reasonable price so they can be bought.
2. You always respawn with the weapon you died with, even if it's a rare.

Right now it's nearly impossible to properly field test them, and since beta = field testing... it would make sense in my opinion.

Author:  ComJak [ Mon Jun 03, 2013 2:17 am ]
Post subject:  Re: Rare weapon testing

You can do some .xml modding to make them very common.

ComJak

Author:  pasik [ Mon Jun 03, 2013 7:52 am ]
Post subject:  Re: Rare weapon testing

Easiest way is to override the parameters in all_weapons.xml:

Code:
<?xml version="1.0" encoding="utf-8"?>
<weapons>
   <weapon file="ak47.weapon" />
   <weapon file="apc_hmg.weapon" />
   <weapon file="g36.weapon" />
   <weapon file="m24_a2.weapon" />
   <weapon file="riot_shield.weapon" />
   <weapon file="m72_law.weapon" />
   <weapon file="m240.weapon" />
   <weapon file="mossberg.weapon" />
   <weapon file="mp5sd.weapon" />
   <weapon file="pkm.weapon" />
   <weapon file="famasg1.weapon" />
   <weapon file="m16a4.weapon" />

   <weapon file="f2000.weapon">
      <commonness value="0.0012" in_stock="0" />
   </weapon>
   <weapon file="benelli_m4.weapon">
      <commonness value="0.0012" in_stock="0" />
   </weapon>
   <weapon file="pepperdust.weapon">
      <commonness value="0.0006" in_stock="0" />
   </weapon>

   <weapon file="tank_cannon.weapon" />
   <weapon file="tank_mg.weapon" />

   <weapon file="aks74u.weapon">
      <commonness value="0.0010" in_stock="0" />
   </weapon>
   <weapon file="p90.weapon">
      <commonness value="0.0007" in_stock="0" />
   </weapon>

   <weapon file="dragunov_svd.weapon" />

   <weapon file="medikit.weapon" />

   <weapon file="tow.weapon" />
   <weapon file="vss_vintorez.weapon">
      <commonness value="0.0007" in_stock="0" />
   </weapon>
</weapons>


Just set in_stock to 1 to "unrare" them; they'll be shown at armory and you'll be able to respawn with them. Similarly, you should be able to modify their price by adding "<inventory encumbrance="1.0" price="0.0" />" next to commonness tags.

Author:  Visionhunter [ Sun Jun 30, 2013 7:17 pm ]
Post subject:  Re: Rare weapon testing

Thanks, I'll give it a try!

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