Kochleffel 10 Posted July 21, 2011 Hey There, i have a Problem with the mod UnlockDifficultyOptions_Configuration_C_OA_PROPER.pbo it should be a serverside mod to set the default difficulty to that what i want to have, for example veteran. but i dont get this workin. its related to this: http://dev-heaven.net/issues/21614 if someone knows a solution, without using a fixed rotation to set vetern by default let it me know. Share this post Link to post Share on other sites
terox 316 Posted July 26, 2011 (edited) Here is the unbinarised config of that addon //////////////////////////////////////////////////////////////////// //Produced from mikero's Dos Tools using dll 2.65 //http://dev-heaven.net/projects/list_files/mikero-pbodll //////////////////////////////////////////////////////////////////// #define _ARMA_ //Class config.bin{ class CfgPatches { class UnlockDifficultyOptions_Configuration_C_OA_PROPER { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"Arma2_Ka52","BI_SRRS","CA_AH64D","CA_AIR_E_MQ9PredatorB","CA_AIR_E_Su25","CA_AIR2_Su25","CA_Animals_E","CA_Animals2","CA_Animals2_Anim_Config","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_Char","CA_Anims_E","CA_Anims_E_Sdr","CA_Anims_E_Wmn","CA_Anims_Sdr","CA_Anims_Wmn","CA_Dubbing","CA_Dubbing_E","CA_DubbingRadio_E","CA_E","CA_E_ParticleEffects","CA_Editor","CA_Heads","CA_HighCommand","CA_L39","CA_Missions","CA_Missions_AlternativeInjurySimulation","CA_Missions_AmbientCombat","CA_Missions_Armory2","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_SecOps","CA_Modules","CA_Modules_Alice","CA_Modules_Alice2","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_Functions","CA_Modules_E_Gita","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_Silvie","CA_Modules_StratLayer","CA_Modules_UAV","CA_Modules_ZoRA","CA_SoundsMissions_E","CA_Support","CAA10","CAAir","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","CAAir2","CAAir2_C130J","CAAir2_ChukarTarget","CAAir2_F35B","CAAir2_MQ9PredatorB","CAAir2_UH1Y","CAAir3","CAAir3_Su34","CAAnimals","CABuildings","CABuildings2","CACharacters","CACharacters_E","CACharacters_E_Head","CACharacters2","CAData","CAData_ParticleEffects","CAFonts","CALanguage","CALanguage_e","CALanguage_missions","CALanguage_missions_e","CAMisc","CAMisc_E","CAMisc_E_WF","CAMisc2","CAMisc3","CAMusic_E","CARoads_E","CARoads2","CARoads2Bridge","CARoads2Dam","CARocks_E","CASigns_E","CASounds","CASounds_E","CAStructures","CAStructures_A_CraneCon","CAStructures_E","CAStructures_E_HouseA","CAStructures_E_HouseA_A_BuildingWIP","CAStructures_E_HouseA_A_CityGate1","CAStructures_E_HouseA_A_Minaret","CAStructures_E_HouseA_A_Minaret_Porto","CAStructures_E_HouseA_A_Mosque_big","CAStructures_E_HouseA_A_Mosque_small","CAStructures_E_HouseA_A_Office01","CAStructures_E_HouseA_a_stationhouse","CAStructures_E_HouseA_A_Villa","CAStructures_E_HouseC","CAStructures_E_HouseK","CAStructures_E_HouseL","CAStructures_E_Ind","CAStructures_E_Ind_Ind_Coltan_Mine","CAStructures_E_Ind_Ind_FuelStation","CAStructures_E_Ind_Ind_Garage01","CAStructures_E_Ind_Ind_Shed","CAStructures_E_Ind_IndPipes","CAStructures_E_Ind_Misc_PowerStation","CAStructures_E_Ind_Oil_Mine","CAStructures_E_Mil","CAStructures_E_Misc","CAStructures_E_Misc_Misc_cables","CAStructures_E_Misc_Misc_Construction","CAStructures_E_Misc_Misc_Garbage","CAStructures_E_Misc_Misc_Interier","CAStructures_E_Misc_Misc_Lamp","CAStructures_E_Misc_Misc_Market","CAStructures_E_Misc_Misc_powerline","CAStructures_E_Misc_Misc_Water","CAStructures_E_Misc_Misc_Well","CAStructures_E_Wall","CAStructures_E_Wall_Wall_L","CAStructures_IndPipe1_todo_delete","CAStructures_Nav_pier","CAStructures_Wall","CAStructuresHouse_Shed_Ind","CAStructuresLand_Nav_Boathouse","CATracked","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","CATracked2","CATracked2_2S6M_Tunguska","CATracked2_BMP3","CATracked2_T34","CATracked2_T90","CATracked2_us_m270mlrs","CAUI","CAWater2","CAWater2_seafox","CAWater2_seafox_EP1","CAWeapons","CAWeapons_AK","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_m107","CAWeapons_Warfare_weapons","CAWeapons2","CAWeapons2_RPG18","CAWheeled","CAWheeled_E","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","CAWheeled2","CAWheeled2_HMMWV_Ambulance","CAWheeled2_HMMWV_BASE","CAWheeled2_Ikarus","CAWheeled2_LADA","CAWheeled2_M1114_Armored","CAWheeled2_M998A2_Avenger","CAWheeled2_MMT","CAWheeled2_MTVR","CAWheeled2_V3S","CAWheeled3","CAWheeled3_M1030","CAWheeled3_TT650","Desert_E","HALO_Test","Ind_MalyKomin","Ind_Tank","IndPipe2","Shed_wooden","Takistan","Warfare2","Warfare2_E","WarfareBuildings","zargabad"}; version = "2010-07-30"; fileName = "UnlockDifficultyOptions_Configuration_C_OA_PROPER.pbo"; author = "PROPER Project - by kju"; mail = "kju@dev-heaven.net"; }; }; class CfgDifficulties { class Recruit { class Flags { 3rdPersonView[] = {1,1}; armor[] = {1,1}; autoAim[] = {0,1}; autoGuideAT[] = {1,1}; autoSpot[] = {1,1}; cameraShake[] = {0,1}; clockIndicator[] = {1,1}; deathMessages[] = {1,1}; enemyTag[] = {0,1}; friendlyTag[] = {1,1}; hud[] = {1,1}; hudGroupInfo[] = {1,1}; hudPerm[] = {1,1}; hudWp[] = {1,1}; hudWpPerm[] = {1,1}; map[] = {1,1}; netStats[] = {1,1}; tracers[] = {1,1}; ultraAI[] = {0,1}; unlimitedSaves[] = {1,1}; vonID[] = {1,1}; weaponCursor[] = {1,1}; }; }; class Regular { class Flags { 3rdPersonView[] = {1,1}; armor[] = {1,1}; autoAim[] = {0,1}; autoGuideAT[] = {1,1}; autoSpot[] = {1,1}; cameraShake[] = {1,1}; clockIndicator[] = {1,1}; deathMessages[] = {1,1}; enemyTag[] = {0,1}; friendlyTag[] = {1,1}; hud[] = {1,1}; hudGroupInfo[] = {1,1}; hudPerm[] = {1,1}; hudWp[] = {1,1}; hudWpPerm[] = {1,1}; map[] = {1,1}; netStats[] = {1,1}; tracers[] = {1,1}; ultraAI[] = {0,1}; unlimitedSaves[] = {1,1}; vonId[] = {1,1}; weaponCursor[] = {1,1}; }; }; class Veteran { class Flags { 3rdPersonView[] = {1,1}; armor[] = {0,1}; autoAim[] = {0,1}; autoGuideAT[] = {0,1}; autoSpot[] = {0,1}; cameraShake[] = {1,1}; clockIndicator[] = {0,1}; deathMessages[] = {1,1}; enemyTag[] = {0,1}; friendlyTag[] = {0,1}; hud[] = {1,1}; hudGroupInfo[] = {0,1}; hudPerm[] = {0,1}; hudWp[] = {1,1}; hudWpPerm[] = {0,1}; map[] = {0,1}; netStats[] = {1,1}; tracers[] = {0,1}; ultraAI[] = {0,1}; unlimitedSaves[] = {0,1}; vonId[] = {0,1}; weaponCursor[] = {1,1}; }; }; class Mercenary { class Flags { 3rdPersonView[] = {0,1}; armor[] = {0,1}; autoAim[] = {0,1}; autoGuideAT[] = {0,1}; autoSpot[] = {0,1}; cameraShake[] = {1,1}; clockIndicator[] = {0,1}; deathMessages[] = {0,1}; enemyTag[] = {0,1}; friendlyTag[] = {0,1}; hud[] = {0,1}; hudGroupInfo[] = {0,1}; hudPerm[] = {0,1}; hudWp[] = {0,1}; hudWpPerm[] = {0,1}; map[] = {0,1}; netStats[] = {0,1}; tracers[] = {0,1}; ultraAI[] = {0,1}; unlimitedSaves[] = {0,1}; vonID[] = {0,1}; weaponCursor[] = {0,1}; }; }; }; //}; Can somebody explain what the first and second element of the arrays define please Or more appropriately, why there are two elements required not just 1, or even a e boolean For example in the weaponCursor[] = {0,1}; array Edited July 26, 2011 by Terox Share this post Link to post Share on other sites
gossamersolid 155 Posted July 26, 2011 I think it's {disabled value, enabled value} ? I might be wrong, just taking a guess. Share this post Link to post Share on other sites
terox 316 Posted July 26, 2011 (edited) I think it's {disabled value, enabled value} ?I might be wrong, just taking a guess. Well I'd already assumed each element was a boolean. one of the elements is obviously the On Off state for the difficulty option , but I don't understand what the other element would switch On or Off. It's been suggested that it could define whether the option is rewriteable, maybe by the server config, but that doesn't make sense, as this is supposed to overide the server settings If you look at say the "enemy Flag" option, they have the same values for each difficulty setting, which also doesn't seem to me to make sense UPDATE From Q The first element is the default value The second element is whether it can be changed Edited July 26, 2011 by Terox Update from Q Share this post Link to post Share on other sites
Gunter Severloh 4067 Posted July 26, 2011 You rent or own the server? Why dont you just change the difficulty in the server profile http://community.bistudio.com/wiki/server.armaprofile Share this post Link to post Share on other sites
terox 316 Posted July 26, 2011 (edited) First element defines the default state Second element defines the "rewriteable" state. Which I assume can be done by the .ArmA2OAProfile @ Kochleffel From what you have told me you have set your difficulty settings in your .ArmA2OAProfile correctly, but they are not behaving as expected So for your issue, which I believe, is two fold 1) Cannot set a default difficulty to be anything other than "Regular" meaning your admins have to manually select "Veteran" for each game. 2) The ability for a player to scan for enemy units that are hidden from view by using the space bar Issue 1 as far as I know is a fault with the engine not with your server, as this is occurs on every server. So what can you try? In Theory you could rewrite the Regular values with the veteran values, however if memory servers me, we tried this and some values don't work as expected when you do this. (I also think you have tried this yourself) In the UnlockDifficultyOptions_Configuration_C_OA_PROPER.pbo, all the difficulty attributes are set to be rewriteable, so in theory your .ArmA2OAProfile should be able to overide these settings. If your server-side settings are correct, then there maybe a hardcoding issue that is preventing these settings from working as expected.so what you could do is a) Edit the addon so that all values are not rewriteable by defining the second element as a "0" and changing the first element to whatever default setting you want. b) If this fails then the only other solutions I can think of is a "required" clientside addon that changes the colour of the text and icons (or their size) that are displayed on screen when space-bar scanning to something that is not visible. I haven't got Arma installed at the moment (new rig) so I'm unable to help any further with this Edited July 26, 2011 by Terox Share this post Link to post Share on other sites
Kochleffel 10 Posted August 6, 2011 i tested a lot of arround with that addon but got no access so far... Share this post Link to post Share on other sites