Arma 3
424 ratings
Magazine Simulation A3
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
306.576 KB
Apr 29, 2018 @ 1:21pm
Apr 24, 2019 @ 5:18pm
22 Change Notes ( view )

Subscribe to download
Magazine Simulation A3

Description
Open-source mod for magazines simulation in ARMA3: Using BIS' super-simple objects method mixed with various SQF code tricks; a magazine model will spawn around hands of subject after mag pulled out, fall with physics simulation.

** Simulation only happens with depleted magazine (ammo null).

Requirements: CBA
MP compatible: Yes *Has to be loaded on both server and client
Signed: Yes
version: 1.26
Source code[github.com]

If reloaded magazine's config support magazine proxies tech, mod will get the magazine model accordingly ( major weapon modifications such as NIArms, RHS' mods and CUP weapons support this). If not, it will use 'generic rifle magazine' model.

CBA Options
Some magazines don't have proper P3D models defined, or they have placeholders rather than a "magazine" model. Causing bad rotation on ground, etc. You can disable default P3D getter method of simulate mag mod and force it to use generic model on deformed/bad magazines:

Lookup "author" name located in problematic magazine's cfg with config viewer; then add this using CBA option manually
-or-
enable 'debugging' option from CBA mod settings, reload magazine; this will reveal its author and copy it to clipboard.
Use ** (double asterisk) as comma (,) between authors while editing/defining compatibility string.

Situation of vanilla A3 magazines:
With latest update v1.92, some of the vanilla magazines (5.56 stanag variant, 7.62 AK mags, .58CAR mags) got proper model definitions. You can experiment removing "Bohemia Interactive" from compatibility/author list in mod CBA settings for these but beware: rest of the magazines still have a placeholder model that will look like small ammo pack.

from A3 v1.92 update changelog Added: Dynamic magazines (proxies) to the following weapons: AKM, AK-12, AKS, MX, CAR-95, TRG-21, Mk20, Mk14, RPG-7, SPAR-16 (and expanded magazine wells with additional weapons)*

Persistency
Decal on ground will stay persistent throughout mission time without affecting server and client FPS, it is a lightweigh addon assuring very low network traffic and high performance.[community.bistudio.com]

-> Bug / Issue Feedback <-
-> BIS Forums thread <- [forums.bohemia.net]

ChangeLog:
V1.26 - 04-25-2019;
- Added: Extended debug options (CBA settings)
- Tweak: Simulation improvements

