Magazine Simulation A3
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.
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.
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)*
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’