Mother Posted December 19, 2006 Share Posted December 19, 2006 I have all the bundles... unbundled I guess you would say, but Im having trouble finding the file that controls the magazine count of weapons and the carrying count of grenades. Also, what "lines" need to be "true" in order for my modifications to the weapons to work (trying to make the M99 a secondary). Thanks for looking and thanks for your help. Quote Link to comment Share on other sites More sharing options...
Beracus Posted December 19, 2006 Share Posted December 19, 2006 (edited) Hello Mother, Ok if you go down to Pritz's thread intitled "Couple of noob modding questions" I made a reply to him in there that might help you with the magazin count issues you are having. Now far as making the Barrett M-99 a secondary weapon, I actually did this once and it was a bit of a pain to do. You will basically have to add the barrett M-99 into your files system as another new weapon with a different name. If you try to simply change the default to secondary you will get an error message when loading. I will retrace my steps when I did this and get back to you soon as I can. Just bare with me as I am currently building a new sniper rifle set addon which is consumming a good bit of my free time. Edited December 19, 2006 by Beracus Quote Link to comment Share on other sites More sharing options...
Nutlink Posted December 21, 2006 Share Posted December 21, 2006 To change a weapon from Primary to Secondary, go to data\lib\managers\xml and open up weapon_data.xml. Inside there look for <weapon_data disabled_by="disable_sniper" unit="barrett" name="barrett" weapon_id="1" inventory_slot="primary" gui_unit="barrett" price="800" damage="7" player_weapon="1" grenade="0" cal="127" wizby="5"> <bar_stats accuracy="0.5" stability="1" weight="9" impact="0.8" /> <stats caliber="12.7 x 99 mm" rpm="" velocity="850 m/s" firemodes="SS" capacity="1" info="info_barrett" /> <mods front="false" top="true" bottom="false"> <mod mod_id="1" default="1" /> <!--<mod mod_id="2" />--> </mods> Change inventory slot to "secondary" if you want it as a secondary. You can also make pistols and the M8 Compact and MP5SD primary as well. To change the number of magazines go to data\sb_templates and open up sb_inventory_data.xml. Inside there you can change the number of magazines for different weapons to whatever you like for both MP and SP. Just remember that you cannot edit the number of magazines by weapon, only by type of ammo (all guns using 9mm have the same number of magazines, all 5.56 weapons have the same magazine, etc.). Hope this helps! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.