diff --git a/Server_Install_Pack/@epochhive/epochah.hpp b/Server_Install_Pack/@epochhive/epochah.hpp index 77b2b401..d9c37686 100644 --- a/Server_Install_Pack/@epochhive/epochah.hpp +++ b/Server_Install_Pack/@epochhive/epochah.hpp @@ -4,7 +4,7 @@ antihack_cfgPatchesCheck = true; // cfgPatches (AddOn Check) antihack_PVSPrefix = "EPAH_"; // used to help whitelist pveh variables in BE without BEC and watchdog, leave blank to use no prefix. antihack_cfgPatchesMode[] = {2}; // 0 == BAN - 1 = LOG, 2 = KICK antihack_ahInitAuthCfg[] = {0,180}; // 0 == BAN - 1 = LOG, 60 = ban or log if anti hack is not started in 180 seconds -antihack_whitelistedCfgPatches[] = {"A3Data","A3_BaseConfig_F","A3_Dubbing_Radio_F","A3_Functions_F","A3_Functions_F_EPA","A3_Functions_F_EPC","A3_Language_F_MP_Mark","A3_LanguageMissions_F_MP_Mark","Map_VR","A3_Map_VR_Scenes","CUP_A10_Data","CUP_Afghan_Data","CUP_Air2_Data","CUP_Air3_Data","CUP_Air_Data","CUP_Air_d_baf_Data","CUP_Air_e_Data","CUP_Air_pmc_Data","CUP_CA_animals2","CA_animals2","CUP_Animations_Data","CUP_Animations_Config","CUP_Bohemia_Data","CUP_Bootcamp_acr_Data","CUP_Buildings2_Data","CUP_Buildings2_Ind_Cementworks_Data","CUP_Buildings_Data","CUP_Ca_acr_Data","CUP_CA_Config","CAData","CUP_Ca_e_Data","CUP_Ca_pmc_Data","CUP_Characters2_Data","CUP_Chernarus_Data","CUP_Chernarus_Summer_Data","CUP_Cti_buildings_Data","CUP_CA_Data","CUP_CAData_ParticleEffects","CAData_ParticleEffects","CUP_Data_baf_Data","CUP_dbe1_data","CUP_Desert2_Data","CUP_Desert2_Objects","Desert2_Objects","CUP_Desert_Data","CUP_Desert_e_Data","CUP_Hotfix_Data","CUP_L39_Data","CUP_CALanguage","CALanguage","CUP_CALanguage_ACR","CALanguage_ACR","CUP_CALanguage_missions","CALanguage_missions","CUP_CALanguage_missions_e","CALanguage_missions_e","CUP_Misc3_Data","CUP_CAMisc","CUP_Misc_Data","CAMisc","CUP_Misc_acr_Data","CUP_Misc_e_Data","CUP_CA_MPA","CA_MPA","CUP_CA_Plants2_Clutter","CA_Plants2_Clutter","CUP_CAPlants","CAPlants","CUP_CA_Plants_E_Clutter","CA_Plants_E_Clutter","CUP_Provinggrounds_pmc_Data","CUP_CARoads2","CARoads2","CUP_CARoads2Dam","CARoads2Dam","CUP_CARoads","CARoads","CUP_CARoads_E","CARoads_E","CUP_CARoads_PMC","CARoads_PMC","CUP_CARocks2","CARocks2","CUP_CARocks","CARocks","CUP_CARocks_E","CARocks_E","CUP_Sara_Data","CUP_Saralite_Data","CUP_Shapur_baf_Data","CUP_CASigns","CASigns","CUP_CASigns_E","CASigns_E","CUP_Sounds_Data","CUP_Sounds_Config","CASounds","CUP_Sounds_e_Data","CUP_Structures_Data","CUP_pond_test","pond_test","CUP_Structures_e_Data","CUP_Structures_pmc_Data","CUP_Takistan_Data","CUP_Tracked2_Data","CUP_Tracked_Data","CUP_Tracked_e_Data","CUP_CAFonts","CAFonts","CUP_Utes_Data","CUP_Water2_Data","CUP_Water_Data","CUP_Weapons2_Data","CUP_Weapons_Data","CUP_Weapons_e_Data","CUP_Weapons_pmc_Data","CUP_Wheeled2_Data","CUP_Wheeled_Data","CUP_Wheeled_e_Data","CUP_Zargabad_Data","CUP_A1AlwaysDummy","CAVideo2_PMC","CA_AnimsHotfix","CA_CutSceneAnims","CAIntroAnims","CAUSMCD","CAVoice","CAweapons3_aks74pso","CAWeapons3_ammocrates","CAweapons3_ksvk","CAweapons3_m107","CAweapons3_m16a4_acg_gl","CAweapons3_m16a4_acg","CAweapons3_m16a4_gl","CAweapons3_m16a4","CAWeapons3","CTI_buildingsBmp2_hq","CTI_buildingsM113_hq","DSHkM_Mini","M2HD_Mini","MK19_Tripod","Warfare","WarfareBuildings_Stinger_Twice_static","WarfareBuildings_T72_RACS","WarfareBuildings_TOW_Tripod","CUP_AiA_compat","AiA_A1AlwaysDummy","AiA_Afghan_Config","AiA_Afghan_Data","AiA_BaseConfig_F","AiA_Bohemia_Config","AiA_Bohemia_Data","AiA_Bootcamp_acr_Config","AiA_Bootcamp_acr_Data","AiA_Buildings_Config","AiA_Buildings_Data","AiA_Buildings2_Config","AiA_Buildings2_Data","AiA_Buildings2_Ind_Cementworks_Config","AiA_Buildings2_Ind_Cementworks_Data","AiA_Ca_acr_Config","AiA_Ca_acr_Data","AiA_CA_Config","AiA_CA_Config_Data_ParticleEffects","AiA_CA_Data","AiA_Ca_e_Config","AiA_Ca_e_Data","AiA_Ca_pmc_Config","AiA_Ca_pmc_Data","AiA_CBA_A2_xeh_Dummy","AiA_CBA_OA_xeh_Dummy","AiA_cba_xeh_a2_Dummy","AiA_cba_xeh_oa_Dummy","AiA_Chernarus_Config","AiA_Chernarus_Data","AiA_Chernarus_Summer_Config","AiA_Chernarus_Summer_Data","AiA_Core","AiA_Cti_buildings_Config","AiA_Cti_buildings_Data","AiA_Data_baf_Config","AiA_Data_baf_Data","AiA_Desert_Config","AiA_Desert_Data","AiA_Desert_e_Config","AiA_Desert_e_Data","AiA_Desert2_Config","AiA_Desert2_Data","AiA_Hotfix_Config","AiA_Hotfix_Data","AiA_Language_acr_Config","AiA_Language_acr_Data","AiA_Language_baf_Config","AiA_Language_baf_Data","AiA_Language_e_Config","AiA_Language_e_Data","AiA_Language_pmc_Config","AiA_Language_pmc_Data","AiA_Languagemissions_acr_Config","AiA_Languagemissions_acr_Data","AiA_Languagemissions_baf_Config","AiA_Languagemissions_baf_Data","AiA_Languagemissions_pmc_Config","AiA_Languagemissions_pmc_Data","AiA_Misc_acr_Config","AiA_Misc_acr_Data","AiA_Misc_Config","AiA_Misc_Data","AiA_Misc_e_Config","AiA_Misc_e_Data","AiA_Misc2_Config","AiA_Misc2_Data","AiA_Misc3_Config","AiA_Misc3_Data","AiA_Models_DBE1_Config","AiA_Models_DBE1_Data","AiA_Plants_Config","AiA_Plants_Data","AiA_Plants_e_Config","AiA_Plants_e_Data","AiA_Plants_e2_Config","AiA_Plants_e2_Data","AiA_Plants_pmc_Config","AiA_Plants_pmc_Data","AiA_Plants2_Bush_Config","AiA_Plants2_Bush_Data","AiA_Plants2_Clutter_Config","AiA_Plants2_Clutter_Data","AiA_Plants2_Misc_Config","AiA_Plants2_Misc_Data","AiA_Plants2_Plant_Config","AiA_Plants2_Plant_Data","AiA_Plants2_Tree_Config","AiA_Plants2_Tree_Data","AiA_Provinggrounds_pmc_Config","AiA_Provinggrounds_pmc_Data","AiA_Roads_Config","AiA_Roads_Data","AiA_Roads_e_Config","AiA_Roads_e_Data","AiA_Roads_pmc_Config","AiA_Roads_pmc_Data","AiA_Roads2_Config","AiA_Roads2_Data","AiA_Rocks_Config","AiA_Rocks_Data","AiA_Rocks_e_Config","AiA_Rocks_e_Data","AiA_Rocks2_Config","AiA_Rocks2_Data","AiA_Sara_Config","AiA_Sara_Data","AiA_Sara_dbe1_Config","AiA_Sara_dbe1_Data","AiA_Saralite_Config","AiA_Saralite_Data","AiA_Shapur_baf_Config","AiA_Shapur_baf_Data","AiA_Signs_Config","AiA_Signs_Data","AiA_Signs_e_Config","AiA_Signs_e_Data","AiA_Signs2_Config","AiA_Signs2_Data","AiA_Sounds_Config","AiA_Sounds_Data","AiA_StandaloneTerrainPack_Core","AiA_StandaloneTerrains_Core","AiA_Structures_Config","AiA_Structures_Data","AiA_Structures_e_Config","AiA_Structures_e_Data","AiA_Structures_pmc_Config","AiA_Structures_pmc_Data","AiA_Takistan_Config","AiA_Takistan_Data","AiA_Ui_Config","AiA_Ui_Data","AiA_Utes_Config","AiA_Utes_Data","AiA_Water_Config","AiA_Water_Data","AiA_Water2_Config","AiA_Water2_Data","AiA_Weapons_Config","AiA_Weapons_Data","AiA_Weapons_e_Config","AiA_Weapons_e_Data","AiA_Weapons_pmc_Config","AiA_Weapons_pmc_Data","AiA_Weapons2_Config","AiA_Weapons2_Data","AiA_Wheeled_Config","AiA_Wheeled_Data","AiA_Wheeled_e_Config","AiA_Wheeled_e_Data","AiA_Wheeled2_Config","AiA_Wheeled2_Data","AiA_Worlds","AiA_Worlds_Ambient","AiA_Worlds_Author","AiA_Worlds_Clutter","AiA_Worlds_ClutterDist","AiA_Worlds_Delete","AiA_Worlds_DisableInfiniteTerrain","AiA_Worlds_DustEffects","AiA_Worlds_EnvSounds","AiA_Worlds_FullDetailDist","AiA_Worlds_Grid","AiA_Worlds_Intros","AiA_Worlds_Lighting","AiA_Worlds_Lighting_Chernarus","AiA_Worlds_Lighting_Desert","AiA_Worlds_MapSize","AiA_Worlds_MidDetailTexture","AiA_Worlds_NoDetailDist","AiA_Worlds_Seabed","AiA_Worlds_SkyTexture","AiA_Worlds_StreetLamp","AiA_Worlds_Surfaces","AiA_Worlds_Water","AiA_Zargabad_Config","AiA_Zargabad_Data","CUP_StandaloneTerrains_Dummy","CA_ACR","CA_Animals2_Anim_Config","CA_Anims_Char","CA_Anims_E_Wmn","CA_E","CA_PMC","CAAir","CACharacters","CATracked","CAWater","CAWater2","CAWater2_seafox","CAWeapons","CAWeapons_Warfare_weapons","CAWheeled","CAWheeled_E","CAWheeled2","6G30_DBE1","Arma2_Ka52","BI_SRRS","CA_AH64D","CA_AIR_E_MQ9PredatorB","CA_AIR_E_Su25","CA_AIR2_Su25","CA_Animals_E","CA_Animals2_Chicken","CA_Animals2_Cow","CA_Animals2_Dogs","CA_Animals2_Dogs_Fin","CA_Animals2_Dogs_Pastor","CA_Animals2_Goat","CA_Animals2_Rabbit","CA_Animals2_Sheep","CA_Animals2_WildBoar","CA_Anims","CA_Anims_E","CA_Anims_E_Sdr","CA_Anims_Sdr","CA_Anims_Wmn","CA_CommunityConfigurationProject_E","CA_CruiseMissile","CA_Dubbing","CA_Dubbing_Baf","CA_Dubbing_Counterattack","CA_Dubbing_E","CA_Dubbing_PMC","CA_DubbingRadio_E","CA_DubbingRadio_PMC","CA_E_ParticleEffects","CA_Editor","CA_HC_Sounds","CA_Heads","CA_HighCommand","CA_L39","CA_Missions","CA_Missions_AlternativeInjurySimulation","CA_Missions_AmbientCombat","CA_Missions_Armory1","CA_Missions_Armory2","CA_Missions_BAF","CA_Missions_BAF_2","CA_Missions_BAF_Templates_SecOps","CA_Missions_BattlefieldClearance","CA_Missions_E","CA_Missions_E_Armory2","CA_Missions_E_SecOps","CA_Missions_E_Templates_SecOps","CA_Missions_FirstAidSystem","CA_Missions_GarbageCollector","CA_Missions_PMC","CA_Missions_SecOps","CA_Missions_Templates_SecOps","CA_Missions2_PMC","CA_Modules","CA_Modules_Alice","CA_Modules_Animals","CA_Modules_ARTY","CA_Modules_clouds","CA_Modules_Coin","CA_Modules_DynO","CA_Modules_E","CA_Modules_E_DynO","CA_Modules_E_Jukebox","CA_Modules_E_OO","CA_Modules_E_UAV","CA_Modules_E_UAV_Heli","CA_Modules_E_Weather","CA_Modules_Functions","CA_Modules_Marta","CA_Modules_PMC","CA_Modules_PMC_SimpleFIrstAid","CA_Modules_Silvie","CA_Modules_StratLayer","CA_Modules_UAV","CA_Modules_ZoRA","CA_MPA_Challenges","CA_MPA_Core","CA_MPA_MP","CA_MPA_Scenarios","CA_Sounds_Baf","CA_SoundsMissions_E","CA_Support","CAA10","CAAir_BAF","CAAir_BAF_CH_47F","CAAir_E","CAAir_E_A10","CAAir_E_AH64D","CAAir_E_AH6J","CAAir_E_An2","CAAir_E_C130J","CAAir_E_CH_47F","CAAir_E_Halo","CAAir_E_Mi24","CAAir_E_MI8","CAAir_E_UH1H_EP1","CAAir_E_UH60M","CAAir_PMC","CAAir_PMC_KA137","CAAir_PMC_KA60","CAAir2","CAAir2_C130J","CAAir2_ChukarTarget","CAAir2_F35B","CAAir2_MQ9PredatorB","CAAir2_MV22","CAAir2_Pchela1T","CAAir2_UH1Y","CAAir3","CAAir3_Su34","CAAnimals","CACharacters_BAF","CACharacters_BAF_Head","CACharacters_E","CACharacters_E_Head","CACharacters_PMC","CACharacters_PMC_Head","CACharacters_W_BAF","CACharacters2","CAMisc_fix","CAMisc_fix_A2FREE","CAMisc_fix_air","CAMisc_fix_Ch2","CAMisc_fix_Str","CAMisc_fix_Weap","CAMusic","CAMusic_E","CAMusic_PMC","CASounds_E","CASounds_Missions","CATracked_BAF","CATracked_E","CATracked_E_BMP2","CATracked_E_M1_Abrams","CATracked_E_M113","CATracked_E_M2A2_Bradley","CATracked_E_T34","CATracked_E_T55","CATracked_E_T72","CATracked_E_us_m270mlrs","CATracked_E_ZSU","CATracked_W_BAF","CATracked2","CATracked2_2S6M_Tunguska","CATracked2_AAV","CATracked2_BMP3","CATracked2_T34","CATracked2_T90","CATracked2_us_m270mlrs","CAWater2_Destroyer","CAWater2_fishing_boat","CAWater2_Fregata","CAWater2_smallboat_1","CAWeapons_2b14_82mm_Mortar","CAWeapons_AK","CAWeapons_AmmoBoxes","CAWeapons_BAF","CAWeapons_bizon","CAWeapons_Colt1911","CAWeapons_DMR","CAWeapons_E","CAWeapons_E_AGS","CAWeapons_E_AK","CAWeapons_E_AmmoBoxes","CAWeapons_E_Colt1911","CAWeapons_E_D30","CAWeapons_E_DSHKM","CAWeapons_E_FIM92_static","CAWeapons_E_fnfal","CAWeapons_E_G36","CAWeapons_E_GrenadeLauncher","CAWeapons_E_Igla","CAWeapons_E_Javelin","CAWeapons_E_KORD","CAWeapons_E_ksvk","CAWeapons_E_LeeEnfield","CAweapons_E_m107","CAWeapons_E_M110","CAWeapons_E_M119_Howitzer","CAWeapons_E_M136","CAWeapons_E_M14","CAWeapons_E_M16","CAWeapons_E_M240","CAWeapons_E_M252_81mm_Mortar","CAWeapons_E_M2StaticMG","CAWeapons_E_M47","CAWeapons_E_M9","CAWeapons_E_MAAWS","CAWeapons_E_Makarov","CAWeapons_E_Metis","CAWeapons_E_Mk19_MiniTriPod","CAWeapons_E_PK","CAWeapons_E_Podnos_2b14_82mm","CAWeapons_E_RPG18","CAWeapons_E_RPG7","CAWeapons_E_scar","CAWeapons_E_Searchlight","CAWeapons_E_SPG9","CAWeapons_E_STATIC","CAWeapons_E_Stinger","CAWeapons_E_Strela","CAWeapons_E_TOW","CAWeapons_E_ZU23","CAWeapons_Kord","CAweapons_ksvk","CAWeapons_M1014","CAweapons_m107","CAWeapons_M252_81mm_Mortar","CAWeapons_Metis_AT_13","CAWeapons_PMC","CAWeapons_PMC_AA_12","CAWeapons_PMC_AS50","CAWeapons_PMC_XM8","CAWeapons_Saiga12K","CAWeapons_SPG9","CAWeapons_VSS_vintorez","CAWeapons_ZU23","CAWeapons2","CAWeapons2_HuntingRifle","CAWeapons2_RPG18","CAWeapons2_SMAW","CAWheeled_D_BAF","CAWheeled_E_ATV","CAWheeled_E_BRDM2","CAWheeled_E_BTR40","CAWheeled_E_BTR60","CAWheeled_E_HMMWV","CAWheeled_E_Ikarus","CAWheeled_E_LADA","CAWheeled_E_LandRover","CAWheeled_E_M1030","CAWheeled_E_MTVR","CAWheeled_E_Offroad","CAWheeled_E_Old_bike","CAWheeled_E_Old_moto","CAWheeled_E_Pickup","CAWheeled_E_s1203","CAWheeled_E_SCUD","CAWheeled_E_stryker","CAWheeled_E_SUV","CAWheeled_E_TT650","CAWheeled_E_UAZ","CAWheeled_E_Ural","CAWheeled_E_V3S","CAWheeled_E_Volha","CAWheeled_Offroad","CAWheeled_Pickup","CAWheeled_PMC","CAWheeled_PMC_ArmoredSUV","CAWheeled_W_BAF","CAWheeled2_BTR90","CAWheeled2_GAZ39371","CAWheeled2_HMMWV_Ambulance","CAWheeled2_HMMWV_BASE","CAWheeled2_Ikarus","CAWheeled2_Kamaz","CAWheeled2_LADA","CAWheeled2_LAV25","CAWheeled2_M1114_Armored","CAWheeled2_M998A2_Avenger","CAWheeled2_MMT","CAWheeled2_MTVR","CAWheeled2_TowingTractor","CAWheeled2_V3S","CAWheeled2_VWGolf","CAWheeled3","CAWheeled3_M1030","CAWheeled3_TT650","Datsun_armed_DBE1","DBE1","DBE1_UI","DC3_DBE1","HALO_Test","Hilux_armed_DBE1","Warfare2","Warfare2_E","Warfare2Vehicles","CUP_Models_DBE1_Data","CUP_Anims_DBE1","Anims_DBE1","CUP_HMMWV_DBE1","HMMWV_DBE1","CUP_Mercenary_DBE1","Mercenary_DBE1","CUP_Misc_DBE1","Misc_DBE1","CUP_Music_DBE1","Music_DBE1","CUP_NPCs_DBE1","NPCs_DBE1","CUP_ploty_DBE1","ploty_DBE1","CUP_Prisoners_DBE1","Prisoners_DBE1","CUP_Roads_DBE1","Roads_DBE1","CUP_UH60Desert","UH60Desert","CUP_Sara_dbe1_Data","CUP_TKOH_Dummy","HSim_Data_H","HSim_Data_H_data_ParticleEffects","HSim_Data_H_data_ParticleEffects_rotor_blades","HSim_Dubbing_H","HSim_DubbingRadio_H","HSim_Editor_H","Intro_Island_H","HSim_Missions_H","HSim_ModulesCore_H","HSim_ModulesCore_H_AmbientCombat","HSim_ModulesCore_H_DynO","HSim_ModulesCore_H_Functions","HSim_ModulesCore_H_GarbageCollector","HSim_ModulesCore_H_Functions_E","HSim_ModulesCore_H_OO","HSim_ModulesCore_H_Functions_PMC","HSim_Music_H","HSim_Sounds_H","South_Asia_H","HSim_UIFonts_H","United_States_H","HSim_Animals_H","HSim_Animals_H_Anim_Config","HSim_Animals_H_Dog","HSim_Characters_H_Faces","HSim_Characters_H_Heads","HSim_Modules_H","HSim_UI_H","HSim_Weapons_H","HSim_Weapons_H_AK47","HSim_Weapons_H_DShKM","HSim_Weapons_H_Glock","HSim_Weapons_H_HandItems","HSim_Weapons_H_M16","HSim_Weapons_US_H","HSim_Characters_H","HSim_Characters_US_H","HSim_Missions_H_FreeFlight","HSim_Functions_Base_H","HSim_Water_H","HSim_Water_H_Civ_FishingBoat_Large","HSim_Water_H_Civ_Jetboat","HSim_Water_H_Civ_Yacht","HSim_Water_H_Container_Ship","HSim_Water_H_Cruise_Ship","HSim_Water_H_Destroyer","HSim_Water_H_Fishing_Boat","HSim_Water_H_Fregata","HSim_Water_H_LHD","HSim_Water_H_Oil_tanker","HSim_Water_H_Rubber_Boat","HSim_Water_H_Whales","HSim_Water_H_Whales_GreyWhale","HSim_Water_H_Whales_Whale1","HSim_Weapons_H_IGLA","HSim_Weapons_US_H_M2","HSim_Wheeled_H","HSim_Wheeled_H_Ambulance","HSim_Wheeled_H_FireTruck","HSim_Wheeled_H_Hatchback","HSim_Wheeled_H_Military_Offroad_LR","HSim_Wheeled_H_Military_Pickup_DSHKM","HSim_Wheeled_H_Offroad","HSim_Wheeled_H_Police_Car","HSim_Wheeled_H_TowingTractor","HSim_Wheeled_H_Tractor","HSim_Wheeled_H_Trailers","HSim_Wheeled_H_Truck_Light_Transport","HSim_Wheeled_H_Ural","HSim_Wheeled_H_Van_Passenger","HSim_Wheeled_US_H","HSim_Wheeled_US_H_Military_Offroad","HSim_Wheeled_US_H_Military_Truck","HSim_Wheeled_US_H_Pickup_01","HSim_Wheeled_US_H_Pickup_02","HSim_Wheeled_US_H_SUV","HSim_Wheeled_US_H_Truck_US_Type","HSim_Air_H","HSim_Air_H_Aircraft_A","HSim_Air_H_Aircraft_C","HSim_Air_H_Aircraft_D","HSim_Air_H_Aircraft_E_H","HSim_Air_H_Airliner_A","HSim_Air_H_Airliner_B","HSim_Air_H_Parachute","HSim_Air_US_H","HSim_Air_US_H_Helicopters_Heavy","HSim_Air_US_H_Helicopters_Light","HSim_Air_US_H_Helicopters_Medium","HSim_Misc_H","HSim_Misc_H_Antena","HSim_Misc_H_Barels","HSim_Misc_H_Bleacher","HSim_Misc_H_BoardsPack","HSim_Misc_H_CncBlock","HSim_Misc_H_Doghouse","HSim_Misc_H_Engine_Crane","HSim_Misc_H_Fence","HSim_Misc_H_Fire_Extinguisher","HSim_Misc_H_Fire_Suppression","HSim_Misc_H_First_Aid","HSim_Misc_H_Flagpole","HSim_Misc_H_Folding_Ladder","HSim_Misc_H_FuelCan","HSim_Misc_H_Heliport_Furniture","HSim_Misc_H_Helicopter_Parts","HSim_Misc_H_Helipads","HSim_Misc_H_Heliport_Objects","HSim_Misc_H_Helpers","HSim_Misc_H_Info_Board","HSim_Misc_H_Infostands","HSim_Misc_H_Inspection_Visuals","HSim_Misc_H_Interior","HSim_Misc_H_Loudspeakers","HSim_Misc_H_Market","HSim_Misc_H_Office_Objects","HSim_Misc_H_Perimeter_Ligh","HSim_Misc_H_Pike","HSim_Misc_H_Platform_Cart","HSim_Misc_H_Portable_Generator","HSim_Misc_H_Props","HSim_Misc_H_SawHorse","HSim_Misc_H_Shooting_Range","HSim_Misc_H_Signs","HSim_Misc_H_Sink","HSim_Misc_H_Targets","HSim_Misc_H_Tent","HSim_Misc_H_Toilet","HSim_Misc_H_Tools","HSim_Misc_H_Tools_Racking","HSim_Misc_H_Trash","HSim_Misc_H_Weather_Station","HSim_Misc_H_Weld_Gastank","HSim_Misc_H_Wheel_Chocks","HSim_Misc_H_Wheeled_Scaffolding","HSim_Misc_H_wheeled_tool_cart","HSim_Misc_H_Wheeled_Whiteboard","HSim_Misc_H_Winch","HSim_Misc_H_Windsock","HSim_Misc_H_Workbench","HSim_Misc_H_Wrecks","HSim_Structures_H","HSim_Structures_H_Airport_Papi","HSim_Structures_H_Harbour","HSim_Structures_H_Heliports_Heliport_Big","HSim_Structures_H_Heliports_Heliport_Small","HSim_Structures_H_Industrial_A_CraneCon","HSim_Structures_H_Industrial_Rooftop_Objects","HSim_Structures_US_H","HSim_Structures_US_H_Bld_US","HSim_Structures_US_H_Landmarks_Space_Needle","HSim_Tracked_H","HSim_Tracked_H_BMP2","HSim_Tracked_US_H","HSim_Tracked_US_H_M1A2","HSim_Tracked_US_H_MLRS","HSim_Data_H_EditorGroups","HSim_Anims_H","HSim_Anims_H_config_sdr","HSim_Anims_H_config_wmn","CUP_Hsim_Language_H","Hsim_Language_H","CUP_Hsim_Language_missions_H","Hsim_Language_missions_H","a2_epoch_structures","A3_epoch_assets_1","epoch_objects","A3_epoch_assets_3","Underground_Epoch","A3_epoch_vehicles","a3_epoch_weapons","A3_Data_F","A3_Data_F_Hook","A3_Data_F_ParticleEffects","A3_Data_F_Bootcamp","A3_Data_F_Exp_A","A3_Data_F_Kart_ParticleEffects","A3_Data_F_Mark","A3_Editor_F","A3_Functions_F_Bootcamp","A3_Functions_F_Curator","A3_Functions_F_Exp_A","A3_Functions_F_Heli","A3_Functions_F_Mark","A3_Functions_F_MP_Mark","A3_Language_F","A3_Language_F_Beta","A3_Language_F_Curator","A3_Language_F_EPA","A3_Language_F_EPB","A3_Language_F_EPC","A3_Language_F_Gamma","A3_Language_F_Heli","A3_Language_F_Kart","A3_Language_F_Mark","A3_LanguageMissions_F","A3_LanguageMissions_F_Beta","A3_LanguageMissions_F_Gamma","A3_LanguageMissions_F_Kart","A3_Misc_F","A3_Misc_F_Helpers","A3_Modules_F","A3_Modules_F_DynO","A3_Modules_F_Effects","A3_Modules_F_Events","A3_Modules_F_GroupModifiers","A3_Modules_F_HC","A3_Modules_F_Intel","A3_Modules_F_LiveFeed","A3_Modules_F_Marta","A3_Modules_F_Misc","A3_Modules_F_Multiplayer","A3_Modules_F_ObjectModifiers","A3_Modules_F_Sites","A3_Modules_F_Skirmish","A3_Modules_F_StrategicMap","A3_Modules_F_Supports","A3_Modules_F_UAV","A3_Modules_F_Beta","A3_Modules_F_Beta_FiringDrills","A3_Modules_F_EPB","A3_Modules_F_EPB_Misc","A3_Modules_F_Heli","A3_Modules_F_Heli_SpawnAi","A3_Modules_F_Mark","A3_Modules_F_Mark_FiringDrills","A3_Modules_F_MP_Mark","A3_Modules_F_Mark_Objectives","A3_Music_F","A3_Music_F_Bootcamp","A3_Music_F_EPA","A3_Music_F_EPB","A3_Music_F_EPC","A3_Music_F_Heli","A3_Music_F_Mark","A3_Roads_F","A3_Rocks_F","A3_Sounds_F","A3_Sounds_F_Bootcamp","A3_Sounds_F_EPB","A3_Sounds_F_EPC","A3_Sounds_F_Exp_A","A3_Structures_F","A3_Structures_F_Bridges","A3_Structures_F_Civ","A3_Structures_F_Civ_Accessories","A3_Structures_F_Civ_Ancient","A3_Structures_F_Civ_BellTowers","A3_Structures_F_Civ_Calvaries","A3_Structures_F_Civ_Camping","A3_Structures_F_Civ_Chapels","A3_Structures_F_Civ_Constructions","A3_Structures_F_Civ_Dead","A3_Structures_F_Civ_Garbage","A3_Structures_F_Civ_Graffiti","A3_Structures_F_Civ_InfoBoards","A3_Structures_F_Civ_Kiosks","A3_Structures_F_Civ_Lamps","A3_Structures_F_Civ_Market","A3_Structures_F_Civ_Offices","A3_Structures_F_Civ_Pavements","A3_Structures_F_Civ_PlayGround","A3_Structures_F_Civ_SportsGrounds","A3_Structures_F_Civ_Statues","A3_Structures_F_Civ_Tourism","A3_Structures_F_Dominants","A3_Structures_F_Dominants_Amphitheater","A3_Structures_F_Dominants_Castle","A3_Structures_F_Dominants_Church","A3_Structures_F_Dominants_Hospital","A3_Structures_F_Dominants_Lighthouse","A3_Structures_F_Dominants_WIP","A3_Structures_F_Furniture","A3_Structures_F_Households","A3_Structures_F_Households_Addons","A3_Structures_F_Households_House_Big01","A3_Structures_F_Households_House_Big02","A3_Structures_F_Households_House_Shop01","A3_Structures_F_Households_House_Shop02","A3_Structures_F_Households_House_Small01","A3_Structures_F_Households_House_Small02","A3_Structures_F_Households_House_Small03","A3_Structures_F_Households_Slum","A3_Structures_F_Households_Stone_Big","A3_Structures_F_Households_Stone_Shed","A3_Structures_F_Households_Stone_Small","A3_Structures_F_Households_WIP","A3_Structures_F_Ind","A3_Structures_F_Ind_AirPort","A3_Structures_F_Ind_Cargo","A3_Structures_F_Ind_CarService","A3_Structures_F_Ind_ConcreteMixingPlant","A3_Structures_F_Ind_Crane","A3_Structures_F_Ind_DieselPowerPlant","A3_Structures_F_Ind_Factory","A3_Structures_F_Ind_FuelStation","A3_Structures_F_Ind_FuelStation_Small","A3_Structures_F_Ind_Pipes","A3_Structures_F_Ind_PowerLines","A3_Structures_F_Ind_ReservoirTank","A3_Structures_F_Ind_Shed","A3_Structures_F_Ind_SolarPowerPlant","A3_Structures_F_Ind_Tank","A3_Structures_F_Ind_Transmitter_Tower","A3_Structures_F_Ind_WavePowerPlant","A3_Structures_F_Ind_Windmill","A3_Structures_F_Ind_WindPowerPlant","A3_Structures_F_Items","A3_Structures_F_Items_Documents","A3_Structures_F_Items_Electronics","A3_Structures_F_Items_Cans","A3_Structures_F_Items_Gadgets","A3_Structures_F_Items_Luggage","A3_Structures_F_Items_Medical","A3_Structures_F_Items_Military","A3_Structures_F_Items_Stationery","A3_Structures_F_Items_Tools","A3_Structures_F_Items_Valuables","A3_Structures_F_Items_Vessels","A3_Structures_F_Mil","A3_Structures_F_Mil_BagBunker","A3_Structures_F_Mil_BagFence","A3_Structures_F_Mil_Barracks","A3_Structures_F_Mil_Bunker","A3_Structures_F_Mil_Cargo","A3_Structures_F_Mil_Flags","A3_Structures_F_Mil_Fortification","A3_Structures_F_Mil_Helipads","A3_Structures_F_Mil_Offices","A3_Structures_F_Mil_Radar","A3_Structures_F_Mil_Shelters","A3_Structures_F_Mil_TentHangar","A3_Structures_F_Naval","A3_Structures_F_Naval_Buoys","A3_Structures_F_Naval_Fishing","A3_Structures_F_Naval_Piers","A3_Structures_F_Naval_RowBoats","A3_Structures_F_Research","A3_Structures_F_System","A3_Structures_F_Training","A3_Structures_F_Training_InvisibleTarget","A3_Structures_F_Walls","A3_Structures_F_Bootcamp_Ind_Cargo","A3_Structures_F_Bootcamp_Items_Sport","A3_Structures_F_Bootcamp_System","A3_Structures_F_Bootcamp_Training","A3_Structures_F_Bootcamp_VR_Blocks","A3_Structures_F_Bootcamp_VR_CoverObjects","A3_Structures_F_Bootcamp_VR_Helpers","A3_Structures_F_EPA_Civ_Camping","A3_Structures_F_EPA_Civ_Constructions","A3_Structures_F_EPA_Items_Electronics","A3_Structures_F_EPA_Items_Food","A3_Structures_F_EPA_Items_Medical","A3_Structures_F_EPA_Items_Tools","A3_Structures_F_EPA_Items_Vessels","A3_Structures_F_EPA_Walls","A3_Structures_F_EPB_Civ_Accessories","A3_Structures_F_EPB_Civ_Camping","A3_Structures_F_EPB_Civ_Dead","A3_Structures_F_EPB_Civ_Garbage","A3_Structures_F_EPB_Civ_Graffiti","A3_Structures_F_EPB_Civ_PlayGround","A3_Structures_F_EPB_Furniture","A3_Structures_F_EPB_Items_Documents","A3_Structures_F_EPB_Items_Luggage","A3_Structures_F_EPB_Items_Military","A3_Structures_F_EPB_Items_Vessels","A3_Structures_F_EPB_Naval_Fishing","A3_Structures_F_EPC_Civ_Accessories","A3_Structures_F_EPC_Civ_Camping","A3_Structures_F_EPC_Civ_Garbage","A3_Structures_F_EPC_Civ_InfoBoards","A3_Structures_F_EPC_Civ_Kiosks","A3_Structures_F_EPC_Civ_PlayGround","A3_Structures_F_EPC_Civ_Tourism","A3_Structures_F_EPC_Dominants_GhostHotel","A3_Structures_F_EPC_Dominants_Stadium","A3_Structures_F_EPC_Furniture","A3_Structures_F_EPC_Items_Documents","A3_Structures_F_EPC_Items_Electronics","A3_Structures_F_EPC_Walls","A3_Structures_F_Exp_A","A3_Structures_F_Exp_A_VR_Blocks","A3_Structures_F_Exp_A_VR_Helpers","A3_Structures_F_Heli_Civ_Accessories","A3_Structures_F_Heli_Civ_Constructions","A3_Structures_F_Heli_Civ_Garbage","A3_Structures_F_Heli_Civ_Market","A3_Structures_F_Heli_Furniture","A3_Structures_F_Heli_Ind_AirPort","A3_Structures_F_Heli_Ind_Cargo","A3_Structures_F_Heli_Ind_Machines","A3_Structures_F_Heli_Items_Airport","A3_Structures_F_Heli_Items_Luggage","A3_Structures_F_Heli_Items_Sport","A3_Structures_F_Heli_Items_Tools","A3_Structures_F_Heli_VR_Helpers","A3_Structures_F_Kart_Civ_SportsGrounds","A3_Structures_F_Kart_Mil_Flags","A3_Structures_F_Mark_Items_Military","A3_Structures_F_Mark_Items_Sport","A3_Structures_F_Mark_Mil_Flags","A3_Structures_F_Mark_Training","A3_Structures_F_Mark_VR_Helpers","A3_Structures_F_Mark_VR_Shapes","A3_Structures_F_Mark_VR_Targets","A3_UIFonts_F","CUP_Buildings_Config","CABuildings","CUP_CABuildings_Misc","CABuildings_Misc","CUP_Desert2_Buildings","Desert2_Buildings","CUP_CA_desert2_Characters","CA_desert2_Characters","CUP_Desert_Config","Desert","CUP_DBE1_Hotfix","DBE1_Hotfix","CUP_CALanguage_e","CALanguage_e","CUP_CALanguage_PMC","CALanguage_PMC","CUP_CALanguage_missions_PMC","CALanguage_missions_PMC","CUP_CAWater2_seafox_EP1","CAWater2_seafox_EP1","CUP_CA_Plants2","CA_Plants2","CUP_CA_Plants2_Plant","CA_Plants2_Plant","CUP_CA_Plants2_Tree","CA_Plants2_Tree","CUP_CA_Plants_E2","CA_Plants_E2","CUP_CA_Plants_E","CA_Plants_E","CUP_CA_Plants_E_Misc","CA_Plants_E_Misc","CUP_CA_Plants_E_Plant","CA_Plants_E_Plant","CUP_CA_Plants_E_Tree","CA_Plants_E_Tree","CUP_Sara_Config","Sara","CUP_Saralite_Config","SaraLite","CUP_CASigns2","CASigns2","CUP_Structures_Config","CAStructures","CUP_CAStructures_A_BuildingWIP","CAStructures_A_BuildingWIP","CUP_CAStructures_A_CraneCon","CAStructures_A_CraneCon","CUP_CAStructuresLand_A_MunicipalOffice","CAStructuresLand_A_MunicipalOffice","CUP_CAStructuresBarn_W","CAStructuresBarn_W","CUP_CAStructures_Castle","CAStructures_Castle","CUP_CAStructuresHouse","CAStructuresHouse","CUP_CAStructuresHouse_A_FuelStation","CAStructuresHouse_A_FuelStation","CUP_CAStructuresHouse_A_Hospital","CAStructuresHouse_A_Hospital","CUP_CAStructuresHouse_A_Office01","CAStructuresHouse_A_Office01","CUP_CAStructuresHouse_A_Office02","CAStructuresHouse_A_Office02","CUP_CAStructuresHouse_a_stationhouse","CAStructuresHouse_a_stationhouse","CUP_CAStructuresHouse_Church_02","CAStructuresHouse_Church_02","CUP_CAStructuresHouse_Church_03","CAStructuresHouse_Church_03","CUP_CAStructuresHouse_Church_05R","CAStructuresHouse_Church_05R","CUP_CAStructuresHouse_HouseBT","CAStructuresHouse_HouseBT","CUP_CAStructuresHouse_HouseV2","CAStructuresHouse_HouseV2","CUP_CAStructuresHouse_HouseV","CAStructuresHouse_HouseV","CUP_CAStructuresLand_Ind_Stack_Big","CAStructuresLand_Ind_Stack_Big","CUP_CAStructures_IndPipe1","CAStructures_IndPipe1","CUP_CAStructuresInd_Quarry","CAStructuresInd_Quarry","CUP_Ind_SawMill","Ind_SawMill","CUP_CAStructures_Mil","CAStructures_Mil","CUP_CAStructures_Misc","CAStructures_Misc","CUP_CAStructures_Misc_Armory","CAStructures_Misc_Armory","CUP_CAStructures_Misc_Armory_Armor_Popuptarget","CAStructures_Misc_Armory_Armor_Popuptarget","CUP_CAStructures_Misc_Powerlines","CAStructures_Misc_Powerlines","CUP_CAStructures_Nav","CAStructures_Nav","CUP_CAStructuresLand_Nav_Boathouse","CAStructuresLand_Nav_Boathouse","CUP_CAStructures_Proxy_BuildingParts","CAStructures_Proxy_BuildingParts","CUP_CAStructures_Proxy_Ruins","CAStructures_Proxy_Ruins","CUP_CAStructures_Rail","CAStructures_Rail","CUP_CAStructuresHouse_rail_station_big","CAStructuresHouse_rail_station_big","CUP_CAStructures_Ruins","CAStructures_Ruins","CUP_CAStructuresShed_Small","CAStructuresShed_Small","CUP_CAStructuresHouse_Shed_Ind","CAStructuresHouse_Shed_Ind","CUP_CAStructures_Wall","CAStructures_Wall","CUP_CAUI","CAUI","CUP_CAWater2_LHD","CAWater2_LHD","CUP_Models_DBE1_Config","Models_DBE1","CUP_Kamenolom_DBE1","Kamenolom_DBE1","CUP_Pila_DBE1","Pila_DBE1","CUP_UI_DBE1","UI_DBE1","CUP_Vysilac_DBE1","Vysilac_DBE1","CUP_Zakladna_DBE1","Zakladna_DBE1","CUP_Sara_dbe1_Config","Sara_dbe1","a3_epoch_structures","A3_Animals_F","A3_Animals_F_AnimConfig","A3_Animals_F_Fishes","A3_Animals_F_Kestrel","A3_Animals_F_Rabbit","A3_Animals_F_Seagull","A3_Animals_F_Snakes","A3_Animals_F_Turtle","A3_Animals_F_Chicken","A3_Animals_F_Dog","A3_Animals_F_Goat","A3_Animals_F_Sheep","A3_Anims_F","A3_Anims_F_Config_Sdr","A3_Anims_F_EPA","A3_Anims_F_EPC","A3_Anims_F_Exp_A","A3_Anims_F_Kart","A3_Anims_F_Mark_Deployment","A3_Language_F_Bootcamp","A3_Language_F_Exp_A","A3_Map_Data","A3_Map_Stratis","A3_Map_Stratis_Scenes","A3_Plants_F_Bush","A3_Props_F_Exp_A","A3_Props_F_Exp_A_Military","A3_Signs_F","A3_Signs_F_AD","A3_Structures_F_Signs_Companies","A3_Structures_F_Bootcamp_Civ_Camping","A3_Structures_F_Bootcamp_Civ_SportsGrounds","A3_Structures_F_Bootcamp_Items_Electronics","A3_Structures_F_Bootcamp_Items_Food","A3_Structures_F_Heli_Items_Electronics","A3_Structures_F_Heli_Items_Food","A3_Structures_F_Kart_Signs_Companies","A3_UI_F","A3_UI_F_Curator","A3_UI_F_Kart","A3_UI_F_Mark","A3_UI_F_MP_Mark","A3_Weapons_F","A3_Weapons_F_NATO","A3_Weapons_F_CSAT","A3_Weapons_F_AAF","A3_weapons_F_FIA","A3_Weapons_F_ItemHolders","A3_Weapons_F_Headgear","A3_Weapons_F_Uniforms","A3_Weapons_F_Vests","A3_Weapons_F_Ammoboxes","A3_Weapons_F_DummyWeapons","A3_Weapons_F_Explosives","A3_Weapons_F_Items","A3_Weapons_F_Launchers_NLAW","A3_Weapons_F_Launchers_LAW","A3_Weapons_F_Launchers_Titan","A3_Weapons_F_EPA_LongRangeRifles_DMR_01","A3_Weapons_F_EBR","A3_Weapons_F_LongRangeRifles_GM6","A3_Weapons_F_LongRangeRifles_M320","A3_Weapons_F_Machineguns_M200","A3_Weapons_F_Machineguns_Zafir","A3_Weapons_F_Pistols_ACPC2","A3_Weapons_F_Pistols_P07","A3_Weapons_F_Pistols_Pistol_heavy_01","A3_Weapons_F_Pistols_Pistol_heavy_02","A3_Weapons_F_Pistols_Rook40","A3_Weapons_F_Rifles_Khaybar","A3_Weapons_F_Rifles_Mk20","A3_Weapons_F_Rifles_MX","A3_Weapons_F_EPB_Rifles_MX_Black","A3_Weapons_F_Rifles_SDAR","A3_Weapons_F_Rifles_TRG20","A3_Weapons_F_Pistols_PDW2000","A3_Weapons_F_Rifles_Vector","a3_weapons_f_rifles_SMG_02","A3_Weapons_F_beta","A3_Weapons_F_Beta_Ammoboxes","A3_Weapons_F_beta_EBR","A3_Weapons_F_EPA_LongRangeRifles_GM6","A3_Weapons_F_EPB_LongRangeRifles_M320","A3_Weapons_F_beta_Rifles_Khaybar","A3_Weapons_F_beta_Rifles_MX","A3_Weapons_F_beta_Rifles_TRG20","A3_Weapons_F_Bootcamp_LongRangeRifles_GM6","A3_Weapons_F_Bootcamp_LongRangeRifles_M320","A3_Weapons_F_EPB_LongRangeRifles_GM3","A3_Weapons_F_gamma","A3_Weapons_F_Gamma_Ammoboxes","A3_Weapons_F_EPA_EBR","A3_Weapons_F_EPA_Rifles_MX","A3_Weapons_F_Kart_Pistols_Pistol_Signal_F","A3_Weapons_F_Mark_LongRangeRifles_DMR_01","A3_Weapons_F_Mark_EBR","A3_Weapons_F_Mark_LongRangeRifles_GM6","A3_Weapons_F_Mark_LongRangeRifles_GM6_camo","A3_Weapons_F_Mark_LongRangeRifles_M320","A3_Weapons_F_Mark_LongRangeRifles_M320_camo","A3_Weapons_F_Mark_Machineguns_M200","A3_Weapons_F_Mark_Machineguns_Zafir","A3_Weapons_F_Mark_Rifles_Khaybar","A3_Weapons_F_Mark_Rifles_Mk20","A3_Weapons_F_Mark_Rifles_MX","A3_Weapons_F_Mark_Rifles_SDAR","A3_Weapons_F_Mark_Rifles_TRG20","CUP_Buildings2_Config","CABuildings2","CUP_A_Crane_02","A_Crane_02","CUP_A_GeneralStore_01","A_GeneralStore_01","CUP_CABuildings2_A_Pub","CABuildings2_A_Pub","CUP_A_statue","A_statue","CUP_Barn_Metal","Barn_Metal","CUP_CABuildingParts","CABuildingParts","CUP_CABuildingParts_Signs","CABuildingParts_Signs","CUP_CATEC","CATEC","CUP_Church_01","Church_01","CUP_Farm_Cowshed","Farm_Cowshed","CUP_Farm_WTower","Farm_WTower","CUP_CAHouseBlock_A","CAHouseBlock_A","CUP_CAHouseBlock_B","CAHouseBlock_B","CUP_CAHouseBlock_C","CAHouseBlock_C","CUP_CAHouseBlock_D","CAHouseBlock_D","CUP_HouseRuins","HouseRuins","CUP_Ind_Dopravnik","Ind_Dopravnik","CUP_Ind_Expedice","Ind_Expedice","CUP_Ind_MalyKomin","Ind_MalyKomin","CUP_Ind_Mlyn","Ind_Mlyn","CUP_Ind_Pec","Ind_Pec","CUP_ind_silomale","ind_silomale","CUP_Ind_SiloVelke","Ind_SiloVelke","CUP_Ind_Vysypka","Ind_Vysypka","CUP_Ind_Garage01","Ind_Garage01","CUP_CAStructures_IndPipe1_todo_delete","CAStructures_IndPipe1_todo_delete","CUP_IndPipe2","IndPipe2","CUP_Ind_Shed_01","Ind_Shed_01","CUP_Ind_Shed_02","Ind_Shed_02","CUP_Ind_Tank","Ind_Tank","CUP_Ind_Workshop01","Ind_Workshop01","CUP_CABuildings2_Misc_Cargo","CABuildings2_Misc_Cargo","CUP_Misc_PowerStation","Misc_PowerStation","CUP_Misc_WaterStation","Misc_WaterStation","CUP_Rail_House_01","Rail_House_01","CUP_Shed_small","Shed_small","CUP_Shed_wooden","Shed_wooden","CUP_particle_effects","particle_effects","CUP_Chernarus_Config","Chernarus","CUP_Chernarus_Summer_Config","Chernarus_Summer","CUP_Desert2_Config","Porto","CUP_Hotfix_Config","CA_Hotfix","CUP_CA_QGClutterHotfix","CA_QGClutterHotfix","CUP_CA_Hotfix_vez_ropa","CA_Hotfix_vez_ropa","CUP_CAMisc2","CAMisc2","CUP_Misc3_Config","CAMisc3","CUP_WarfareBuildings","WarfareBuildings","CUP_Misc_e_Config","CAMisc_E","CUP_CAMisc_E_WF","CAMisc_E_WF","CUP_CAMP_Armory_Misc","CAMP_Armory_Misc","CUP_CAMP_Armory_Misc_Concrete_Wall","CAMP_Armory_Misc_Concrete_Wall","CUP_CAMP_Armory_Misc_Entrance_Gate","CAMP_Armory_Misc_Entrance_Gate","CUP_CAMP_Armory_Misc_Info_Board","CAMP_Armory_Misc_Info_Board","CUP_CAMP_Armory_Misc_Infostands","CAMP_Armory_Misc_Infostands","CUP_CAMP_Armory_Misc_Laptop","CAMP_Armory_Misc_Laptop","CUP_CAMP_Armory_Misc_Loudspeakers","CAMP_Armory_Misc_Loudspeakers","CUP_CAMP_Armory_Misc_Plasticpole","CAMP_Armory_Misc_Plasticpole","CUP_CAMP_Armory_Misc_Red_Light","CAMP_Armory_Misc_Red_Light","CUP_CAMP_Armory_Misc_Sign_Armex","CAMP_Armory_Misc_Sign_Armex","CUP_CAMP_Armory_Misc_Sign_Direction","CAMP_Armory_Misc_Sign_Direction","CUP_CA_Plants2_Bush","CA_Plants2_Bush","CUP_CA_Plants2_Misc","CA_Plants2_Misc","CUP_CA_Plants_E_Bush","CA_Plants_E_Bush","CUP_CA_Plants_PMC","CA_Plants_PMC","CUP_CARoads2Bridge","CARoads2Bridge","CUP_CARoads_PMC_Bridge","CARoads_PMC_Bridge","CUP_A_TVTower","A_TVTower","CUP_CAStructures_Nav_pier","CAStructures_Nav_pier","CUP_CAStructures_Railway","CAStructures_Railway","CUP_Structures_e_Config","CAStructures_E","CUP_CAStructures_E_HouseA","CAStructures_E_HouseA","CUP_CAStructures_E_HouseA_A_BuildingWIP","CAStructures_E_HouseA_A_BuildingWIP","CUP_CAStructures_E_HouseA_A_CityGate1","CAStructures_E_HouseA_A_CityGate1","CUP_CAStructures_E_HouseA_A_Minaret","CAStructures_E_HouseA_A_Minaret","CUP_CAStructures_E_HouseA_A_Minaret_Porto","CAStructures_E_HouseA_A_Minaret_Porto","CUP_CAStructures_E_HouseA_A_Mosque_big","CAStructures_E_HouseA_A_Mosque_big","CUP_CAStructures_E_HouseA_A_Mosque_small","CAStructures_E_HouseA_A_Mosque_small","CUP_CAStructures_E_HouseA_A_Office01","CAStructures_E_HouseA_A_Office01","CUP_CAStructures_E_HouseA_a_stationhouse","CAStructures_E_HouseA_a_stationhouse","CUP_CAStructures_E_HouseA_A_Statue","CAStructures_E_HouseA_A_Statue","CUP_CAStructures_E_HouseA_A_Villa","CAStructures_E_HouseA_A_Villa","CUP_CAStructures_E_HouseC","CAStructures_E_HouseC","CUP_CAStructures_E_HouseK","CAStructures_E_HouseK","CUP_CAStructures_E_HouseL","CAStructures_E_HouseL","CUP_CAStructures_E_Ind","CAStructures_E_Ind","CUP_CAStructures_E_Ind_Ind_Coltan_Mine","CAStructures_E_Ind_Ind_Coltan_Mine","CUP_CAStructures_E_Ind_Ind_FuelStation","CAStructures_E_Ind_Ind_FuelStation","CUP_CAStructures_E_Ind_Ind_Garage01","CAStructures_E_Ind_Ind_Garage01","CUP_CAStructures_E_Ind_Oil_Mine","CAStructures_E_Ind_Oil_Mine","CUP_CAStructures_E_Ind_IndPipes","CAStructures_E_Ind_IndPipes","CUP_CAStructures_E_Ind_Misc_PowerStation","CAStructures_E_Ind_Misc_PowerStation","CUP_CAStructures_E_Ind_Ind_Shed","CAStructures_E_Ind_Ind_Shed","CUP_CAStructures_E_Mil","CAStructures_E_Mil","CUP_CAStructures_E_Misc","CAStructures_E_Misc","CUP_CAStructures_E_Misc_Misc_cables","CAStructures_E_Misc_Misc_cables","CUP_CAStructures_E_Misc_Misc_Construction","CAStructures_E_Misc_Misc_Construction","CUP_CAStructures_E_Misc_Misc_Garbage","CAStructures_E_Misc_Misc_Garbage","CUP_CAStructures_E_Misc_Misc_Interier","CAStructures_E_Misc_Misc_Interier","CUP_CAStructures_E_Misc_Misc_Lamp","CAStructures_E_Misc_Misc_Lamp","CUP_CAStructures_E_Misc_Misc_Market","CAStructures_E_Misc_Misc_Market","CUP_CAStructures_E_Misc_Misc_powerline","CAStructures_E_Misc_Misc_powerline","CUP_CAStructures_E_Misc_Misc_Water","CAStructures_E_Misc_Misc_Water","CUP_CAStructures_E_Misc_Misc_Well","CAStructures_E_Misc_Misc_Well","CUP_CAStructures_E_Wall","CAStructures_E_Wall","CUP_CAStructures_E_Wall_Wall_L","CAStructures_E_Wall_Wall_L","CUP_Structures_pmc_Config","CAStructures_PMC","CUP_CAStructures_PMC_Buildings","CAStructures_PMC_Buildings","CUP_CAStructures_PMC_Buildings_Bunker","CAStructures_PMC_Buildings_Bunker","CUP_CAStructures_PMC_Buildings_GeneralStore_PMC","CAStructures_PMC_Buildings_GeneralStore_PMC","CUP_CAStructures_PMC_Buildings_Ruin_Cowshed","CAStructures_PMC_Buildings_Ruin_Cowshed","CUP_CAStructures_PMC_Ind","CAStructures_PMC_Ind","CUP_CAStructures_PMC_FuelStation","CAStructures_PMC_FuelStation","CUP_CAStructures_PMC_Misc","CAStructures_PMC_Misc","CUP_CAStructures_PMC_Misc_Shed","CAStructures_PMC_Misc_Shed","CUP_CAStructures_PMC_Ruins","CAStructures_PMC_Ruins","CUP_CAStructures_PMC_Walls","CAStructures_PMC_Walls","CUP_Takistan_Config","Takistan","CUP_Utes_Config","Utes","CUP_Zargabad_Config","zargabad","CUP_ibr_plants","ibr_plants","a2_epoch_weapons","A3_epoch_assets","A3_Anims_F_Heli","A3_Characters_F","A3_Characters_F_BLUFOR","A3_Characters_F_Civil","A3_Characters_F_Heads","A3_Characters_F_OPFOR","A3_Characters_F_Proxies","A3_Characters_F_Beta","A3_Characters_F_INDEP","A3_Characters_F_Bootcamp","A3_Characters_F_EPB_Heads","A3_Characters_F_Gamma","A3_Characters_F_Mark","A3_Data_F_Curator","A3_Data_F_Curator_Eagle","A3_Data_F_Curator_Intel","A3_Data_F_Curator_Misc","A3_Data_F_Curator_Respawn","3DEN","A3_Data_F_Kart","A3_UAV_F_Characters_F_Gamma","A3_UAV_F_Weapons_F_Gamma_Ammoboxes","A3_Weapons_F_gamma_Items","A3_Map_Altis","A3_Map_Altis_Scenes","A3_Missions_F","A3_Missions_F_Beta","A3_Missions_F_Gamma","A3_Missions_F_Kart","A3_Modules_F_Bootcamp","A3_Modules_F_Curator","A3_Modules_F_Curator_Animals","A3_Modules_F_Curator_CAS","A3_Modules_F_Curator_Curator","A3_Modules_F_Curator_Effects","A3_Modules_F_Curator_Environment","A3_Modules_F_Curator_Flares","A3_Modules_F_Curator_Intel","A3_Modules_F_Curator_Lightning","A3_Modules_F_Curator_Mines","A3_Modules_F_Curator_Misc","A3_Modules_F_Curator_Multiplayer","A3_Modules_F_Curator_Objectives","A3_Modules_F_Curator_Ordnance","A3_Modules_F_Curator_Respawn","A3_Modules_F_Curator_Smokeshells","A3_Modules_F_Exp_A","A3_Modules_F_Kart","A3_Modules_F_Kart_TimeTrials","A3_Props_F_Exp_A_Military_Equipment","A3_Static_F","A3_Static_F_Mortar_01","A3_Static_F_Beta_Mortar_01","A3_Static_F_Gamma","A3_Static_F_Gamma_Mortar_01","A3_Static_F_Mark_Designator_01","A3_Static_F_Mark_Designator_02","A3_Supplies_F_Heli","A3_Supplies_F_Heli_Bladders","A3_Supplies_F_Heli_CargoNets","A3_Supplies_F_Heli_Fuel","A3_Supplies_F_Heli_Slingload","A3_Supplies_F_Mark","A3_UI_F_Bootcamp","A3_UI_F_Exp_A","A3_UI_F_Heli","A3_Weapons_F_Acc","A3_Weapons_F_Beta_Acc","A3_Weapons_F_Bootcamp_Ammoboxes","A3_Weapons_F_EPA","A3_Weapons_F_EPA_Acc","A3_Weapons_F_EPA_Ammoboxes","A3_Weapons_F_EPB","A3_Weapons_F_EPB_Acc","A3_Weapons_F_EPB_Ammoboxes","A3_Weapons_F_EPC","A3_Weapons_F_gamma_Acc","A3_Weapons_F_Kart","A3_Weapons_F_Mark_Acc","CUP_Afghan_Config","Mountains_ACR","CUP_Bohemia_Config","Woodland_ACR","CUP_Bootcamp_acr_Config","Bootcamp_ACR","CUP_Data_baf_Config","CA_BAF","CUP_Desert_e_Config","Desert_E","CUP_CALanguage_Baf","CALanguage_Baf","CUP_CALanguageMissions_baf","CALanguageMissions_baf","CUP_Misc_acr_Config","CAMisc_ACR","CUP_CAMisc_ACR_3DMarkers","CAMisc_ACR_3DMarkers","CUP_CAMisc_ACR_Container","CAMisc_ACR_Container","CUP_CAMisc_ACR_Dog","CAMisc_ACR_Dog","CUP_CAMisc_ACR_Helpers","CAMisc_ACR_Helpers","CUP_CAMisc_ACR_PBX","CAMisc_ACR_PBX","CUP_CAMisc_ACR_ScaffoldingSmall","CAMisc_ACR_ScaffoldingSmall","CUP_CAMisc_ACR_Shooting_range","CAMisc_ACR_Shooting_range","CUP_CAMisc_ACR_Sign_Mines","CAMisc_ACR_Sign_Mines","CUP_CAMisc_ACR_Targets","CAMisc_ACR_Targets","CUP_CAMisc_ACR_Targets_InvisibleTarget","CAMisc_ACR_Targets_InvisibleTarget","CUP_CAMisc_ACR_TestSphere","CAMisc_ACR_TestSphere","CUP_CAMisc_BAF","CAMisc_BAF","CUP_Provinggrounds_pmc_Config","ProvingGrounds_PMC","CUP_Shapur_baf_Config","Shapur_BAF","CUP_BaseConfig_F","A3_Air_F","A3_Air_F_Heli_Light_01","A3_Air_F_Heli_Light_02","A3_Air_F_Beta","A3_Air_F_Beta_Heli_Attack_01","A3_Air_F_Beta_Heli_Attack_02","A3_Air_F_Beta_Heli_Transport_01","A3_Air_F_Beta_Heli_Transport_02","A3_Air_F_Beta_Parachute_01","A3_Air_F_Beta_Parachute_02","A3_Air_F_EPB_Heli_Light_03","A3_Air_F_EPC_Plane_CAS_01","A3_Air_F_EPC_Plane_CAS_02","A3_Air_F_Gamma_Plane_Fighter_03","A3_Air_F_Heli","A3_Air_F_Heli_Heli_Attack_01","A3_Air_F_Heli_Heli_Attack_02","A3_Air_F_Heli_Heli_Light_01","A3_Air_F_Heli_Heli_Light_02","A3_Air_F_Heli_Heli_Light_03","A3_Air_F_Heli_Heli_Transport_01","A3_Air_F_Heli_Heli_Transport_02","A3_Air_F_Heli_Heli_Transport_03","A3_Air_F_Heli_Heli_Transport_04","A3_Armor_F","A3_armor_f_beta","A3_Armor_F_Panther","A3_armor_f_beta_APC_Tracked_02","A3_Armor_F_EPB_APC_tracked_03","A3_Armor_F_EPB_MBT_03","A3_Armor_F_Slammer","A3_Armor_F_T100K","A3_Boat_F","A3_Boat_F_Boat_Armed_01","A3_Boat_F_Boat_Transport_01","A3_Boat_F_Beta_Boat_Armed_01","A3_Boat_F_Beta_Boat_Transport_01","A3_Boat_F_SDV_01","A3_Boat_F_EPC_Submarine_01_F","A3_Boat_F_Civilian_Boat","A3_Boat_F_Trawler","A3_Boat_F_Gamma_Boat_Transport_01","A3_Boat_F_Heli_Boat_Armed_01","A3_Boat_F_Heli_SDV_01","A3_Characters_F_Common","A3_Characters_F_Bootcamp_Common","A3_Characters_F_EPA","A3_Characters_F_EPB","A3_Characters_F_EPC","A3_Characters_F_Kart","A3_Data_F_Curator_Characters","A3_Data_F_Curator_Virtual","A3_Data_F_Exp_A_Virtual","A3_Data_F_Heli","A3_Air_F_Gamma_UAV_01","A3_Air_F_Gamma_UAV_02","A3_Missions_F_Bootcamp","A3_Missions_F_Curator","A3_Missions_F_EPA","A3_Missions_F_EPB","A3_Missions_F_EPC","A3_Missions_F_Exp_A","A3_Missions_F_Heli","A3_Missions_F_Mark","A3_Missions_F_MP_Mark","A3_Modules_F_Bootcamp_Misc","A3_Modules_F_Curator_Chemlights","A3_Soft_F","A3_Soft_F_MRAP_01","A3_Soft_F_MRAP_02","A3_Soft_F_Offroad_01","A3_Soft_F_Quadbike","A3_Soft_F_MRAP_03","A3_Soft_F_Beta_Quadbike","A3_Soft_F_HEMTT","A3_Soft_F_TruckHeavy","A3_Soft_F_EPC_Truck_03","A3_Soft_F_Car","A3_Soft_F_Gamma_Offroad","A3_Soft_F_Gamma_Quadbike","A3_Soft_F_SUV","A3_Soft_F_Gamma_HEMTT","A3_Soft_F_Gamma_TruckHeavy","A3_Soft_F_Truck","A3_Soft_F_Heli_Car","A3_Soft_F_Heli_MRAP_01","A3_Soft_F_Heli_MRAP_02","A3_Soft_F_Heli_MRAP_03","A3_Soft_F_Heli_Quadbike","A3_Soft_F_Heli_SUV","A3_Soft_F_Heli_Truck","A3_Soft_F_Kart_Kart_01","A3_Static_F_Gamma_AA","A3_Static_F_Gamma_AT","A3_Structures_F_Mil_Scrapyard","A3_Structures_F_Wrecks","A3_Structures_F_EPA_Mil_Scrapyard","A3_Weapons_F_Bootcamp","A3_Weapons_F_Mark","A3_Weapons_F_Mark_LongRangeRifles_DMR_02","A3_Weapons_F_Mark_LongRangeRifles_DMR_03","A3_Weapons_F_Mark_LongRangeRifles_DMR_04","A3_Weapons_F_Mark_LongRangeRifles_DMR_05","A3_Weapons_F_Mark_LongRangeRifles_DMR_06","A3_Weapons_F_Mark_Machineguns_MMG_01","A3_Weapons_F_Mark_Machineguns_MMG_02","A3_epoch_language","A3_epoch_vehicles_1","A3_Air_F_EPC_Plane_Fighter_03","A3_Armor_F_AMV","A3_Armor_F_Marid","A3_Armor_F_EPC_MBT_01","A3_Armor_F_APC_Wheeled_03","A3_CargoPoses_F","A3_CargoPoses_F_Heli","A3_Soft_F_Crusher_UGV","A3_Soft_F_Bootcamp_Offroad_01","A3_Soft_F_Bootcamp_Quadbike","A3_Soft_F_Bootcamp_Truck","A3_Soft_F_Heli_Crusher_UGV","CUP_Core","CUP_StandaloneTerrains_Core","CUP_StandaloneTerrains_Core_Faction","CUP_StandaloneTerrains_Core_VehicleClass","CUP_Worlds","CUP_Worlds_Ambient","CUP_Worlds_Author","CUP_Worlds_Clutter","CUP_Worlds_ClutterDist","CUP_Worlds_Delete","CUP_Worlds_DisableInfiniteTerrain","CUP_Worlds_DustEffects","CUP_Worlds_EnvSounds","CUP_Worlds_FullDetailDist","CUP_Worlds_Grid","CUP_Worlds_Intros","CUP_Worlds_Lighting","CUP_Worlds_Lighting_Chernarus","CUP_Worlds_Lighting_Desert","CUP_Worlds_MapSize","CUP_Worlds_MidDetailTexture","CUP_Worlds_NoDetailDist","CUP_Worlds_PictureMap","CUP_Worlds_PictureShot","CUP_Worlds_Seabed","CUP_Worlds_SkyTexture","CUP_Worlds_StreetLamp","CUP_Worlds_Surfaces","CUP_Worlds_Water","A3_epoch_config","CUP_A1_EditorObjects","CUP_A2_EditorObjects","A3_epoch_code","A3_epoch_functions"}; //whitelisted cfgPatches for CUP terrains +antihack_whitelistedCfgPatches[] = {}; // antihack_banReason = "EpochMod Autoban"; antihack_kickReason = "EpochMod Autokick"; antihack_banReasons[] = { diff --git a/Sources/epoch_code/compile/EPOCH_LootIT.sqf b/Sources/epoch_code/compile/EPOCH_LootIT.sqf index 438fa9b7..97e6cbe7 100644 --- a/Sources/epoch_code/compile/EPOCH_LootIT.sqf +++ b/Sources/epoch_code/compile/EPOCH_LootIT.sqf @@ -12,6 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_LootIT.sqf */ +//[[[cog import generate_private_arrays ]]] +private ["_cam"]; +//[[[end]]] if (!isNull _this) then { [_this,player,Epoch_personalToken] remoteExec ["EPOCH_server_lootContainer",2]; diff --git a/Sources/epoch_code/compile/EPOCH_QuickTakeAll.sqf b/Sources/epoch_code/compile/EPOCH_QuickTakeAll.sqf index afd21762..c942ca60 100644 --- a/Sources/epoch_code/compile/EPOCH_QuickTakeAll.sqf +++ b/Sources/epoch_code/compile/EPOCH_QuickTakeAll.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_QuickTakeAll.sqf */ -private ["_magazines","_items","_weapons"]; +//[[[cog import generate_private_arrays ]]] +private ["_items","_magazines","_weapons"]; +//[[[end]]] closeDialog 0; { diff --git a/Sources/epoch_code/compile/EPOCH_QuickTakeLoad.sqf b/Sources/epoch_code/compile/EPOCH_QuickTakeLoad.sqf index 094064bc..cc1bf3fd 100644 --- a/Sources/epoch_code/compile/EPOCH_QuickTakeLoad.sqf +++ b/Sources/epoch_code/compile/EPOCH_QuickTakeLoad.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_QuickTakeLoad.sqf */ -private ["_magazines"]; +//[[[cog import generate_private_arrays ]]] +private ["_index","_magazines"]; +//[[[end]]] createDialog "QuickTake"; { _magazines = magazinesAmmoCargo _x; diff --git a/Sources/epoch_code/compile/EPOCH_SpawnTraderMiltia.sqf b/Sources/epoch_code/compile/EPOCH_SpawnTraderMiltia.sqf index 06a6ab2a..8d19e12e 100644 --- a/Sources/epoch_code/compile/EPOCH_SpawnTraderMiltia.sqf +++ b/Sources/epoch_code/compile/EPOCH_SpawnTraderMiltia.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_SpawnTraderMiltia.sqf */ -private ["_startPos","_rndHouse","_unit","_trgt","_nrBuilds","_grp"]; +//[[[cog import generate_private_arrays ]]] +private ["_allpositions","_grp","_nrBuilds","_rndHouse","_startPos","_trgt","_unit"]; +//[[[end]]] _trgt = player; _nrBuilds = nearestObjects [getPosATL _trgt,["house"],50]; diff --git a/Sources/epoch_code/compile/EPOCH_UnisexCheck.sqf b/Sources/epoch_code/compile/EPOCH_UnisexCheck.sqf index 93e2bb38..84f120c6 100644 --- a/Sources/epoch_code/compile/EPOCH_UnisexCheck.sqf +++ b/Sources/epoch_code/compile/EPOCH_UnisexCheck.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_UnisexCheck.sqf */ -private ["_femaleVariant","_vest","_item","_config","_woman","_maleVariant","_vestItems","_mags"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_femaleVariant","_mags","_maleVariant","_vest","_vestItems","_woman"]; +//[[[end]]] params ["_unit","_container","_item"]; // check for access of a locked container diff --git a/Sources/epoch_code/compile/EPOCH_callSapperMigration.sqf b/Sources/epoch_code/compile/EPOCH_callSapperMigration.sqf index c2c4e7fc..108ae25d 100644 --- a/Sources/epoch_code/compile/EPOCH_callSapperMigration.sqf +++ b/Sources/epoch_code/compile/EPOCH_callSapperMigration.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_callSapperMigration.sqf */ -private ["_trgt","_sapperCount","_notReady","_start","_dirTo","_finish","_nrPlyrs","_abortAfter","_pos","_axeSapper","_disableAI"]; +//[[[cog import generate_private_arrays ]]] +private ["_abortAfter","_axeSapper","_dirTo","_disableAI","_finish","_notReady","_nrPlyrs","_pos","_sapperCount","_start","_trgt"]; +//[[[end]]] _disableAI = { {_this disableAI _x}forEach["TARGET","AUTOTARGET","FSM"]; diff --git a/Sources/epoch_code/compile/EPOCH_chopWood.sqf b/Sources/epoch_code/compile/EPOCH_chopWood.sqf index eceae481..3ad01fd9 100644 --- a/Sources/epoch_code/compile/EPOCH_chopWood.sqf +++ b/Sources/epoch_code/compile/EPOCH_chopWood.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_chopWood.sqf */ -private ["_currentPos","_object","_type","_start","_end","_p3dName","_finalConfig","_str","_sel_object","_findStart","_objects","_config"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_currentPos","_getWorldTypes","_object","_objects","_sel_object","_str","_type","_worldTypes"]; +//[[[end]]] _currentPos = player modelToWorld[0, 5, 0]; if !(surfaceIsWater _currentPos) then { diff --git a/Sources/epoch_code/compile/EPOCH_debugMonitor.sqf b/Sources/epoch_code/compile/EPOCH_debugMonitor.sqf index dd7b9430..59a13586 100644 --- a/Sources/epoch_code/compile/EPOCH_debugMonitor.sqf +++ b/Sources/epoch_code/compile/EPOCH_debugMonitor.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_debugMonitor.sqf */ -private ["_customVars","_hours"]; +//[[[cog import generate_private_arrays ]]] +private ["_customVars","_hours","_val"]; +//[[[end]]] _hours = floor(servertime/60/60); _customVars = ""; diff --git a/Sources/epoch_code/compile/EPOCH_fish.sqf b/Sources/epoch_code/compile/EPOCH_fish.sqf index a5cadd5d..85c64a9d 100644 --- a/Sources/epoch_code/compile/EPOCH_fish.sqf +++ b/Sources/epoch_code/compile/EPOCH_fish.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_fish.sqf */ -private ["_bobber","_diffTime","_fishes","_fish","_randomChanceMax","_randomChance","_castTime","_nearByBobbers","_nearByBobbersLocal","_objects","_currentPos"]; +//[[[cog import generate_private_arrays ]]] +private ["_bobber","_castTime","_currentPos","_diffTime","_fish","_fishes","_objects","_randomChance","_randomChanceMax"]; +//[[[end]]] _currentPos = player modelToWorld[0, 5 + (random 5), 0]; if (surfaceIsWater _currentPos) then { diff --git a/Sources/epoch_code/compile/EPOCH_interact.sqf b/Sources/epoch_code/compile/EPOCH_interact.sqf index 187ebdef..7e2714e4 100644 --- a/Sources/epoch_code/compile/EPOCH_interact.sqf +++ b/Sources/epoch_code/compile/EPOCH_interact.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_interact.sqf */ -private ["_vehSlot","_storSlot"]; +//[[[cog import generate_private_arrays ]]] +private ["_storSlot","_vehSlot"]; +//[[[end]]] 0 call EPOCH_refeshUI; if (!isNull _this) then { _vehSlot = _this getVariable ["VEHICLE_SLOT", "ABORT"]; diff --git a/Sources/epoch_code/compile/EPOCH_mineRocks.sqf b/Sources/epoch_code/compile/EPOCH_mineRocks.sqf index 52afb478..9089b966 100644 --- a/Sources/epoch_code/compile/EPOCH_mineRocks.sqf +++ b/Sources/epoch_code/compile/EPOCH_mineRocks.sqf @@ -12,8 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_mineRocks.sqf */ -private ["_currentPos","_found","_foundIndex","_start","_end","_p3dName","_finalConfig","_str","_findStart","_object","_objects","_config"]; - +//[[[cog import generate_private_arrays ]]] +private ["_config","_currentPos","_found","_foundIndex","_getWorldTypes","_object","_objects","_str","_worldTypes"]; +//[[[end]]] if ((diag_tickTime - EPOCH_lastMineRocks) >= 2) then { EPOCH_lastMineRocks = diag_tickTime; if (random 1 < 0.16) then { diff --git a/Sources/epoch_code/compile/EPOCH_niteLight.sqf b/Sources/epoch_code/compile/EPOCH_niteLight.sqf index c2101ade..9f2d5f4f 100644 --- a/Sources/epoch_code/compile/EPOCH_niteLight.sqf +++ b/Sources/epoch_code/compile/EPOCH_niteLight.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/compile/EPOCH_niteLight.sqf */ -private ["_pos"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_nlSettings","_pos"]; +//[[[end]]] if (!isNull EP_light) then { deleteVehicle EP_light; }; diff --git a/Sources/epoch_code/compile/EPOCH_removeMarker.sqf b/Sources/epoch_code/compile/EPOCH_removeMarker.sqf index b842e32e..4c95c1b1 100644 --- a/Sources/epoch_code/compile/EPOCH_removeMarker.sqf +++ b/Sources/epoch_code/compile/EPOCH_removeMarker.sqf @@ -21,7 +21,7 @@ Returns: */ -_paramres = params [["_mName",""]]; +params [["_mName",""]]; diag_log format["Epoch: ADMIN: Removing marker %1.", _mName]; if(_mName == "")exitWith{}; diff --git a/Sources/epoch_code/compile/EPOCH_supportCopter.sqf b/Sources/epoch_code/compile/EPOCH_supportCopter.sqf index 2fd77d97..8f5790f5 100644 --- a/Sources/epoch_code/compile/EPOCH_supportCopter.sqf +++ b/Sources/epoch_code/compile/EPOCH_supportCopter.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_supportCopter.sqf */ -private ["_aiskill","_unit","_player","_grp","_arrUnits","_arrSkills","_units"]; +//[[[cog import generate_private_arrays ]]] +private ["_aiskill","_arrSkills","_arrUnits","_arrVals","_grp","_minAISkill","_player","_unit","_unitCount","_units"]; +//[[[end]]] params ["_pos","_copter"]; _player = player; //need to check on change owner @@ -58,7 +60,7 @@ for "_i" from 0 to (_unitCount - 1) do { if (_aiskill<_minAISkill) then {_aiskill=_minAISkill}; _unit setSkill [_arrSkills select _i,_arrVals select _i]; }; - + if (_i == 0) then { _grp selectLeader _unit; [_pos,_copter,_player,_unit] execFSM "\x\addons\a3_epoch_code\System\Group_Leader_Brain.fsm"; diff --git a/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf b/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf index c4a7ce5a..1badd25b 100644 --- a/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf +++ b/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf */ +//[[[cog import generate_private_arrays ]]] private ["_index"]; +//[[[end]]] params ["_spawnName", ["_decrease",1]]; _index = EPOCH_spawnIndex find _spawnName; if (_index != -1) then{ diff --git a/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf b/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf index 3d40b736..980c294c 100644 --- a/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf +++ b/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf */ +//[[[cog import generate_private_arrays ]]] private ["_index"]; +//[[[end]]] params ["_spawnName", ["_increase",1]]; _index = EPOCH_spawnIndex find _spawnName; if (_index != -1) then{ diff --git a/Sources/epoch_code/compile/EPOCH_updateLoadingScreen.sqf b/Sources/epoch_code/compile/EPOCH_updateLoadingScreen.sqf index 6206f2e7..03829e20 100644 --- a/Sources/epoch_code/compile/EPOCH_updateLoadingScreen.sqf +++ b/Sources/epoch_code/compile/EPOCH_updateLoadingScreen.sqf @@ -13,7 +13,9 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_updateLoadingScreen.sqf */ disableSerialization; +//[[[cog import generate_private_arrays ]]] private ["_display"]; +//[[[end]]] _display = uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull]; if (!isNull _display) then { (_display displayCtrl 50) ctrlSetText _this; diff --git a/Sources/epoch_code/compile/bis_functions/returnVector.sqf b/Sources/epoch_code/compile/bis_functions/returnVector.sqf index 459b008a..70b2779b 100644 --- a/Sources/epoch_code/compile/bis_functions/returnVector.sqf +++ b/Sources/epoch_code/compile/bis_functions/returnVector.sqf @@ -1,5 +1,7 @@ // BIS function -private ["_v","_d","_x","_y"]; +//[[[cog import generate_private_arrays ]]] +private ["_d","_v","_x","_y"]; +//[[[end]]] _v = +(_this select 0); _d = _this select 1; diff --git a/Sources/epoch_code/compile/both/EPOCH_compiler.sqf b/Sources/epoch_code/compile/both/EPOCH_compiler.sqf index f51b7ec4..eb30dc50 100644 --- a/Sources/epoch_code/compile/both/EPOCH_compiler.sqf +++ b/Sources/epoch_code/compile/both/EPOCH_compiler.sqf @@ -23,8 +23,10 @@ Returns: BOOL */ -private ["_cat","_file","_fnc_path","_var_name","_file_raw","_itemCompile","_tag","_file_tag","_config","_returnConfig","_version"]; -params [["_configName","",[""]]]; +//[[[cog import generate_private_arrays ]]] +private ["_cat","_config","_file","_file_raw","_file_tag","_fnc_path","_itemCompile","_return","_returnConfig","_tag","_var_name","_version"]; +//[[[end]]] +params [["_configName","",[""] ] ]; _returnConfig = { private["_return", "_config"]; diff --git a/Sources/epoch_code/compile/building/EPOCH_changeWallState.sqf b/Sources/epoch_code/compile/building/EPOCH_changeWallState.sqf index 6d782e8a..1181b2f5 100644 --- a/Sources/epoch_code/compile/building/EPOCH_changeWallState.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_changeWallState.sqf @@ -25,7 +25,9 @@ _this select 1: SCALAR - state Returns: NOTHING */ -private["_recipeItem", "_recipeQty", "_hasRecipeItems", "_msg", "_recipeCount", "_currentCount", "_numRemoved", "_items", "_mags", "_recipe", "_craftItem", "_craftQty", "_config", "_objClass"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_craftItem","_craftQty","_currentCount","_hasRecipeItems","_items","_mags","_msg","_numRemoved","_objClass","_recipe","_recipeCount","_recipeItem","_recipeQty"]; +//[[[end]]] params[ ["_object", objNull], ["_anim", ""], diff --git a/Sources/epoch_code/compile/building/EPOCH_checkBuild.sqf b/Sources/epoch_code/compile/building/EPOCH_checkBuild.sqf index 78f6cacd..56c39679 100644 --- a/Sources/epoch_code/compile/building/EPOCH_checkBuild.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_checkBuild.sqf @@ -21,7 +21,9 @@ Returns: ARRAY of BOOLs */ -private ["_out","_objType","_config"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_objType","_out"]; +//[[[end]]] _out = [false, false, false]; if !(isNil "EPOCH_simulSwap_Lock") exitWith{ _out }; diff --git a/Sources/epoch_code/compile/building/EPOCH_countdown.sqf b/Sources/epoch_code/compile/building/EPOCH_countdown.sqf index 963c0500..7c2d925d 100644 --- a/Sources/epoch_code/compile/building/EPOCH_countdown.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_countdown.sqf @@ -21,7 +21,9 @@ Returns: NOTHING */ -private ["_cfgBaseBuilding","_posObj","_savedBuildPos","_previousBuildPos","_saveCheck","_endTime","_worldspace","_class","_newObj","_startTime","_objClass"]; +//[[[cog import generate_private_arrays ]]] +private ["_cfgBaseBuilding","_class","_endTime","_newObj","_objClass","_posObj","_previousBuildPos","_saveCheck","_savedBuildPos","_startTime","_worldspace"]; +//[[[end]]] if (!isNull _this) then { diff --git a/Sources/epoch_code/compile/building/EPOCH_fnc_SelectTargetBuild.sqf b/Sources/epoch_code/compile/building/EPOCH_fnc_SelectTargetBuild.sqf index 4d293d8e..2e19fda5 100644 --- a/Sources/epoch_code/compile/building/EPOCH_fnc_SelectTargetBuild.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_fnc_SelectTargetBuild.sqf @@ -21,7 +21,9 @@ Returns: BOOL */ -private ["_targeter","_stability"]; +//[[[cog import generate_private_arrays ]]] +private ["_stability","_targeter"]; +//[[[end]]] if !(isNil "EPOCH_simulSwap_Lock") exitWith{ false }; if !(isNull EPOCH_Target) exitWith{ false }; diff --git a/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf b/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf index 7fb04098..5a8d9b3f 100644 --- a/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_lockCheck.sqf @@ -21,7 +21,9 @@ Returns: BOOL */ -private ["_buildingJammerRange","_jammed","_config","_jammer"]; +//[[[cog import generate_private_arrays ]]] +private ["_buildingJammerRange","_config","_jammed","_jammer"]; +//[[[end]]] _config = "CfgEpochClient" call EPOCH_returnConfig; _buildingJammerRange = getNumber(_config >> "buildingJammerRange"); diff --git a/Sources/epoch_code/compile/building/EPOCH_maintainIT.sqf b/Sources/epoch_code/compile/building/EPOCH_maintainIT.sqf index c3f853ba..7988b6ee 100644 --- a/Sources/epoch_code/compile/building/EPOCH_maintainIT.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_maintainIT.sqf @@ -21,7 +21,10 @@ Returns: NOTHING */ -private ["_buildingJammerRange","_maintainCount","_rnd","_config"]; +//[[[cog import generate_private_arrays ]]] +private ["_buildingJammerRange","_config","_maintainCount","_rnd"]; +//[[[end]]] + if !(isNil "EPOCH_maintainLockout") exitWith {["Already Maintaining a base.", 5] call Epoch_message;}; if (EPOCH_playerCrypto > 0) then { _config = "CfgEpochClient" call EPOCH_returnConfig; diff --git a/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf b/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf index 2fdab86e..4001a52b 100644 --- a/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf +++ b/Sources/epoch_code/compile/building/EPOCH_upgradeBUILD.sqf @@ -22,7 +22,9 @@ Returns: NOTHING */ -private ["_buildingJammerRange","_buildingCountLimit","_nearestJammer","_ownedJammerExists","_buildingAllowed","_missingCount","_canUpgrade","_missingParts","_part","_req","_partCheck","_canUpgradePartCount","_removedPartCount","_return","_upgrade","_upgradeParts","_config","_upgrades","_targeter","_stability","_jammer"]; +//[[[cog import generate_private_arrays ]]] +private ["_buildingAllowed","_buildingCountLimit","_buildingJammerRange","_canUpgrade","_canUpgradePartCount","_config","_jammer","_missingCount","_missingParts","_nearestJammer","_ownedJammerExists","_part","_partCheck","_removedPartCount","_req","_return","_stability","_targeter","_upgrade","_upgradeParts","_upgrades"]; +//[[[end]]] params [ ["_object",objNull,[objNull]], ["_index",-1,[0]] diff --git a/Sources/epoch_code/compile/environment/EPOCH_client_loadAnimalBrain.sqf b/Sources/epoch_code/compile/environment/EPOCH_client_loadAnimalBrain.sqf index 1a4c0e9d..80e4bf5c 100644 --- a/Sources/epoch_code/compile/environment/EPOCH_client_loadAnimalBrain.sqf +++ b/Sources/epoch_code/compile/environment/EPOCH_client_loadAnimalBrain.sqf @@ -21,11 +21,13 @@ Returns: NOTHING */ -private ["_randomAIClass","_animalPos","_tryAnimalPos","_id","_animal","_animalAiTables","_playerPos"]; +//[[[cog import generate_private_arrays ]]] +private ["_animal","_animalAiTables","_animalPos","_id","_playerPos","_randomAIClass","_tryAnimalPos"]; +//[[[end]]] if (count(player nearEntities["Animal_Base_F", 200]) >= 1) exitWith{}; -_animalAiTables = ["CfgEpochClient", "animalAiTables", ["Sheep_random_EPOCH", "Sheep_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", ["Cock_random_EPOCH", "Hen_random_EPOCH"], ["Cock_random_EPOCH", "Hen_random_EPOCH"], "Rabbit_EPOCH", "Rabbit_EPOCH", "Rabbit_EPOCH", "Snake_random_EPOCH", "Snake2_random_EPOCH", ["Fin_random_EPOCH", "Alsatian_Random_EPOCH"]]] call EPOCH_fnc_returnConfigEntryV2; +_animalAiTables = ["CfgEpochClient", "animalAiTables", ["Sheep_random_EPOCH", "Sheep_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", "Goat_random_EPOCH", ["Cock_random_EPOCH", "Hen_random_EPOCH"], ["Cock_random_EPOCH", "Hen_random_EPOCH"], "Rabbit_EPOCH", "Rabbit_EPOCH", "Rabbit_EPOCH", "Snake_random_EPOCH", "Snake2_random_EPOCH", ["Fin_random_EPOCH", "Alsatian_Random_EPOCH"] ] ] call EPOCH_fnc_returnConfigEntryV2; _randomAIClass = selectRandom _animalAiTables; _animalPos = nil; diff --git a/Sources/epoch_code/compile/event_handlers/EPOCH_getOutMan.sqf b/Sources/epoch_code/compile/event_handlers/EPOCH_getOutMan.sqf index 3ada284b..55684ae5 100644 --- a/Sources/epoch_code/compile/event_handlers/EPOCH_getOutMan.sqf +++ b/Sources/epoch_code/compile/event_handlers/EPOCH_getOutMan.sqf @@ -13,7 +13,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_getOutMan_EH.sqf */ -private ["_start","_end","_dirTo"]; +//[[[cog import generate_private_arrays ]]] +private ["_dirTo","_end","_start"]; +//[[[end]]] params ["_unit","_position","_vehicle"]; if (_unit == player) then { _start = getPosWorld _vehicle; diff --git a/Sources/epoch_code/compile/functions/EPOCH_colorRange.sqf b/Sources/epoch_code/compile/functions/EPOCH_colorRange.sqf index a55e624e..9cd23868 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_colorRange.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_colorRange.sqf @@ -23,7 +23,9 @@ Returns: MIXED */ -private ["_ratio","_b","_r","_g"]; +//[[[cog import generate_private_arrays ]]] +private ["_b","_color","_g","_r","_ratio","_return"]; +//[[[end]]] params ["_minimum", "_maximum", "_value", "_alpha"]; _ratio = 2 * (_value-_minimum) / (_maximum - _minimum); _b = 0 max (255*(1 - _ratio)); diff --git a/Sources/epoch_code/compile/functions/EPOCH_fn_returnConfigEntryV2.sqf b/Sources/epoch_code/compile/functions/EPOCH_fn_returnConfigEntryV2.sqf index 26b15570..9baf7249 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fn_returnConfigEntryV2.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fn_returnConfigEntryV2.sqf @@ -23,7 +23,9 @@ Returns: MIXED */ -private["_config", "_varData","_missionconfig","_finalconfig"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_finalconfig","_missionconfig","_sapperRndChance","_varData"]; +//[[[end]]] params ["_configClass","_variableName","_defaultData"]; _varData = _defaultData; _config = (configfile >> _configClass); diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_Weather.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_Weather.sqf index 491ca50e..9e37fe61 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_Weather.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_Weather.sqf @@ -21,7 +21,9 @@ Returns: NOTHING */ -private ["_warming","_wet","_increaseWet","_isNearFire","_playerPosATL","_maxTemp","_airTemp","_waterTemp","_wetsuit"]; +//[[[cog import generate_private_arrays ]]] +private ["_airTemp","_increaseWet","_isNearFire","_maxTemp","_playerPosATL","_warming","_waterTemp","_wet","_wetsuit"]; +//[[[end]]] if (isNil "EPOCH_CURRENT_WEATHER") then { EPOCH_CURRENT_WEATHER = 75; diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_addItemOverflow.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_addItemOverflow.sqf index 89b4eaf6..fe828837 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_addItemOverflow.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_addItemOverflow.sqf @@ -22,7 +22,9 @@ Returns: BOOL */ -private ["_wHPos","_wH","_nearByHolder"]; +//[[[cog import generate_private_arrays ]]] +private ["_nearByHolder","_wH","_wHPos"]; +//[[[end]]] params [["_item","",[""]],["_count",1]]; for "_i" from 1 to _count do { diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_cursorTarget.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_cursorTarget.sqf index 2de557ae..ffc35397 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_cursorTarget.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_cursorTarget.sqf @@ -24,7 +24,9 @@ Returns: (OBJECT or objNull) */ -private ["_ins"]; +//[[[cog import generate_private_arrays ]]] +private ["_ins","_target"]; +//[[[end]]] params [["_distance",10], ["_lod1", "VIEW"], ["_lod2","FIRE"], ["_sort",true]]; if (EPOCH_playerIsSwimming) then { _ins = lineIntersectsSurfaces [AGLToASL positionCameraToWorld [0,0,0],AGLToASL positionCameraToWorld [0,0,_distance],player,objNull,_sort,1,_lod1,_lod2]; diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_dirToFuzzy.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_dirToFuzzy.sqf index af87f922..1bfa7335 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_dirToFuzzy.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_dirToFuzzy.sqf @@ -23,7 +23,9 @@ Returns: SCALAR - (direction 0-360) */ -private ["_ret"]; +//[[[cog import generate_private_arrays ]]] +private ["_dirToF","_pos1","_pos2","_ret"]; +//[[[end]]] params ["_pos1","_pos2",["_spread",32]]; //if objects, not positions, were passed in, then get their positions diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_findRandomPosBehind.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_findRandomPosBehind.sqf index 0792473b..8d6827ea 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_findRandomPosBehind.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_findRandomPosBehind.sqf @@ -25,7 +25,9 @@ Returns: ARRAY */ -private ["_dir","_rnd","_pos","_dist","_minIn","_outPos"]; +//[[[cog import generate_private_arrays ]]] +private ["_dir","_dist","_moveTo","_pos","_rnd"]; +//[[[end]]] params ["_maxIn","_minIn","_arcIn","_unitIn",["_offset",0]]; _rnd = ((180 +_offset) - (_arcIn / 2)) + (random _arcIn); diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_findSafePos.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_findSafePos.sqf index fbb4b769..50a26bee 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_findSafePos.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_findSafePos.sqf @@ -26,7 +26,9 @@ Returns: ARRAY */ -private["_rDist","_rDir","_outPos","_nrRoad","_nrRoads"]; +//[[[cog import generate_private_arrays ]]] +private ["_moveTo","_nrRoad","_nrRoads","_outPos","_rDir","_rDist"]; +//[[[end]]] params ["_inPos","_MinDist","_MaxDist",["_outHeight",0],["_onRoad",false]]; _rDist = (random (_MaxDist - _MinDist))+_MinDist; diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_findSapperStalkLocation.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_findSapperStalkLocation.sqf index bd784401..57c82cb9 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_findSapperStalkLocation.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_findSapperStalkLocation.sqf @@ -26,7 +26,9 @@ Returns: ARRAY */ -private ["_dir","_dirTo","_rnd","_pos","_dist"]; +//[[[cog import generate_private_arrays ]]] +private ["_dir","_dirTo","_dist","_moveTo","_pos","_rnd"]; +//[[[end]]] params ["_maxIn","_minIn","_arcIn","_unitIn","_offset","_trgtIn"]; _dirTo = (position _unitIn) getDir (position _trgtIn); diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_isInsideBuilding.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_isInsideBuilding.sqf index 616e2d85..91b7609a 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_isInsideBuilding.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_isInsideBuilding.sqf @@ -21,7 +21,9 @@ Returns: BOOL */ -private ["_playerPosASL","_abovePlayerPosASL"]; +//[[[cog import generate_private_arrays ]]] +private ["_abovePlayerPosASL","_inBuilding","_playerPosASL"]; +//[[[end]]] _playerPosASL = visiblePositionASL player; _abovePlayerPosASL = [_playerPosASL select 0,_playerPosASL select 1,(_playerPosASL select 2) + 10]; //Return: diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf index 30d1fc56..0285320a 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf @@ -27,7 +27,9 @@ Returns: NOTHING */ -private ["_heal","_highestDMG","_currentHIT","_currentDMG","_newDMG","_attachments","_cursorTarget","_repaired","_gesture","_nuisanceLevel"]; +//[[[cog import generate_private_arrays ]]] +private ["_ammoConfig","_attachments","_currentDMG","_currentHIT","_cursorTarget","_gesture","_heal","_highestDMG","_newDMG","_nuisanceLevel","_repaired"]; +//[[[end]]] params ["_unit","_weapon","_muzzle","_mode","_ammo","_magazine","_projectile"]; EPOCH_lastFiredLocation = getPosATL player; switch true do { diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_stringLeft.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_stringLeft.sqf index 111df35c..a244b2ae 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_stringLeft.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_stringLeft.sqf @@ -22,8 +22,14 @@ Returns: STRING */ +//[[[cog import generate_private_arrays ]]] +private ["_arrFull","_arrOut","_strIn","_trimmedStr"]; +//[[[end]]] private["_arrFull","_arrOut"]; -params ["_strIn",["_count",0,[0]]]; +params [ + "_strIn", + ["_count",0,[0]] +]; _arrOut = []; if !(_strIn isEqualType "STRING") then {_strIn = str(_strIn)}; _arrFull = toArray _strIn; diff --git a/Sources/epoch_code/compile/functions/EPOCH_giveAttributes.sqf b/Sources/epoch_code/compile/functions/EPOCH_giveAttributes.sqf index 1e900c14..4cc591f2 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_giveAttributes.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_giveAttributes.sqf @@ -1,6 +1,7 @@ // EPOCH_giveAttributes - -private ["_return","_addPlus","_editableVars","_selectedVar","_varName","_celcuis","_celcuisNew","_customVarIndex","_limits","_currentVal","_newValue"]; +//[[[cog import generate_private_arrays ]]] +private ["_addPlus","_celcuis","_celcuisNew","_currentVal","_customVarIndex","_data","_limits","_max","_min","_newValue","_return","_varName"]; +//[[[end]]] params ["_selectedVarName",["_data",0],["_randomizeData",0]]; _addPlus = if (_data > 0) then {"+"} else {""}; _return = ""; diff --git a/Sources/epoch_code/compile/functions/EPOCH_itemDisplayName.sqf b/Sources/epoch_code/compile/functions/EPOCH_itemDisplayName.sqf index af8d503b..7f36be01 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_itemDisplayName.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_itemDisplayName.sqf @@ -21,7 +21,9 @@ Returns: STRING */ -private ["_return"]; +//[[[cog import generate_private_arrays ]]] +private ["_displayName","_return"]; +//[[[end]]] params ["_item"]; _return = ""; if ([_item, "CfgVehicles"] call EPOCH_fnc_isAny) then { diff --git a/Sources/epoch_code/compile/functions/EPOCH_itemPicture.sqf b/Sources/epoch_code/compile/functions/EPOCH_itemPicture.sqf index d4e1de62..4edf10d5 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_itemPicture.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_itemPicture.sqf @@ -13,7 +13,7 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/functions/EPOCH_itemPicture.sqf Example: - _picture = _part call EPOCH_itemPicture; + _part call EPOCH_itemPicture; Parameter(s): _this: STRING - Vehicle, Weapon, or Magazine config class name @@ -21,7 +21,9 @@ Returns: STRING */ +//[[[cog import generate_private_arrays ]]] private ["_return"]; +//[[[end]]] params ["_item"]; _return = ""; if ([_item, "CfgVehicles"] call EPOCH_fnc_isAny) then { diff --git a/Sources/epoch_code/compile/functions/EPOCH_pushCustomVar.sqf b/Sources/epoch_code/compile/functions/EPOCH_pushCustomVar.sqf index 84ad1c16..23f73cbf 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_pushCustomVar.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_pushCustomVar.sqf @@ -21,7 +21,9 @@ Returns: NOTHING */ -private ["_lastSave","_customVars","_time"]; +//[[[cog import generate_private_arrays ]]] +private ["_customVars","_lastSave","_time"]; +//[[[end]]] _time = if (_this) then [{15},{80}]; _lastSave = missionNamespace getVariable["EPOCH_lastSave", diag_tickTime]; if ((diag_tickTime - _lastSave) >= _time) then { diff --git a/Sources/epoch_code/compile/functions/EPOCH_returnConfig.sqf b/Sources/epoch_code/compile/functions/EPOCH_returnConfig.sqf index a4467f8a..fc5a4a26 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_returnConfig.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_returnConfig.sqf @@ -21,7 +21,9 @@ Returns: CONFIG */ -private["_return", "_config"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_return"]; +//[[[end]]] _return = (configfile >> _this); _config = (getMissionConfig _this); if (isClass _config) then{ diff --git a/Sources/epoch_code/compile/functions/EPOCH_worldObjectType.sqf b/Sources/epoch_code/compile/functions/EPOCH_worldObjectType.sqf index c2a0f175..a379eed4 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_worldObjectType.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_worldObjectType.sqf @@ -22,7 +22,9 @@ Returns: BOOL or ARRAY of BOOLs */ -private ["_str","_return","_config","_findStart","_start","_end","_p3dName","_finalConfig","_checkType"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_end","_finalConfig","_findStart","_isTree","_p3dName","_return","_start"]; +//[[[end]]] params ["_str","_checkType"]; _return = false; _config = 'CfgEpochClient' call EPOCH_returnConfig; diff --git a/Sources/epoch_code/compile/functions/Epoch_SortArrayByDistance.sqf b/Sources/epoch_code/compile/functions/Epoch_SortArrayByDistance.sqf index 9cafaf15..ba9fee0a 100644 --- a/Sources/epoch_code/compile/functions/Epoch_SortArrayByDistance.sqf +++ b/Sources/epoch_code/compile/functions/Epoch_SortArrayByDistance.sqf @@ -22,7 +22,9 @@ Returns: ARRAY of ARRAYS */ -private ["_sorted","_closest","_testPos","_closestPos"]; +//[[[cog import generate_private_arrays ]]] +private ["_closest","_closestPos","_pos","_sorted","_testPos","_unsorted"]; +//[[[end]]] params ["_unsorted","_pos"]; if (_pos isEqualType objNull) then {_pos = getpos _pos;}; _sorted = []; diff --git a/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyDown.sqf b/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyDown.sqf index a963444f..e4d5213e 100644 --- a/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyDown.sqf +++ b/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyDown.sqf @@ -25,7 +25,9 @@ Returns: BOOL */ -private ["_handled","_currentPos"]; +//[[[cog import generate_private_arrays ]]] +private ["_currentPos","_disableBuildMode","_handled"]; +//[[[end]]] params ["_display","_dikCode","_shift","_ctrl","_alt"]; _handled = false; diff --git a/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyUp.sqf b/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyUp.sqf index 350da4e0..749642d2 100644 --- a/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyUp.sqf +++ b/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyUp.sqf @@ -25,7 +25,9 @@ Returns: BOOL */ -private["_handled"]; +//[[[cog import generate_private_arrays ]]] +private ["_handled"]; +//[[[end]]] params ["_display","_dikCode","_shift","_ctrl","_alt"]; _handled = false; //Main actions diff --git a/Sources/epoch_code/compile/interface_event_handlers/EPOCH_onChar.sqf b/Sources/epoch_code/compile/interface_event_handlers/EPOCH_onChar.sqf index 16c9317d..e8a5aa8f 100644 --- a/Sources/epoch_code/compile/interface_event_handlers/EPOCH_onChar.sqf +++ b/Sources/epoch_code/compile/interface_event_handlers/EPOCH_onChar.sqf @@ -22,7 +22,9 @@ Returns: NOTHING */ -private ["_textArr","_num"]; +//[[[cog import generate_private_arrays ]]] +private ["_num","_textArr"]; +//[[[end]]] params ["_control",["_maxLimit",0]]; _textArr = toArray(ctrlText(_control select 0)); { diff --git a/Sources/epoch_code/compile/inventory/EPOCH_gearArmorCalc.sqf b/Sources/epoch_code/compile/inventory/EPOCH_gearArmorCalc.sqf index 700d51ac..16ea6450 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_gearArmorCalc.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_gearArmorCalc.sqf @@ -21,7 +21,9 @@ Returns: NUMBER */ -private ["_gearArmor","_gearConfig","_passThrough","_armor"]; +//[[[cog import generate_private_arrays ]]] +private ["_armor","_gearArmor","_gearConfig","_passThrough","_vestArmor"]; +//[[[end]]] _gearConfig = (configfile >> "CfgWeapons" >> _this); _passThrough = getNumber(_gearConfig >> "ItemInfo" >> "passThrough"); _armor = getNumber(_gearConfig >> "ItemInfo" >> "armor"); diff --git a/Sources/epoch_code/compile/inventory/EPOCH_initUI.sqf b/Sources/epoch_code/compile/inventory/EPOCH_initUI.sqf index 4ea07b3c..17ca3f5e 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_initUI.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_initUI.sqf @@ -23,7 +23,9 @@ Returns: NOHTING */ -private ["_display","_color","_colorCompare","_bar","_bar_compare"]; +//[[[cog import generate_private_arrays ]]] +private ["_bar","_bar_compare","_color","_colorCompare","_display"]; +//[[[end]]] disableSerialization; EPOCH_InteractedItem = []; diff --git a/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf b/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf index d9f2f112..b1607732 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf */ -private ["_data","_confData","_type","_interactOption","_buttonTXT","_magCount","_text","_pic","_display","_useBtn","_config","_craftingConfig"]; +//[[[cog import generate_private_arrays ]]] +private ["_buttonTXT","_cfgItemInteractions","_config","_data","_display","_interactOption","_magCount","_type","_useBtn"]; +//[[[end]]] _this call EPOCH_selectInventoryItem; _data = EPOCH_InteractedItem select 1; diff --git a/Sources/epoch_code/compile/inventory/EPOCH_itemInteractDblClick.sqf b/Sources/epoch_code/compile/inventory/EPOCH_itemInteractDblClick.sqf index db550f8f..f38bf1df 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_itemInteractDblClick.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_itemInteractDblClick.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/inventory/EPOCH_itemInteractDblClick.sqf */ -private ["_data","_confData","_text","_pic","_config","_craftingConfig"]; +//[[[cog import generate_private_arrays ]]] +private ["_config","_data"]; +//[[[end]]] _this call EPOCH_selectInventoryItem; _data = EPOCH_InteractedItem select 1; _config = 'CfgCrafting' call EPOCH_returnConfig; diff --git a/Sources/epoch_code/compile/inventory/EPOCH_maxArmorInit.sqf b/Sources/epoch_code/compile/inventory/EPOCH_maxArmorInit.sqf index ffbcfd83..4de81f19 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_maxArmorInit.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_maxArmorInit.sqf @@ -21,7 +21,9 @@ Returns: NOTHING */ -private ["_curArmor","_maxArmorUniform","_maxArmorVest","_maxArmorHeadgear"]; +//[[[cog import generate_private_arrays ]]] +private ["_curArmor","_maxArmorHeadgear","_maxArmorUniform","_maxArmorVest"]; +//[[[end]]] _maxArmorUniform = 0; { _curArmor = ([getNumber(_x >> 'passThrough'),getNumber(_x >> 'armor')] call EPOCH_factorArmor) + getNumber(_x >> 'armorStructural'); diff --git a/Sources/epoch_code/compile/inventory/EPOCH_refeshUI.sqf b/Sources/epoch_code/compile/inventory/EPOCH_refeshUI.sqf index be35ca04..9d20d14e 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_refeshUI.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_refeshUI.sqf @@ -21,7 +21,9 @@ Returns: NOTHING */ -private ["_selectedClass","_newArmor","_totalArmor","_totalArmorMax","_selectedItem","_bar","_uniformArmor","_finalArmor","_vestArmor","_headgearArmor","_totalArmorUI","_bar_compare"]; +//[[[cog import generate_private_arrays ]]] +private ["_bar","_bar_compare","_finalArmor","_headgearArmor","_newArmor","_selectedClass","_selectedItem","_totalArmor","_totalArmorMax","_totalArmorUI","_uniformArmor","_vestArmor"]; +//[[[end]]] disableSerialization; if (!isNull findDisplay 602) then { diff --git a/Sources/epoch_code/compile/inventory/EPOCH_selectInventoryItem.sqf b/Sources/epoch_code/compile/inventory/EPOCH_selectInventoryItem.sqf index 2b9f98e6..9768a91a 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_selectInventoryItem.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_selectInventoryItem.sqf @@ -22,7 +22,9 @@ Returns: NOTHING */ -private ["_arr","_exit","_data","_name","_text","_pic","_craftingArray","_craftingArrayNames"]; +//[[[cog import generate_private_arrays ]]] +private ["_arr","_craftingArray","_craftingArrayNames","_data","_exit","_index","_name","_pic","_text"]; +//[[[end]]] params ["_control","_index"]; EPOCH_InteractedItem = []; diff --git a/Sources/epoch_code/compile/inventory/EPOCH_uniformArmorCalc.sqf b/Sources/epoch_code/compile/inventory/EPOCH_uniformArmorCalc.sqf index 834814fe..6a23d26e 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_uniformArmorCalc.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_uniformArmorCalc.sqf @@ -21,7 +21,9 @@ Returns: NUMBER */ -private ["_uniformClass","_uniformArmor","_uniformConfig","_uniformArmorStructural"]; +//[[[cog import generate_private_arrays ]]] +private ["_newArmor","_uniformArmor","_uniformArmorStructural","_uniformClass","_uniformConfig"]; +//[[[end]]] _uniformClass = _this; if (isClass (configFile >> "CfgWeapons" >> _this)) then { diff --git a/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf b/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf index 2e8ea7cf..5ade6a41 100644 --- a/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf +++ b/Sources/epoch_code/compile/looting/EPOCH_spawnLoot.sqf @@ -23,7 +23,9 @@ Returns: BOOL */ -private ["_class","_randomColor","_positions","_posName","_color","_colors","_randomIndex","_selectedLoot","_position","_pos","_m2WPos","_dir","_relDir","_item","_return","_possibleCount","_possibleLoots","_masterConfig","_config","_cfgBaseBuilding","_lootBias","_lootType","_loots","_lootLimit"]; +//[[[cog import generate_private_arrays ]]] +private ["_cfgBaseBuilding","_class","_color","_colors","_config","_delete","_dir","_item","_lootBias","_lootLimit","_lootType","_loots","_masterConfig","_pos","_positions","_possibleCount","_possibleLoots","_randomIndex","_return","_selectedLoot"]; +//[[[end]]] params [["_building",objNull,[objNull]], ["_lootCheckBufferLimit",333], ["_lootObjectLimit",33]]; _masterConfig = 'CfgBuildingLootPos' call EPOCH_returnConfig; diff --git a/Sources/epoch_code/compile/missions/EPOCH_mission_cage_sapper.sqf b/Sources/epoch_code/compile/missions/EPOCH_mission_cage_sapper.sqf index 8ec9e4ff..c8f44a5d 100644 --- a/Sources/epoch_code/compile/missions/EPOCH_mission_cage_sapper.sqf +++ b/Sources/epoch_code/compile/missions/EPOCH_mission_cage_sapper.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/missions/EPOCH_mission_cage_sapper.sqf */ -private ["_sounds","_sound","_cagePos","_cage","_cage2","_startCage"]; +//[[[cog import generate_private_arrays ]]] +private ["_cage","_cage2","_cagePos","_sapper","_sound","_sounds","_startCage"]; +//[[[end]]] params ["_sapper","_trader"]; _cagePos = (getPosATL _trader) findEmptyPosition [1,50,"Land_Cages_F"]; diff --git a/Sources/epoch_code/compile/missions/EPOCH_spawn_construct.sqf b/Sources/epoch_code/compile/missions/EPOCH_spawn_construct.sqf index cb0ff273..3e8c4c04 100644 --- a/Sources/epoch_code/compile/missions/EPOCH_spawn_construct.sqf +++ b/Sources/epoch_code/compile/missions/EPOCH_spawn_construct.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/missions/EPOCH_spawn_construct.sqf */ -private["_unit"]; +//[[[cog import generate_private_arrays ]]] +private ["_unit"]; +//[[[end]]] _unit = createAgent ["Construct_F", getPos player, [], 520, "FORM"]; {_unit disableAI _x}forEach["TARGET","AUTOTARGET","FSM"]; [_unit] execFSM "\x\addons\a3_epoch_code\System\Construct_Brain.fsm"; diff --git a/Sources/epoch_code/compile/missions/EPOCH_spawn_looters.sqf b/Sources/epoch_code/compile/missions/EPOCH_spawn_looters.sqf index 218863ad..515c709e 100644 --- a/Sources/epoch_code/compile/missions/EPOCH_spawn_looters.sqf +++ b/Sources/epoch_code/compile/missions/EPOCH_spawn_looters.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/missions/EPOCH_spawn_looters.sqf */ -private["_unit"]; +//[[[cog import generate_private_arrays ]]] +private ["_unit"]; +//[[[end]]] for "_i" from 0 to 4 step 1 do { _unit = createGroup RESISTANCE createUnit ["Epoch_Female_F", getPos player, [], 400, "CAN_COLLIDE"]; _unit addBackPack "B_FieldPack_blk"; diff --git a/Sources/epoch_code/compile/p2p_trading/EPOCH_TradeLoop.sqf b/Sources/epoch_code/compile/p2p_trading/EPOCH_TradeLoop.sqf index ed41fd73..5612de94 100644 --- a/Sources/epoch_code/compile/p2p_trading/EPOCH_TradeLoop.sqf +++ b/Sources/epoch_code/compile/p2p_trading/EPOCH_TradeLoop.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/p2p_trading/EPOCH_TradeLoop.sqf */ -private ["_item","_index","_removeCount","_sizeOut","_array","_cryptoOffer","_offerArray","_tradeOffer","_tradeCryptoOffer","_isAcceptedOther","_isAccepted"]; +//[[[cog import generate_private_arrays ]]] +private ["_array","_cryptoOffer","_index","_isAccepted","_isAcceptedOther","_item","_offerArray","_removeCount","_sizeOut","_tradeCryptoOffer","_tradeOffer"]; +//[[[end]]] if (EPOCH_p2ptradeTarget distance player > 8) exitWith{ EPOCH_p2ptradeTarget = ObjNull; }; if (vehicle player != player || vehicle EPOCH_p2ptradeTarget != EPOCH_p2ptradeTarget) exitWith { EPOCH_p2ptradeTarget = ObjNull; }; diff --git a/Sources/epoch_code/compile/p2p_trading/EPOCH_startTRADEREQ.sqf b/Sources/epoch_code/compile/p2p_trading/EPOCH_startTRADEREQ.sqf index 482d1064..8af5d9ef 100644 --- a/Sources/epoch_code/compile/p2p_trading/EPOCH_startTRADEREQ.sqf +++ b/Sources/epoch_code/compile/p2p_trading/EPOCH_startTRADEREQ.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/p2p_trading/EPOCH_startTRADEREQ.sqf */ -private["_distance"]; +//[[[cog import generate_private_arrays ]]] +private ["_distance"]; +//[[[end]]] params ["_otherPlyr"]; if (!isNull _otherPlyr) then { _distance = player distance _otherPlyr; diff --git a/Sources/epoch_code/compile/p2p_trading/EPOCH_startTrade.sqf b/Sources/epoch_code/compile/p2p_trading/EPOCH_startTrade.sqf index 3204b2e1..3212db0d 100644 --- a/Sources/epoch_code/compile/p2p_trading/EPOCH_startTrade.sqf +++ b/Sources/epoch_code/compile/p2p_trading/EPOCH_startTrade.sqf @@ -12,8 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/p2p_trading/EPOCH_startTrade.sqf */ -private["_index"]; - +//[[[cog import generate_private_arrays ]]] +private ["_index"]; +//[[[end]]] closeDialog 0; if !(createdialog "Trade") exitWith {}; diff --git a/Sources/epoch_code/compile/setup/EPOCH_clientKeyMap.sqf b/Sources/epoch_code/compile/setup/EPOCH_clientKeyMap.sqf index 5ad091e7..4540d541 100644 --- a/Sources/epoch_code/compile/setup/EPOCH_clientKeyMap.sqf +++ b/Sources/epoch_code/compile/setup/EPOCH_clientKeyMap.sqf @@ -21,8 +21,9 @@ Returns: Mixed */ - -private ["_keyMap","_args","_input","_return"]; +//[[[cog import generate_private_arrays ]]] +private ["_arr","_keyMap","_return","_s"]; +//[[[end]]] params [["_args",0],["_input",0]]; _keyMap = diff --git a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf index 76535da8..feb5788f 100644 --- a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf +++ b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf @@ -22,7 +22,9 @@ Returns: NOTHING */ -private ["_ply","_group","_playerObject"]; +//[[[cog import generate_private_arrays ]]] +private ["_group","_playerObject","_ply"]; +//[[[end]]] _playerObject = _this select 0; if !(alive player && alive _playerObject && !isPlayer _playerObject) then { _ply = player; diff --git a/Sources/epoch_code/compile/traders/EPOCH_NPCTraderMenuFilter.sqf b/Sources/epoch_code/compile/traders/EPOCH_NPCTraderMenuFilter.sqf index 87acc5ea..bcd45d65 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_NPCTraderMenuFilter.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_NPCTraderMenuFilter.sqf @@ -23,7 +23,9 @@ NOTHING */ disableSerialization; -private ["_item","_itemCount","_itemOfferCount","_wpn","_bpck","_config","_name","_picture","_type","_vehicles","_sizeOut","_offerArray","_itemName","_itemIcon","_qty","_items","_qtys","_aiItems","_filterArray","_filterMagazines","_filterItems","_filterVehicle","_slot","_isPlayerFilter"]; +//[[[cog import generate_private_arrays ]]] +private ["_aiItems","_bpck","_config","_filterArray","_filterItems","_filterMagazines","_filterVehicle","_filterWeapons","_index","_isPlayerFilter","_item","_itemCount","_itemIcon","_itemName","_itemOfferCount","_items","_name","_offerArray","_picture","_qty","_qtys","_sizeOut","_slot","_type","_vehicles","_wpn"]; +//[[[end]]] params ["_control","_index"]; if !(isNull EPOCH_lastNPCtradeTarget) then { diff --git a/Sources/epoch_code/compile/traders/EPOCH_buildingInteract.sqf b/Sources/epoch_code/compile/traders/EPOCH_buildingInteract.sqf index aa70b965..3d40c5c7 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_buildingInteract.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_buildingInteract.sqf @@ -1,4 +1,6 @@ -private ["_index","_action","_displayname","_position","_condition","_statement","_unlock","_doorIndex","_disabledDoor","_uniqueActions","_useractions","_class"]; +//[[[cog import generate_private_arrays ]]] +private ["_action","_class","_condition","_disabledDoor","_displayname","_doorIndex","_index","_position","_statement","_uniqueActions","_unlock","_useractions"]; +//[[[end]]] lbClear 1550; _class = configFile >> "CfgVehicles" >> (typeOf EPCH); if (isclass _class) then { diff --git a/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd.sqf b/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd.sqf index f9816cb9..9a36d479 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd.sqf @@ -1,4 +1,6 @@ -private ["_stockLimit","_allowAdd","_limit","_slot","_aiItems","_itemClasses","_itemQtys","_qtyIndex","_item","_sizeOut","_worth","_cryptoCount","_itemWorth","_itemTax","_tax","_index","_uiItem","_config"]; +//[[[cog import generate_private_arrays ]]] +private ["_action","_class","_condition","_disabledDoor","_displayname","_doorIndex","_index","_position","_statement","_uniqueActions","_unlock","_useractions"]; +//[[[end]]] params ["_control","_selected"]; if !(isNull EPOCH_lastNPCtradeTarget) then { diff --git a/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd2.sqf b/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd2.sqf index 3fcd0373..114b4d04 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd2.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd2.sqf @@ -1,4 +1,6 @@ -private ["_allowAdd","_item","_sizeOut","_qty","_worth","_cryptoCount","_itemWorth","_itemTax","_tax","_itemName","_index","_itemIcon","_uiQty","_uiItem","_config"]; +//[[[cog import generate_private_arrays ]]] +private ["_allowAdd","_array","_config","_cryptoCount","_index","_item","_itemIcon","_itemName","_itemTax","_itemWorth","_qty","_sizeOut","_tax","_uiItem","_uiQty","_worth"]; +//[[[end]]] params ["_control","_selected"]; _allowAdd = true; diff --git a/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd3.sqf b/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd3.sqf index 61f768a1..c00b7558 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd3.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_npcTraderAdd3.sqf @@ -1,4 +1,6 @@ -private ["_item","_worth","_cryptoCount","_itemWorth","_itemTax","_tax","_sizeOut","_uiItem","_config"]; +//[[[cog import generate_private_arrays ]]] +private ["_array","_config","_cryptoCount","_item","_itemTax","_itemWorth","_sizeOut","_tax","_uiItem","_worth"]; +//[[[end]]] params ["_control","_selected"]; _uiItem = (_selected select 0) lbData(_selected select 1); diff --git a/Sources/epoch_code/compile/traders/EPOCH_startInteract.sqf b/Sources/epoch_code/compile/traders/EPOCH_startInteract.sqf index c5b22cda..55e41f66 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_startInteract.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_startInteract.sqf @@ -1,5 +1,7 @@ // TODO remove unused file -private ["_target","_forceGear","_targets","_handled","_dialog","_vehicle"]; +//[[[cog import generate_private_arrays ]]] +private ["_dialog","_forceGear","_handled","_target","_targets","_vehicle"]; +//[[[end]]] closeDialog 0; _dialog = ""; _handled = false; diff --git a/Sources/epoch_code/compile/traders/EPOCH_startInteractNPC.sqf b/Sources/epoch_code/compile/traders/EPOCH_startInteractNPC.sqf index 07385776..a323c8a4 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_startInteractNPC.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_startInteractNPC.sqf @@ -1,4 +1,6 @@ -private["_ok"]; +//[[[cog import generate_private_arrays ]]] +private ["_ok"]; +//[[[end]]] if (isNull _this) exitWith {}; if !(alive _this) exitWith {}; _ok = createdialog "MissionSelect"; diff --git a/Sources/epoch_code/compile/traders/EPOCH_startNPCTraderMenu.sqf b/Sources/epoch_code/compile/traders/EPOCH_startNPCTraderMenu.sqf index c6382ce2..783669b4 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_startNPCTraderMenu.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_startNPCTraderMenu.sqf @@ -1,4 +1,6 @@ +//[[[cog import generate_private_arrays ]]] private ["_ok","_slot","_target"]; +//[[[end]]] _target = cursorTarget; if (alive _target) then { _slot = _target getVariable ["AI_SLOT",-1]; diff --git a/Sources/epoch_code/compile/traders/EPOCH_startNpcTrade.sqf b/Sources/epoch_code/compile/traders/EPOCH_startNpcTrade.sqf index f808f58e..31092954 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_startNpcTrade.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_startNpcTrade.sqf @@ -21,7 +21,9 @@ Returns: NOTHING */ -private ["_vehSlot","_vehicle","_vehicles","_item","_current_crypto","_itemWorth","_itemTax","_tax","_config","_sizeOut","_arrayIn","_arrayOut"]; +//[[[cog import generate_private_arrays ]]] +private ["_addWeaponToHands","_arrayIn","_arrayOut","_config","_current_crypto","_errorMsg","_item","_itemTax","_itemWorth","_sizeOut","_tax","_type","_vehSlot","_vehicle","_vehicles"]; +//[[[end]]] if (!isNil "EPOCH_TRADE_COMPLETE") exitWith {}; if (!isNil "EPOCH_TRADE_STARTED") exitWith{}; diff --git a/Sources/epoch_code/compile/traders/EPOCH_takeCrypto.sqf b/Sources/epoch_code/compile/traders/EPOCH_takeCrypto.sqf index 32cb8e1c..3589ed06 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_takeCrypto.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_takeCrypto.sqf @@ -1,4 +1,6 @@ -private["_getCrypto"]; +//[[[cog import generate_private_arrays ]]] +private ["_getCrypto"]; +//[[[end]]] if !(isNil "EPOCH_takeCryptoLock") exitWith {}; EPOCH_takeCryptoLock = true; if (!isNull _this) then { diff --git a/Sources/epoch_code/compile/traders/EPOCH_tradeFilter.sqf b/Sources/epoch_code/compile/traders/EPOCH_tradeFilter.sqf index 1b608aae..049f3974 100644 --- a/Sources/epoch_code/compile/traders/EPOCH_tradeFilter.sqf +++ b/Sources/epoch_code/compile/traders/EPOCH_tradeFilter.sqf @@ -1,5 +1,7 @@ disableSerialization; -private ["_item","_xIndex","_filterArray","_magazines","_items","_sizeOut","_array"]; +//[[[cog import generate_private_arrays ]]] +private ["_array","_filterArray","_item","_items","_magazines","_sizeOut","_weapons","_xIndex"]; +//[[[end]]] params ["_control","_index"]; // [weapons, mags, items] diff --git a/Sources/epoch_code/compile/vehicles/EPOCH_client_gearVehicle.sqf b/Sources/epoch_code/compile/vehicles/EPOCH_client_gearVehicle.sqf index c7a8c7c8..9fdee6e5 100644 --- a/Sources/epoch_code/compile/vehicles/EPOCH_client_gearVehicle.sqf +++ b/Sources/epoch_code/compile/vehicles/EPOCH_client_gearVehicle.sqf @@ -12,6 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/vehicles/EPOCH_client_gearVehicle.sqf */ +//[[[cog import generate_private_arrays ]]] +private ["_vehicles"]; +//[[[end]]] closeDialog 0; if (!isNull cursorTarget) then { _vehicles = player nearEntities[["LandVehicle", "Ship", "Air", "Tank"], 30]; diff --git a/Sources/epoch_code/compile/vehicles/EPOCH_client_repairVehicle.sqf b/Sources/epoch_code/compile/vehicles/EPOCH_client_repairVehicle.sqf index 136240c4..38961c07 100644 --- a/Sources/epoch_code/compile/vehicles/EPOCH_client_repairVehicle.sqf +++ b/Sources/epoch_code/compile/vehicles/EPOCH_client_repairVehicle.sqf @@ -12,6 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/vehicles/EPOCH_client_repairVehicle.sqf */ +//[[[cog import generate_private_arrays ]]] +private ["_currentDMG"]; +//[[[end]]] params ["_vehicle","_value"]; if (local _vehicle) then { _currentDMG = _vehicle getHitIndex (_value select 0); diff --git a/Sources/epoch_code/gui/scripts/EPOCH_InterruptConfigActions.sqf b/Sources/epoch_code/gui/scripts/EPOCH_InterruptConfigActions.sqf index f2207f51..e3c03625 100644 --- a/Sources/epoch_code/gui/scripts/EPOCH_InterruptConfigActions.sqf +++ b/Sources/epoch_code/gui/scripts/EPOCH_InterruptConfigActions.sqf @@ -13,7 +13,9 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/EPOCH_InterruptConfigActions.sqf */ disableSerialization; -private ["_pos","_mainGrp","_display","_data","_value","_mainGrpPos","_group","_width"]; +//[[[cog import generate_private_arrays ]]] +private ["_data","_display","_group","_mainGrp","_mainGrpPos","_pos","_value","_width"]; +//[[[end]]] params ["_ctrl","_idx"]; _mainGrp = Epoch_interrupt_controls select 1; diff --git a/Sources/epoch_code/gui/scripts/Epoch_3DctrlPitchYaw.sqf b/Sources/epoch_code/gui/scripts/Epoch_3DctrlPitchYaw.sqf index c525993d..e7ac3815 100644 --- a/Sources/epoch_code/gui/scripts/Epoch_3DctrlPitchYaw.sqf +++ b/Sources/epoch_code/gui/scripts/Epoch_3DctrlPitchYaw.sqf @@ -17,7 +17,9 @@ Usage: _ctrl ctrlSetEventHandler ["MouseMoving", "[_this,control3D] call Epoch_3DctrlPitchYaw"]; */ -private ["_inX","_inY","_dirY","_upY","_dirX","_upX"]; +//[[[cog import generate_private_arrays ]]] +private ["_dirX","_dirY","_inX","_inY","_upX","_upY"]; +//[[[end]]] params ["_arr","_ctrl3D"]; disableSerialization; diff --git a/Sources/epoch_code/gui/scripts/Epoch_3DctrlYaw.sqf b/Sources/epoch_code/gui/scripts/Epoch_3DctrlYaw.sqf index c4cb9eaf..0a690465 100644 --- a/Sources/epoch_code/gui/scripts/Epoch_3DctrlYaw.sqf +++ b/Sources/epoch_code/gui/scripts/Epoch_3DctrlYaw.sqf @@ -17,7 +17,9 @@ Usage: _ctrl ctrlSetEventHandler ["MouseMoving", "[_this,control3D] call Epoch_3DctrlPitchYaw"]; */ -private["_inX","_inY"]; +//[[[cog import generate_private_arrays ]]] +private ["_inX","_inY"]; +//[[[end]]] params ["_arr","_ctrl3D"]; disableSerialization; diff --git a/Sources/epoch_code/gui/scripts/Epoch_genderSelection.sqf b/Sources/epoch_code/gui/scripts/Epoch_genderSelection.sqf index eba3da82..f84f062e 100644 --- a/Sources/epoch_code/gui/scripts/Epoch_genderSelection.sqf +++ b/Sources/epoch_code/gui/scripts/Epoch_genderSelection.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/Epoch_genderSelection.sqf */ -private ["_min","_max","_r","_r2","_r3"]; +//[[[cog import generate_private_arrays ]]] +private ["_max","_min","_r","_r2","_r3"]; +//[[[end]]] _min = safezoneX + 0.4 * safezoneW; _max = safezoneX + 0.6 * safezoneW; _r = linearConversion [_min, _max, _this, 0.2, -1, true]; diff --git a/Sources/epoch_code/gui/scripts/Epoch_getIDC.sqf b/Sources/epoch_code/gui/scripts/Epoch_getIDC.sqf index 83dd0bcc..e472baed 100644 --- a/Sources/epoch_code/gui/scripts/Epoch_getIDC.sqf +++ b/Sources/epoch_code/gui/scripts/Epoch_getIDC.sqf @@ -13,7 +13,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/Epoch_getIDC.sqf */ -private ["_in","_list","_out","_find"]; +//[[[cog import generate_private_arrays ]]] +private ["_find","_in","_list","_out"]; +//[[[end]]] _in = [_this, 0, controlNull, [controlNull]] call BIS_fnc_param; _list = missionNamespace getVariable ["rmx_var_uniqueIDC",[]]; diff --git a/Sources/epoch_code/gui/scripts/Epoch_secureStorageHandler.sqf b/Sources/epoch_code/gui/scripts/Epoch_secureStorageHandler.sqf index aea85ac4..ee09ad8a 100644 --- a/Sources/epoch_code/gui/scripts/Epoch_secureStorageHandler.sqf +++ b/Sources/epoch_code/gui/scripts/Epoch_secureStorageHandler.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/Epoch_secureStorageHandler.sqf */ +//[[[cog import generate_private_arrays ]]] private ["_out"]; +//[[[end]]] params [["_in",false]]; _out = switch (typeName _in) do { case "STRING": diff --git a/Sources/epoch_code/gui/scripts/config/Epoch_config_keymap.sqf b/Sources/epoch_code/gui/scripts/config/Epoch_config_keymap.sqf index 37f28425..82b5891e 100644 --- a/Sources/epoch_code/gui/scripts/config/Epoch_config_keymap.sqf +++ b/Sources/epoch_code/gui/scripts/config/Epoch_config_keymap.sqf @@ -15,7 +15,9 @@ Example: _this call Epoch_config_keymap; */ -private ["_idx","_display","_input"]; +//[[[cog import generate_private_arrays ]]] +private ["_arr","_ctrl","_ctrlCurrent","_ctrlDefault","_ctrlEdit","_data","_default","_display","_idx","_input","_lb","_new","_old","_txt","_txtCurrent","_txtDefault","_var"]; +//[[[end]]] params ["_ctrl"]; _display = if (typeName _ctrl isEqualTo "CONTROL") then {ctrlParent _ctrl} else {displayNull}; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_defaults.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_defaults.sqf index 620653c5..044d2977 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_defaults.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_defaults.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_defaults.sqf */ -private ["_y","_idx","_recipeCTRL","_STdesc","_lbColor","_playerGear"]; +//[[[cog import generate_private_arrays ]]] +private ["_STdesc","_idx","_lbColor","_playerGear","_recipeCTRL","_y"]; +//[[[end]]] _recipeCTRL = rmx_var_crafting_ctrl_main select 0; _STdesc = rmx_var_crafting_ctrl_main select 2; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_doubleClick.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_doubleClick.sqf index 9e0c0dae..6b855918 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_doubleClick.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_doubleClick.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_LB_doubleClick.sqf */ +//[[[cog import generate_private_arrays ]]] private ["_idx","_txt"]; +//[[[end]]] _idx = lbCurSel (rmx_var_crafting_ctrl_main select 1); _txt = (rmx_var_crafting_ctrl_main select 1) lbData _idx; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkGear.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkGear.sqf index 3b0c9f3d..2083441d 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkGear.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkGear.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkGear.sqf */ -private ["_recipes","_nearObjects","_near","_out","_player","_recipe","_cP","_cN"]; +//[[[cog import generate_private_arrays ]]] +private ["_cN","_cP","_near","_nearObjects","_out","_player","_recipe"]; +//[[[end]]] params ["_recipes"]; _nearObjects = nearestObjects [position player,["WeaponHolder","LandVehicle","Air"],10]; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkNearby.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkNearby.sqf index ffc39eb0..b13babfa 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkNearby.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkNearby.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkNearby.sqf */ -private ["_nearObjects","_result","_tmpResult","_config","_configWorldInteractions","_countOnFire","_countAlive"]; +//[[[cog import generate_private_arrays ]]] +private ["_check","_config","_configWorldInteractions","_countAlive","_countOnFire","_find","_nearObjects","_result","_test1","_test2","_tmpResult"]; +//[[[end]]] params ["","","",["_arr",[2,""]],["_dist",0],["_cnt",1],["_inflamed",0],["_alive",0]]; _arr params ["_type","_check"]; _result = false; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkResources.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkResources.sqf index b71921a3..519c7769 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkResources.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkResources.sqf @@ -12,8 +12,10 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_checkResources.sqf */ -private ["_display","_ncGroup","_ncCFrame","_ncRFrame","_ncRText","_ncCLB","_out","_cfg","_selection","_nearbyArr"]; -params [["_in",false,[true]]]; +//[[[cog import generate_private_arrays ]]] +private ["_animSpeed","_cfg","_chck","_cnt","_color","_count","_countTxt","_ctrl","_display","_h","_img","_imgParsed","_ncCFrame","_ncCLB","_ncGroup","_ncRFrame","_ncRText","_nearbyArr","_out","_selection","_stText","_txt"]; +//[[[end]]] +params [["_in",false,[true] ] ]; //Defines _out = true; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_ctrl_collector.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_ctrl_collector.sqf index 50b606e0..98c7030f 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_ctrl_collector.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_ctrl_collector.sqf @@ -14,7 +14,9 @@ */ disableSerialization; -private "_display"; +//[[[cog import generate_private_arrays ]]] +private ["_display"]; +//[[[end]]] _display = findDisplay 77700; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_getConfig.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_getConfig.sqf index fb07fba6..9f191e62 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_getConfig.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_getConfig.sqf @@ -13,7 +13,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_getConfig.sqf */ -private ["_cName","_arr","_cDisplayName","_cPicture","_cDescShort","_cModel","_cPriority","_cCTime","_cRecipeArr","_cNearbyArr","_cUsedInArr","_cPreviewArr","_cPreviewScale","_cPreviewVector","_cDescFull","_cType","_arrIn","_type0","_type1","_type2","_type3","_out"]; +//[[[cog import generate_private_arrays ]]] +private ["_arr","_arrIn","_cCTime","_cDescFull","_cDescShort","_cDisplayName","_cModel","_cName","_cNearbyArr","_cPicture","_cPreviewArr","_cPreviewScale","_cPreviewVector","_cPriority","_cRecipeArr","_cType","_cUsedInArr","_out","_type0","_type1","_type2","_type3"]; +//[[[end]]] _arrIn = param [0,[0]]; if !(typeName (_arrIn select 0) isEqualTo "CONFIG") exitWith {[]}; diff --git a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_progress.sqf b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_progress.sqf index f39ed593..f44f646c 100644 --- a/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_progress.sqf +++ b/Sources/epoch_code/gui/scripts/craftingv2/EPOCH_crafting_progress.sqf @@ -15,7 +15,9 @@ if !(isNil "rmx_var_craftProgressInProgress") exitWith {false}; rmx_var_craftProgressInProgress = true; -private ["_out","_txt","_time","_posY","_posX","_w","_h","_idc","_stColor","_layer","_display","_ctrl3","_ctrl","_ctrl2","_tick"]; +//[[[cog import generate_private_arrays ]]] +private ["_ctrl","_ctrl2","_ctrl3","_display","_h","_idc","_layer","_out","_posX","_posY","_stColor","_tick","_time","_txt","_w"]; +//[[[end]]] disableSerialization; _txt = param [0,"No text"]; diff --git a/Sources/epoch_code/gui/scripts/dynamenu/Epoch_dynamicMenuCleanup.sqf b/Sources/epoch_code/gui/scripts/dynamenu/Epoch_dynamicMenuCleanup.sqf index 8a3fa401..f92773a0 100644 --- a/Sources/epoch_code/gui/scripts/dynamenu/Epoch_dynamicMenuCleanup.sqf +++ b/Sources/epoch_code/gui/scripts/dynamenu/Epoch_dynamicMenuCleanup.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/dynamenu/Epoch_dynamicMenuCleanup.sqf */ -private ["_close","_cleanupVars"]; +//[[[cog import generate_private_arrays ]]] +private ["_cfg","_cleanupVars","_close"]; +//[[[end]]] _close = param [0,false,[false]]; _cleanupVars = { diff --git a/Sources/epoch_code/gui/scripts/dynamicHUD/epoch_getHUDCtrl.sqf b/Sources/epoch_code/gui/scripts/dynamicHUD/epoch_getHUDCtrl.sqf index 780d857c..719d540e 100644 --- a/Sources/epoch_code/gui/scripts/dynamicHUD/epoch_getHUDCtrl.sqf +++ b/Sources/epoch_code/gui/scripts/dynamicHUD/epoch_getHUDCtrl.sqf @@ -16,17 +16,14 @@ [_configName, _index] call epoch_getHUDCtrl; ["myHudName", 2] call epoch_getHUDCtrl; */ - +//[[[cog import generate_private_arrays ]]] +private ["_gIdx"]; +//[[[end]]] if !(_this isEqualTypeArray ["",0]) exitWith {controlNull}; - params ["_gName","_cIdx"]; - _gIdx = -1; - { if ((_x select 0) isEqualTo _gName) exitWith {_gIdx = _forEachIndex}; } forEach rmx_var_dynamicHUD_groupCTRL; - if (_gIdx == -1) exitWith {controlNull}; - (rmx_var_dynamicHUD_groupCTRL select _gIdx) select _cIdx diff --git a/Sources/epoch_code/gui/scripts/epoch_dragControl.sqf b/Sources/epoch_code/gui/scripts/epoch_dragControl.sqf index 7e774750..4b9dbdeb 100644 --- a/Sources/epoch_code/gui/scripts/epoch_dragControl.sqf +++ b/Sources/epoch_code/gui/scripts/epoch_dragControl.sqf @@ -15,7 +15,9 @@ Usage: No direct usage, simply create your control in configs following example in HPP mentioned in description */ +//[[[cog import generate_private_arrays ]]] private ["_ctrl","_curr","_mpos"]; +//[[[end]]] _ctrl = param [0]; _curr = ctrlPosition _Ctrl; _mpos = getmousePosition; @@ -23,4 +25,4 @@ _mpos = getmousePosition; if (rmx_var_drag_MouseDown) then { _ctrl ctrlSetPosition [(_mpos select 0) - (_curr select 2) / 2, (_mpos select 1) - (_curr select 3) / 2 ]; _ctrl ctrlCommit 0; -}; \ No newline at end of file +}; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnInvite.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnInvite.sqf index 4baa9404..edf91185 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnInvite.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnInvite.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_Group_BtnInvite.sqf */ -private ["_txt","_InvitePlayerCombo","_playerUID","_playerName","_upgradeSlots","_upgradePrice","_found","_currentMember","_currentMaxMember","_BtnInvite"]; +//[[[cog import generate_private_arrays ]]] +private ["_BtnInvite","_InvitePlayerCombo","_currentMaxMember","_currentMember","_found","_playerName","_playerUID","_ret","_txt","_upgradePrice","_upgradeSlots"]; +//[[[end]]] disableSerialization; _BtnInvite = (findDisplay -1300) displayCtrl 30; _playerUID = getPlayerUID player; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnKick.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnKick.sqf index feb63775..be2ee2b7 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnKick.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnKick.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_Group_BtnKick.sqf */ -private ["_txt","_playerUID","_playerName","_group","_selected","_BtnKick"]; +//[[[cog import generate_private_arrays ]]] +private ["_BtnKick","_group","_playerName","_playerUID","_ret","_selected","_txt"]; +//[[[end]]] disableSerialization; _BtnKick = (findDisplay -1300) displayCtrl 33; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnLeave.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnLeave.sqf index 0227d595..3528a890 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnLeave.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnLeave.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_Group_BtnLeave.sqf */ -private ["_txt","_BtnLeave"]; +//[[[cog import generate_private_arrays ]]] +private ["_BtnLeave","_ret","_txt"]; +//[[[end]]] disableSerialization; _BtnLeave = (findDisplay -1300) displayCtrl 31; if (getPlayerUID player == Epoch_my_GroupUID) then { diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnMod.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnMod.sqf index 40b2f457..60664860 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnMod.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_BtnMod.sqf @@ -13,7 +13,9 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_Group_BtnMod.sqf */ disableSerialization; -private ["_isMember","_txt","_playerUID","_group","_selected"]; +//[[[cog import generate_private_arrays ]]] +private ["_group","_isMember","_playerUID","_ret","_selected","_txt"]; +//[[[end]]] if (getPlayerUID player == Epoch_my_GroupUID) then { _group = (findDisplay -1300) displayCtrl 40; _selected = lbCurSel _group; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_Combo.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_Combo.sqf index 97000c4d..8625ee34 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_Combo.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_Combo.sqf @@ -13,7 +13,9 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_Group_Combo.sqf */ disableSerialization; -private ["_BtnInvite","_currentMember","_currentMaxMember","_ctrl","_selected","_playerUID"]; +//[[[cog import generate_private_arrays ]]] +private ["_BtnInvite","_ctrl","_currentMaxMember","_currentMember","_playerUID","_selected"]; +//[[[end]]] _ctrl = _this select 0; _selected = _this select 1; _playerUID = getPlayerUID player; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_List.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_List.sqf index 67ffe56b..1a16685a 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_List.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_List.sqf @@ -13,7 +13,9 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_Group_List.sqf */ disableSerialization; -private ["_img","_BtnSetMod","_BtnKick"]; +//[[[cog import generate_private_arrays ]]] +private ["_BtnKick","_BtnSetMod","_img"]; +//[[[end]]] params ["_ctrl","_selected"]; if (getPlayerUID player == Epoch_my_GroupUID) then { diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_onLoad.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_onLoad.sqf index 5dfe8111..90144fde 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_Group_onLoad.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_Group_onLoad.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_Group_onLoad.sqf */ -private ["_index","_players","_found","_playerUID","_picture","_display","_BtnInvite","_GroupMemberList","_InvitePlayerCombo","_currentMaxMember","_currentMember","_myPlayerUID","_playerIsLeader","_playerIsMod","_onlinePUID"]; +//[[[cog import generate_private_arrays ]]] +private ["_BtnInvite","_GroupMemberList","_InvitePlayerCombo","_currentMaxMember","_currentMember","_display","_found","_index","_myPlayerUID","_onlinePUID","_picture","_playerIsLeader","_playerIsMod","_playerUID","_players"]; +//[[[end]]] disableSerialization; _display = findDisplay -1300; _BtnInvite = _display displayCtrl 30; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_BtnCreate.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_BtnCreate.sqf index 72d3738a..b16405ac 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_BtnCreate.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_BtnCreate.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_cGroup_BtnCreate.sqf */ -private ["_groupName","_upgradePrice","_txtCtrl","_array"]; +//[[[cog import generate_private_arrays ]]] +private ["_array","_groupName","_ret","_timeout","_txt","_txtCtrl","_upgradePrice"]; +//[[[end]]] disableSerialization; _txtCtrl = (findDisplay -1200) displayCtrl 21; _array = toArray(ctrlText _txtCtrl); diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_groupText.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_groupText.sqf index bb12ced3..9c251b61 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_groupText.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_groupText.sqf @@ -13,7 +13,9 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_cGroup_groupText.sqf */ disableSerialization; +//[[[cog import generate_private_arrays ]]] private ["_array","_ctrl"]; +//[[[end]]] _ctrl = (findDisplay -1200) displayCtrl 21; _array = toArray(ctrlText _ctrl); diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_onLoad.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_onLoad.sqf index 6df9bcff..5fdc3d8d 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_onLoad.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_cGroup_onLoad.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_cGroup_onLoad.sqf */ +//[[[cog import generate_private_arrays ]]] private ["_textCtrl"]; +//[[[end]]] if (Epoch_my_GroupUID != "") exitWith {(findDisplay -1200) closeDisplay 0}; disableSerialization; _textCtrl = (findDisplay -1200) displayCtrl 22; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_onLoad.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_onLoad.sqf index 78731733..08c45a4d 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_onLoad.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_onLoad.sqf @@ -13,7 +13,9 @@ https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_iGroup_onLoad.sqf */ disableSerialization; +//[[[cog import generate_private_arrays ]]] private ["_display","_text"]; +//[[[end]]] _display = findDisplay -1400; if (Epoch_invited_GroupUID == "" || Epoch_invited_GroupName == "") exitWith { _display closeDisplay 0}; _text = _display displayCtrl 21; diff --git a/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_refresh.sqf b/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_refresh.sqf index ab6c9e3a..23860e32 100644 --- a/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_refresh.sqf +++ b/Sources/epoch_code/gui/scripts/group/EPOCH_iGroup_refresh.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/group/EPOCH_iGroup_refresh.sqf */ +//[[[cog import generate_private_arrays ]]] private ["_index"]; +//[[[end]]] if !(Epoch_invited_GroupUIDs isEqualTo Epoch_invited_GroupUIDsPrev) then { Epoch_invited_GroupUIDsPrev = Epoch_invited_GroupUIDs; lbClear 1500; diff --git a/Sources/epoch_code/init/both_init.sqf b/Sources/epoch_code/init/both_init.sqf index 4206a406..a6208b2a 100644 --- a/Sources/epoch_code/init/both_init.sqf +++ b/Sources/epoch_code/init/both_init.sqf @@ -12,7 +12,9 @@ Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/init/both_init.sqf */ -private ["_customVarsInit","_antagonistSpawnDefaults","_spawnLimits","_say3dsounds"]; +//[[[cog import generate_private_arrays ]]] +private ["_antagonistSpawnDefaults","_customVarsInit","_say3dsounds","_say3dsoundsConfig","_spawnLimits"]; +//[[[end]]] // detect if Ryan's Zombies and Deamons mod is present if (["CfgEpochClient", "ryanZombiesEnabled", false] call EPOCH_fnc_returnConfigEntryV2) then {