V1.25 - 04-16-2019;
- *NEW*: CBA options implementation
- Added: More error checking to deal with random situations
- Tweak: Muzzle event handler for 'rifle' and 'pistol' class (less overhead)
V1.24 - 04-11-2019;
- Added: Custom magazine rotation method for simple objects
- Added: Locality method for complete DS & multiplayer support (@spectre)
- Added: Magazine Wells support using CBA_compatibleMagazines (@dedmen)
- Added: Above sea or above ground detection (now works on Carrier)
- Fixed: Mod now works fine on headless / connected client vice-versa
- Tweak: Improved compatibility: Any magazine defined with special model will be utilized
V1.23 - 04-08-2019 hotfix2;
- Modname changed to "magazine simulation A3"
- Minor animation & sound tweaks
V1.23 - 04-06-2019;
- Fixed: Mod not working on RHS class soldiers now fixed
- Fixed: Magazines spawning random bug is gone for good!
- Tweak: Model getter method: All CUP and RHS weapons now fully working.
- Added: Now using CBA ClassEventhandler method: improved compatibility
- Added: Boolean for shooting from vehicle (mag simulation won't happen while shooting from offroad etc)
V1.23alpha - 04-04-2019;
- *NEW*: Persistent decals throughout mission time
- *NEW*: Using BIS' super simple object method to simulate dropped magazines
- *NEW*: Rewritten code and functionality for better simulation and efficiency
- *NEW*: particleSource detection and protection method (no more flying mags)
- Added: CBA WaitUntilAndExecute to improve mod performance
- Fixed: Red Hammer Studios' mods working again
- Fixed: models now stand on correct alignment on surfaces
- Fixed: Multiple particle source's being stacked on model
- Fixed: Soldier randomly spawning magazines is fixed for good
- Tweak: sound emission max hearing range decreased to 30m
- Tweak: Particle3D simulation weight and air friction adjusted
- Tweak: attachTo model memory points
V1.22 - 03-21-2019;
- Fixed: Launchers spawning rocket model on reload
V1.21 - 11-22-2018;
- Added: A3 proxy magazine technology support
V1.2 - 11-03-2018;
- *New*: Mod uses fired eventhandler instead of reloaded EH
- Added: New method runs less on scheduled environment
- Added: Shortened loop cycle for better detection on player/non A.I.
V1.1 - 04-30-2018;
- Fixed: Player spawning particle simulation before hitting reload keybind
- Added: switch for detecting 'reloadmagazine' action for human controlled units
- Added: sound simulation and 7 different sound samples
- Tweak: positional sound effect below unit's position using modelToWorldVisualWorld and playsound3d commands
V1.0 - 04-29-2018:
- Addon Released on steam as 'goko mag drop'
Popular Discussions View All (1)
8
Dec 19, 2019 @ 8:48pm
Magazine simulation A3 bug / error report
audioslave
207 Comments
󠀡󠀡󠀡󠀡󠀡󠀡Marc🦈 Jun 2, 2023 @ 8:23pm 
Please update to fix the issues mickey highlighted. This mod is awesome.

:jake::steamthumbsup:
_mickey_ Jan 28, 2023 @ 2:39pm 
Dear @author!

After the collapse of the building, all magazines dropped on the second and higher floors will remain floating in the air - {LINK REMOVED}

BIS solved a similar problem with dead bodies and even other objects in recent updates, @author now you should also try to solve it. Please try!
Cap10_Bull@ Dec 21, 2022 @ 2:17am 
Nice idea, good sounds, but it bothers me too much that there is no model for revolver magazines and shotgun ammunition. It would be better to have these missing altogether than to suddenly have standard magazines lying on the floor. In addition, there are (optically) projectiles in the discarded magazines, which is not conducive to immersion.
SDA YT com Nov 18, 2022 @ 3:25pm 
@author - Thank you very much for this mod ! It is simply wonderful. Please continue your work. Some models are still missing. I wish you all the best !
_mickey_ Nov 6, 2022 @ 3:38pm 
@travolta hi! On June 24, you promised to fix vanilla weapons, it's been half a year and this moment still not happening. Please finally cure this strange incomatability.
76561198192726397 Jul 15, 2022 @ 3:59am 
big fan of this mod and ive been using it for a long time. seems like it no longer works after the latest sog update, but it worked before that. is that fixable? or is it the fault of the dlc creators?
JetfireBlack Jun 28, 2022 @ 8:37pm 
Would it be feasible to add an option to define specific weapons to completely disable magazine dropping on? This would be especially handy on weapons which do not use detachable magazines.
_mickey_ Jun 24, 2022 @ 1:29pm 
@travolta Thank you dude, I'll be waiting for updates! I knew you as Goko and I also enjoyGoko Balistic Impact mod. Your mods are not big, but I can't imagine Arma3 without them. Thank you!
audioslave  [author] Jun 23, 2022 @ 2:07pm 
Hai @mickeyworld
Sorry for not being able to fix the problem you mentioned and thanks for the feedback, again.
The models and some functionality regarding vanilla weapons were still in beta when I've made the last update to mod, and that is probably the reason why you are having such issues. Been a long time.
Good news is I got arma 3, arma tools, everything downloaded / installed and I will update this mod along with some of my other mods soon.
Thank you for your feedback, have a good day sir.
_mickey_ Jun 22, 2022 @ 12:52am 
Hi @travolta ! you are no longer Goko, Ok... I've reported before that the mod works great with any other mod, but doesn't work well with a vanilla game! This feature looks very strange. Only vanilla weapons will have problems (spawn not correspond magazines after reloading). After any Compatability mod settings MX-rifle can spawn only Katiba magazines or Katiba-rifle will spawn only MX magazines after its reloading. For several years now, I have been unable to force vanilla weapons to spawn properly, while all weapons from mods work fine! Please tell me how can the user make work this mod for vanilla weapons also?