Search the Community
Showing results for tags 'spotlight'.
Found 3 results
-
OBSOLETE: use https://community.bistudio.com/wiki/Arma_3:_Main_Menu#Spotlight 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];
-
global mobilization How do the GM Search lights work?
ARMTRULES posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have been searching high and low for any information about the searchlights given to the East German border units and I cannot figure out how to apply them to my scenario. How in the world do they work? Is there a special script that attaches the searchlights to the BT-11 towers? I'm so confused.- 3 replies
-
- searchlight
- spotlight
- (and 9 more)
-
Good day Arma 3 Fans and mod players! Myself and many members of my community have recently started playing a mod called Overthrow, Overthrow is a fantastic mod in which players work together to destabilise towns and take them over in order to takeover the map. With every Cop or Civilian killed influence is gained or lost, during the game NATO forces will attempt to retake and battle for positions which makes for dynamic and interesting game play. It's a thoroughly enjoyable mod and can be downloaded through this page below which also provides more information as the Mod has many features. If you would like to see some comedic game play then please do checkout the video linked below : If you have any further questions or queries regarding the mod then feel free to message me. Miscellany Community Manager, Luke.