champ-1 40 Posted January 27, 2015 (edited) Hey guys. I've been configuring stuff and I face this problem. I can overwrite SOME turrets configs, when other work just fine. class CfgPatches { class noThermalVehicles { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "A3_Air_F", "A3_Soft_F", "A3_Armor_F", "A3_Boat_F", "A3_Static_F" }; }; }; class DefaultOptics { visionMode[] = {"Normal", "NVG"}; thermalMode[] = {}; }; class RCWSOptics: DefaultOptics { visionMode[] = {"Normal", "NVG"}; }; class Optics_Armored: RCWSOptics { class Wide: RCWSOptics { visionMode[] = {"Normal", "NVG"}; }; }; class Optics_Gunner_MBT_01: Optics_Armored {}; class CfgVehicles { class All { class Turrets {}; class ViewOptics {}; }; class AllVehicles: All { class NewTurret { class ViewOptics {}; class Turrets {}; }; }; class Land: AllVehicles {}; class LandVehicle: Land { class CommanderOptics: NewTurret {} }; class Car: LandVehicle {}; class Car_F: Car { class Turrets { class MainTurret {}; }; }; class Wheeled_APC_F: Car_F { class Turrets { class MainTurret: NewTurret { class Turrets {}; }; }; }; class APC_Wheeled_02_base_F: Wheeled_APC_F { class Turrets: Turrets { class MainTurret: MainTurret { class ViewOptics: RCWSOptics { visionMode[] = {"Normal", "NVG"}; // THIS DOESN'T WORK }; }; class CommanderOptics: CommanderOptics { class ViewOptics: ViewOptics { visionMode[] = {"Normal", "NVG"}; // THIS DOESN'T WORK }; }; }; }; class UGV_01_base_F: Car_F {}; class UGV_01_rcws_base_F: UGV_01_base_F { class Turrets: Turrets { class MainTurret: NewTurret { class ViewOptics: RCWSOptics { visionMode[] = {"Normal", "NVG"}; // THIS DOESN'T WORK }; }; }; }; }; Help me out. PLZ Edit: Fixed somehow, still don't know what exactly was wrong. Edited January 27, 2015 by Champ-1 Share this post Link to post Share on other sites
iConic-21 13 Posted February 1, 2015 You need to re-write everything not just the thing you want to change. Share this post Link to post Share on other sites
champ-1 40 Posted February 1, 2015 I don't need to do that. I just added another addon to "requiredAddons" list and it works now. Share this post Link to post Share on other sites
iConic-21 13 Posted February 1, 2015 interesting... Share this post Link to post Share on other sites