lonck 0 Posted September 14, 2008 Is it possible to make weap magazines take the same slot, overlap? Like ak mags take up the same slot and m-4 mags take up another slot? Or all mags take the same slot? Either way is fine. Share this post Link to post Share on other sites
lonck 0 Posted September 15, 2008 How come nobody answers? Share this post Link to post Share on other sites
[frl]myke 14 Posted September 16, 2008 How come nobody answers? Â Maybe because no one knows an answer that would make you happy? Ok, honestly. AFAIK one magazine takes at least one slot. So overlapping or stacking more than one mag per slot isn't possible. At least not on the usual way. With scripting it might be possible to check if unit has more than one magazine of same type (say G36) and store them into a variable or an array. This way it would be possible, yes. But it's some kind of creating your own inventory. Or you use some kind of Backpack which is basically the same as above, a separate Inventory. So in terms of stacking or overlapping magazines in one slot, no, not possible. In terms of scripting and fake stacking and/or overlapping, yes, doable. Share this post Link to post Share on other sites
rocket 9 Posted September 16, 2008 What you are trying to achieve by having two magazines in one slot is key to answering this. For example, do you want to increase the amount of ammunition slots that a soldier has, or increase the amount of ammunition? There are probably better ways of dealing with those situations than by what you are suggesting. From my understanding of how ArmA is coded, the idea that two inventory objects could share the same space is manifestly impossible. Share this post Link to post Share on other sites
lonck 0 Posted September 16, 2008 ok well, can't you guys suggest something similar? What I'm trying to do is increase number of mags a soldier can carry. I want to be able to use the pistol slot to be able to carry main weap ammo too. I also want to reduce the number of slots satchel charges and AT ammo take ( reduce it from two to one slot). Share this post Link to post Share on other sites
rocket 9 Posted September 17, 2008 ok well, can't you guys suggest something similar? Â What I'm trying to do is increase number of mags a soldier can carry. Â I want to be able to use the pistol slot to be able to carry main weap ammo too. Â I also want to reduce the number of slots satchel charges and AT ammo take ( reduce it from two to one slot). <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgMagazines { class Default; class PipeBomb; class PipeBombSmall : PipeBomb { Â Â Â Â displayName="Satchel Charge (Small)"; type = WeaponSlotItem; }; class M136; class M136Small: M136 { Â Â Â Â displayName="M136 (Small)"; type = WeaponSlotItem; }; class Javelin; class JavelinSmall: Javelin { Â Â Â Â displayName="Javelin (Small)"; type = WeaponSlotItem; }; }; class cfgWeapons { class Default; Â Â class M136; class M136Small: M136 { displayName="M136 (Small)"; magazines[]={M136Small}; }; Â Â class Javelin; class JavelinSmall: Javelin { Â Â Â Â displayName="Javelin (Small)"; magazines[]={JavelinSmall}; }; }; Share this post Link to post Share on other sites