Neviothr

Member
  • Content count

    398
  • Joined

  • Last visited

  • Medals

Community Reputation

82 Excellent

About Neviothr

  • Rank
    Staff Sergeant

Profile Information

  • Gender
    Male
  • Location
    Israel

Recent Profile Visitors

404 profile views
  1. I used to request torrents before the mods were uploaded to the Steam workshop. Yet I own a legit copy of A3. :P
  2. Apparently, Steam downloads all 4 mods in one package instead of 1-by-1. Is that new?
  3. Those look really silly, in a good way.
  4. Config.cpp: class CfgPatches { class mid_addon { name = "Mid's addon"; author = "Mid"; units[] = {}; weapons[] = {}; requiredAddons[] = {"A3_Weapons_F"}; }; }; class CfgFunctions { class mid { class myTag { class myCategory { file = "myFile.sqf"; postInit = 1; }; }; }; }; myFile.sqf: myTag_fnc_myFunction = { // Your code here }; More info here: https://community.bistudio.com/wiki/Functions_Library_(Arma_3)#Adding_a_Function
  5. Could this help?
  6. When you right click on the recycle bin only to discover a "create PBO" option.
  7. Thank you for your help, but unfortunately, @bull_a I wasn't able to get your code to work properly for me. And having this been the 6th or 7th time I've tried creating weather sliders - I've decided to settle for a much dumber, and inefficient solution. debug_menu.hpp: class RscSlider; class RscButton; class nevDebugMenu { duration = 99999; idd = 80000; onLoad = "call NEV_fnc_onLoad"; class controls { // A slider to change the overcast value class overcastSlider: RscSlider { idc = 80003; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (285 / 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change overcast"; }; // A slider to change the lightning value class lightningSlider: RscSlider { idc = 80004; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (330 / 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change lightning"; }; // A slider to change the fog's value class fogValueSlider: RscSlider { idc = 80005; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (375 / 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change fog value"; }; // A slider to change the fog's decay value class fogDecaySlider: RscSlider { idc = 80006; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (420 / 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change fog decay"; }; // A slider to change the fog's base value class fogBaseSlider: RscSlider { idc = 80007; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (465 / 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change fog base"; }; // A slider to change the rain value class rainSlider: RscSlider { idc = 80008; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (510/ 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change rain"; }; // A slider to change the wave value class waveSlider: RscSlider { idc = 80009; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (555 / 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change waves"; }; // A button to commit weather changes class commitWeather: RscButton { text = "Change Weather"; x = "SafeZoneX + (810 / 1920) * SafeZoneW"; y = "SafeZoneY + (420 / 1080) * SafeZoneH"; w = "(100 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_BUTTON; style = ST_CENTER; action = "call NEV_fnc_commitWeather"; tooltip = "Commit weather changes"; }; }; }; NEV_fnc_onLoad: NEV_fnc_onLoad = { _dialog = _this select 0; // Overcast slider _overcastSlider = _dialog displayCtrl 80003; _overcastSlider sliderSetRange [0, 1]; _overcastSlider sliderSetPosition overcast; // Lightnings slider _lightningSlider = _dialog displayCtrl 80004; _lightningSlider sliderSetRange [0, 1]; _lightningSlider sliderSetPosition lightnings; // Fog value slider _fogValueSlider = _dialog displayCtrl 80005; _fogValueSlider sliderSetRange [0, 1]; _fogValueSlider sliderSetPosition (fogParams select 0); // Fog decay slider _fogDecaySlider = _dialog displayCtrl 80006; _fogDecaySlider sliderSetRange [0, 1]; _fogDecaySlider sliderSetPosition (fogParams select 1); // Fog base slider _fogBaseSlider = _dialog displayCtrl 80007; _fogBaseSlider sliderSetRange [0, 1]; _fogBaseSlider sliderSetPosition (fogParams select 2); // Rain slider _rainSlider = _dialog displayCtrl 80008; _rainSlider sliderSetRange [0, 1]; _rainSlider sliderSetPosition rain; // Waves slider _wavesSlider = _dialog displayCtrl 80009; _wavesSlider sliderSetRange [0, 1]; _wavesSlider sliderSetPosition waves; } NEV_fnc_commitWeather: NEV_fnc_commitWeather = { // Overcast _overcast = sliderPosition 80003; 86400 setOvercast _overcast; // Lightnings _lightning = sliderPosition 80004; 0 setLightnings _lightning; // Fog _fogValue = sliderPosition 80005; _fogDecay = sliderPosition 80006; _fogBase = sliderPosition 80007; 0 setFog [_fogValue, _fogDecay, _fogBase]; // Rain _rain = sliderPosition 80008; 0 setRain _rain; // Waves _waves = sliderPosition 80009; 0 setWaves _waves; forceWeatherChange; } If anyone knows how to make the above better, feel free to share.
  8. I have this slider: class RscSlider; class nevDebugMenu { duration = 99999; idd = 80000; onLoad = "call NEV_fnc_onLoad"; class controls { // A slider to change the overcast value class overcastSlider: RscSlider { idc = 80003; x = "SafeZoneX + (960 / 1920) * SafeZoneW"; y = "SafeZoneY + (285 / 1080) * SafeZoneH"; w = "(200 / 1920) * SafeZoneW"; h = "(30 / 1080) * SafeZoneH"; type = CT_SLIDER; style = SL_HORZ; tooltip = "Change overcast"; }; }; }; I want to set it to a certain position whenever the dialog is loaded. This is how NEV_fnc_onLoad looks: NEV_fnc_onLoad = { _dialog = findDisplay 80000; _slider = _dialog displayCtrl 80003; sliderSetRange [80003, 0, 10]; sliderSetPosition [80003, 5]; } Unfortunately, it doesn't seem to work. The slider appears fine, is moveable, but when the dialog is loaded, it's in the leftmost position (0), while in theory, it needs to be in the middle of the slider (position 5). Does anyone know how to fix/achieve this? Thanks.
  9. Same: http://dev.cup-arma3.org/T1878
  10. Those are some good looking textures.
  11. These are great! Thank you, and others for taking the time to port them.
  12. An incredible map, great work @bludski!
  13. Thanks for another great update, RHS team!