Jump to content

dimon

Member
  • Content Count

    212
  • Joined

  • Last visited

  • Medals

Everything posted by dimon

  1. /* Description: Return base + children weapon Parameter(s): 0: STRING - basic weapon class Returns: ARRAY */ _array=[]; _cfgArray = "isclass _x && {getnumber (_x >> 'scope') == 2} && {((configname _x) call bis_fnc_baseWeapon)==(_this call bis_fnc_baseWeapon)}" configclasses (configfile >> "cfgweapons"); { _a pushback ( configName _x ); } forEach _cfgArray; _array
  2. dimon

    Tooltip multiple lines

    Thanks. _displayName = getText(configfile >> "CfgMagazines" >> ((primaryWeaponMagazine player) select 0) >> 'DisplayName'); _descriptionShort = getText(configfile >> "CfgMagazines" >> ((primaryWeaponMagazine player) select 0) >> 'descriptionShort'); _mut= [_descriptionShort, "<br />"] call CBA_fnc_split; _tooltip = str composeText [_displayName,toString [13, 10],_mut select 0,toString [13, 10],_mut select 1,toString [13, 10],_mut select 2]; _display displayctrl _idc_mainmag_slot ctrlSetTooltip _tooltip; _display displayctrl _idc_mainmag_slot ctrlSetTooltipColorShade [0,0,0,1];
  3. Workaround RPG7 RHS GitHub
  4. Construction of direct lines bresenham's algorithm. func_line_algorithm example arr = []; mark = [markerpos "m2",markerpos "m3",markerpos "m3_1",markerpos "m3_2",markerpos "m3_3",markerpos "m3_4" ,markerpos "m2"]; arr = [mark,10,0,nil ,nil,nil,nil,nil] call func_line_algorithm; arr = []; mark = [markerpos "m2",markerpos "m3",markerpos "m3_1",markerpos "m3_2",markerpos "m3_3",markerpos "m3_4" ]; arr = [mark,10,0,nil ,nil,nil,nil,nil] call func_line_algorithm;
  5. dimon

    Russia General

  6. fnc_A3inCrew_2 new version GitHub
  7. lock seats in the crew vehicles Parameters: 0. _this - default 1. - places that are blocked "driver" "gunner" "commander" - lock the commander is only allowed for var_restrictedVeh_commander "crew" - lock all equipment (incl. passengers allowed only for var_restrictedVeh_allcrew [0,1] - lock turrets ["cargo",2] - lock the passenger space with index 2 2. - "east"/"west"/"guer"/"civ"/"" - check the player on the side (optional) The examples run in the init vehicle: _=[this,"driver","gunner"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander",weST] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander","east"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander","east",[0,1],["cargo",3]] execvm "fnc_inCrew_a3.sqf"; GitHub
  8. words are nothing - important numbers the value of the goods separately - 13656 руб you pay - 19999 руб
  9. Bohemia Interactive Bundle :blink:
  10. Description: And so your attention to script the replacement of buildings on Chernarus. The purpose of this feeble effort to remove the maximum unplayable (negotibale) at home and replace them with wholesalee. That is, to expand the gaming aspect of the island. The script replaces approximately 2000 objects when you do this, you will not feel neither visually, almost no FPS loss. The script is based on the previous version with A2, which was successfully tested and is involved in the mission EVO FFA: RED ACE SGTU on the server-KPblM - HARD Sgtu ACE [sevStar.net] . There will be several options in different atmospheric tones + local to a certain area. The script is suitable for any of the island where there are houses of Chernarus. When scripting the house was originally selected by size and secondarily on visual aspect. Script placement is not perfect: there are some minor faults. Used random selection, keep in mind that twice the same picture will not be. Only due to the change of factory buildings in comparison with the A2 version will need in the future to adjust the position. Requirements: addon @allinarmaterrainpack Video: Scripts: 1.option for A3 in depressed tones fnc_chernarusedit 2.option mixed in more cheerful colours fnc_chernarusedit2 3. option home A3 the maximum possible fnc_chernarusedit3 Addon version download 499 Kb Thanks [OMCB]Kaban - Library units Tushino - Arma 3 Players server KPbIM for their patience and assistance in testing. Translit ================================================================================================================= Updated version for A3. fnc_chernarusedit_v2 1. Code optimization + use the new commands. 2. Cleaned client's part in connection with the new commands (not tested in MP). 3. Off/Off simulation for the created objects - I think this will reduce network traffic in MP. 4. Off/Off damage objects. 5. The ability to set desired distance. 6. The ability to specify the point-center for a script (marker, object or position). 7. The ability to run the script with default settings. 8. The opportunity to choose one of three submitted for the selection of replacement options. GitHub
  11. dimon

    ChernarusEdit

    fnc_chernarusedit_v3 1. Cleaned - Off/On simulation for the created objects. 2. For PvP missions to reduce network traffic added the ability to create objects local to the client. (in this case, preferably damage to objects off). GitHub
  12. dimon

    ChernarusEdit

    Updated version for A3. fnc_chernarusedit_v2 1. Code optimization + use the new commands. 2. Cleaned client's part in connection with the new commands (not tested in MP). 3. Off/On simulation for the created objects - I think this will reduce network traffic in MP. 4. Off/On damage objects. 5. The ability to set desired distance. 6. The ability to specify the point-center for a script (marker, object or position). 7. The ability to run the script with default settings. 8. The opportunity to choose one of three submitted for the selection of replacement options. GitHub
  13. ARENA-E - Active Protection System Specifications in real life: Package mass:1100 kg Reaction time:0.07 sec covers a sector of 220 – 290 degrees around the tank Engagement rate:0.2 .. 0.4 sec/threat Threat speed range:70 .. 700 m/sec Awareness range:50 m Protected angle:±110°H -6..15°V Energy consumption:1kW Operating power:27V Number of protective elements:22-26 implemented at this time: Awareness range:50 m Number of protective elements:30 //? covers a sector of 270 degrees around the tank Threat speed range:70 .. 700 m/sec
×