As mentioned in title if some vehicle turret has magazines[] = {} and pylons is changed, then weapons from this turret will be removed.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Engine
Steps To Reproduce
- Set magazines[] = {}; for some turret of vehicle with pylons in config
- Start the game
- Start mission with this vehicle in editor
- Check changed turret of this vehicle - it will be empty magazine
- Go back to editor and make some changes in pylons of vehicle
- Check changed turret of this vehicle again - no weapons at all
Additional Information
Video:
https://youtu.be/SkKGRFGIyIo
Test mod:
https://disk.yandex.ru/d/CRtoBg41_wOXbA
class CfgPatches { class test { requiredAddons[]= { "A3_Air_F" }; }; }; class CfgVehicles { class Air; class Helicopter: Air { class Turrets; }; class Helicopter_Base_F: Helicopter { class Turrets: Turrets { class MainTurret; }; }; class Heli_Attack_01_base_F: Helicopter_Base_F { }; class Heli_Attack_01_dynamicLoadout_base_F: Heli_Attack_01_base_F { }; class B_Heli_Attack_01_dynamicLoadout_F: Heli_Attack_01_dynamicLoadout_base_F { class Turrets: Turrets { class MainTurret: MainTurret { magazines[] = {}; }; }; }; };