Arma 3
448 ratings
Magazine Simulation A3
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
306.576 KB
29 Apr, 2018 @ 1:21pm
24 Apr, 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)
9
19 Jun, 2024 @ 2:39am
Magazine simulation A3 bug / error report
outsider
213 Comments
Sevka Slav 5 Jan @ 5:11am 
will fix it conflicting with Zeus placements? My unit commander has issues with this mod when it comes to zeus
Asuka 8 Dec, 2024 @ 7:46am 
Shotgun generates rifle magazine!
_mickey_ 7 Oct, 2024 @ 12:34am 
Looks like this mod will never be updated! Author, did you swear not to do this!?
You don't even try to fix bugs and problems...
HBAOplus 6 Oct, 2024 @ 7:49pm 
@damdatriver
Hi, if you still maintain this mod, please consider this suggestion:
For the maximum compability for WW2 rifles (98K, Mosin, M1903A4, etc) and grenade launchers (M203, GP25, MM1, M32, China lake), those magazines and clips with less than 8 rounds (M1 Garand) should not be spawned when doing dry reload (empty mags pulled out). It will be wired to see unused clips with bullets and unused grenades (eg. M433 HEDP) generated around soldiers. I know the Lee Enfield rifles can load 10 (5x2 in real life ) rounds clips, but modern SVD and M107 still use 10 rounds mags. So Lee Enfield may be ignored saddly.
Der_Neusser 21 Jun, 2024 @ 1:10pm 
will the mod be patched? I found a bug, I can't reload magazines while lying down, which is really shit
󠀡󠀡󠀡󠀡󠀡󠀡Marc🦈 2 Jun, 2023 @ 8:23pm 
Please update to fix the issues mickey highlighted. This mod is awesome.

:jake::steamthumbsup:
_mickey_ 28 Jan, 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_Nade 21 Dec, 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.
youtube EchoOfTheRodina 18 Nov, 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 !