Mr_Tea 0 Posted June 14, 2008 I think the tiny MP5 magazines should not "eat up" an ammo slot, that could hold way bigger mags. You can store up to 3 MP5 mags in that space one 7.62 or 5.56 mag would need. The MP5 mags should use the ammo slots for pistol ammunition. So how can that be done? I assume it is only a little change in an config. But where, and what exactly need to be done? Share this post Link to post Share on other sites
cervantes 330 Posted June 15, 2008 you need define a magazine type #define WeaponNoSlot 0// dummy weapons #define WeaponSlotPrimary 1// primary weapons #define WeaponSlotSecondary 16// secondary weapons #define WeaponSlotItem 256// items #define WeaponSlotBinocular 4096// binocular #define WeaponHardMounted 65536 type=1 if is a primary weapon slot etc etc Share this post Link to post Share on other sites
Mr_Tea 0 Posted June 15, 2008 Ah thanks, but where do i have to make that setting? Share this post Link to post Share on other sites
hamis 0 Posted June 16, 2008 Weapons.pbo search these classes:class 15Rnd_9x19_M9SD: 15Rnd_9x19_M9,class 30Rnd_9x19_MP5SD: CA_Magazine,class 30Rnd_9x19_MP5: CA_Magazine,and add this to all of them:"type = 16;". Share this post Link to post Share on other sites
Mr_Tea 0 Posted June 16, 2008 Thanks, i already had a look into weapons.pbo, but had no clue what to do. Is it me, or where things like this easier to do in OFP? Edit: Now i have an Congfig.cpp with the wanted changes. How do i convert that back to an .bin file, and can i use that config.bin in an mod folder or do i need to repack the weapons.pbo? Share this post Link to post Share on other sites
hamis 0 Posted June 16, 2008 No need to convert to bin.Kegetys CPBO is good tool for repacking,or you can pack cpp only(give it some name e.g new_weapons.pbo or something. Share this post Link to post Share on other sites
Mr_Tea 0 Posted June 16, 2008 Sweet, will do that. Thanks for all the info, unfortunately i`m a complete noob when it comes to modding addons and configs. Share this post Link to post Share on other sites
hamis 0 Posted June 16, 2008 Well,you can have only 1 "primary" weapon,so how does this help you?Do you want more space for rpg/law etc ammo?It's easy to shrink their size(same config).They start from:class CA_LauncherMagazine: CA_Magazine.Type = "1 * 256"; means it takes one slot,type = "3 * 256"; means it takes 3 slots. Share this post Link to post Share on other sites
Mr_Tea 0 Posted June 16, 2008 There is a script, that allows you to have 2 primary weapons, without additional ammo of course. So the MP5 mags as pistol mags, would allow me a full ammo loadout for an sniper rifle, plus enough ammo for an weapon that can be used as an pdw. Share this post Link to post Share on other sites
cervantes 330 Posted June 23, 2008 a type define has on class config magazine for define you magazine type and class weapon for define you weapon type Share this post Link to post Share on other sites