lonck 0 Posted August 14, 2008 I want to change the ammo capacity of basically all vehicles though air vehicles are a priority. Anybody knows the files I need to change? Share this post Link to post Share on other sites
.kju 3241 Posted August 14, 2008 class Car: LandVehicle { transportMaxMagazines = 10000; //50; transportMaxWeapons = 10000; //10; }; Share this post Link to post Share on other sites
canukausiuka 1 Posted August 14, 2008 If you want to change the amount of ammunition they have, you have a few choices. The easiest is to use addMagazine in the editor. If it is for an addon, then you can directly add magazines by editing their turrets class under the vehicles entry in cfgVehicles. Just add the magazines to the list <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">magazines[] = {"magname", "magname"}; etc If you don't want to do that, you can change the number of rounds in the magazine by editing the cfgMagazines entry. Just set the number to the number you want in a magazine <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">count = 10; Also be aware that editing the BIS classes is a generally frowned-on practice, esp. if you are going to release the addon. Share this post Link to post Share on other sites
lonck 0 Posted August 15, 2008 I am having a problem with cfgmags though. Â It doesn't seem to work. Â Here is what I do: Â Unpack weapons.pbo using PboView.exe. Â Unpack config.bin with unRap. Â Modify cfgmags using notepad++, then delete config.bin and pack folder into a new weapons.pbo (original is moved to another folder). Â But when I start the game nothing has changed. Â What am I doing wrong? Share this post Link to post Share on other sites
Messiah 2 Posted August 15, 2008 that pretty much depends on what you change in CFG mags... it would be easier for us to help if you post up the config entry before and after you changed things. Share this post Link to post Share on other sites
lonck 0 Posted August 15, 2008 I'm trying to increase the amount of ammo of vehicles. Â I increased all counts using replace function to see if all weaps would be affected. Â But they don't. Share this post Link to post Share on other sites