Jump to content

ampersand38

Member
  • Content count

    84
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

113 Excellent

About ampersand38

  • Rank
    Corporal

Profile Information

  • Gender
    Not Telling
  1. Breaching Charge

    Have not tested, but highly suspect AI will phase through.
  2. Breaching Charge

    All building doors should be compatible.
  3. Breaching Charge

    Added Door Wedge!
  4. Server Spotlight

    Small edit to allow connecting to domain names instead of ip.
  5. Mod the Arma 3 main menu center spotlight button to join a specific server with 1 click. Based on KK's work. See it in action. GitHub Main components: config.cpp class CfgPatches { class amp_spotlight { units[] = {}; weapons[] = {}; requiredVersion = 0.6; requiredAddons[] = {}; version = 2.0; versionStr = 2.0; versionAr[] = {2, 0}; author = "Ampersand"; }; }; class RscStandardDisplay; class RscDisplayMain: RscStandardDisplay { class Spotlight { class AwesomeServer { text = "[ OFFICIAL ] Arma 3 Zeus by Bohemia Interactive (EU) #15"; // Text displayed on the square button, converted to upper-case textIsQuote = 0; // 1 to add quotation marks around the text picture = "\amp_spotlight\button.paa"; // Square picture, ideally 512x512 //video = "\a3\Ui_f\Video\spotlight_1_Apex.ogv"; // Video played on mouse hover //action = "0 = [_this, 'your.domain.here', '2302', 'yourpasshere'] execVM '\amp_spotlight\joinServer.sqf';"; action = "0 = [_this, '85.190.155.165', '2302', ''] execVM '\amp_spotlight\joinServer.sqf';"; actionText = "Join server: [ OFFICIAL ] Arma 3 Zeus by Bohemia Interactive (EU) #15"; // Text displayed in top left corner of on-hover white frame condition = "true"; // Condition for showing the spotlight }; }; }; joinServer.sqf #include "\A3\Ui_f\hpp\defineResincl.inc" params [ ["_buttons", []], ["_IP", "127.0.0.1"], ["_PORT", "2302"], ["_PASS", ""], ["_TIMEOUT", 30] ]; ctrlactivate ((ctrlparent (_buttons # 0)) displayctrl 105); /* 1 _IP 2 _PORT 3 _PASS 4 IDC_CANCEL 5 IDD_MISSION 6 IDD_DEBRIEFING 7 IDD_MP_SETUP 8 IDD_MULTIPLAYER 9 IDC_MULTI_TAB_DIRECT_CONNECT 10 IDD_IP_ADDRESS 11 IDC_IP_ADDRESS 12 IDC_IP_PORT 13 IDC_MULTI_SESSIONS 14 IDC_OK 15 IDC_MULTI_JOIN 16 IDD_PASSWORD 17 IDC_PASSWORD 18 diag_tickTime + _TIMEOUT */ onEachFrame format [ " onEachFrame { ctrlActivate (findDisplay %8 displayCtrl %9); onEachFrame { private _ctrlServerAddress = findDisplay %10 displayCtrl 2300; _ctrlServerAddress controlsGroupCtrl %11 ctrlSetText ""%1""; _ctrlServerAddress controlsGroupCtrl %12 ctrlSetText ""%2""; ctrlActivate (_ctrlServerAddress controlsGroupCtrl %14); onEachFrame { ((findDisplay %8 displayCtrl %13) lbData 0) call { if (diag_tickTime > %18) then { diag_log ""RCTS Timeout (no server)""; onEachFrame {}; }; if !(_this isEqualTo '') then { findDisplay %8 displayCtrl %13 lbSetCurSel 0; onEachFrame { ctrlActivate (findDisplay %8 displayCtrl %15); onEachFrame { if (diag_tickTime > %18) then { diag_log ""RCTS Timeout (cannot join)""; onEachFrame {}; }; if (!isNull findDisplay %16) then { private _ctrlPassword = findDisplay %16 displayCtrl %17; _ctrlPassword ctrlSetTextColor [0,0,0,0]; _ctrlPassword ctrlSetText ""%3""; ctrlActivate (findDisplay %16 displayCtrl %14); }; if (getClientStateNumber >= 3) then { diag_log ""RCTS Success""; onEachFrame {}; }; }; }; }; }; }; }; }; ", _IP, _PORT, _PASS, IDC_CANCEL, IDD_MISSION, IDD_DEBRIEFING, IDD_MP_SETUP, IDD_MULTIPLAYER, IDC_MULTI_TAB_DIRECT_CONNECT, IDD_IP_ADDRESS, IDC_IP_ADDRESS, IDC_IP_PORT, IDC_MULTI_SESSIONS, IDC_OK, IDC_MULTI_JOIN, IDD_PASSWORD, IDC_PASSWORD, diag_tickTime + _TIMEOUT];
  6. Breaching Charge

    The charges can be found in the arsenal under Explosives. You can use the magazine class name AMP_Breaching_Charge_Mag to add them to a character or container inventory.
  7. Breaching Charge

    Added compatibility for doors on JBAD houses which are used on maps like Lythium.
  8. Force Vehicle lights on?

    Just have an identical empty vehicle with
  9. Breaching Charge

    Updated to work with walls from JBAD Buildings, which are used on maps such as Kunduz.
  10. Breaching Charge

    I'd need a randomized stick object to "hold it up" =p
  11. I wanted to ask, but you already answered =)
  12. Breaching Charge

    FIxed the charge rotating after setting trigger, and added bikey.
  13. Breaching Charge

    Great! I'm already using the first 2 to open the door. I'll have a look at hiding it. Maybe I'll have the current SLAM modeled one destroy walls and fences and hide doors, and a smaller one only destroys fences and open doors. Edit It seems like it only works for very select things, doors not being one of those.
  14. Breaching Charge

    I didn't investigate this. Do you know of a mod or script that does it? I'll look into it.
  15. Breaching Charge that sticks to surfaces, demolishes walls, and opens doors, with minimal collateral damage. Door Wedge that takes a few seconds to deploy and blocks a door from moving and takes longer to remove. Requires ACE Explosives Downloads: Steam Workshop Github Class names: AMP_Breaching_Charge_Mag AMP_Door_Wedge Minimum safe area reference To lock a door: _house setVariable ["bis_disabled_Door_1", 1, true];
×