Jump to content

Search the Community

Showing results for tags 'display'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 35 results

  1. Server Transfer System v1.0.3 The Server Transfer System (STS for short) is an addon that allows for the transferring of players from one server to another. STS is based off the code KillZone_Kid shared with his final post here. Expanding on KillZone_Kid's work, STS hides the transfer behind an overlay, making a nearly-flawless transition from one server to another. The transfer overlay will eventually allow customization, but currently is simply a black screen with "Please Wait" up top. This addon does not handle the saving, storing, nor transferring of character data. That will need to be handled by the end user. To transfer a client, the server must remoteExec STS_fnc_Transfer. Here is an example: //TIMEOUT = Transfer timeout (time till it gives up on joining the server in seconds) //AUTOJOIN = Automatically load into servers (mission must have joinUnassigned = false; in description.ext) ["IP","PORT",TIMEOUT,"PASSWORD",AUTOJOIN] remoteExec ["STS_fnc_Transfer",-2]; LICENSING + BI Monetization Rights DOWNLOAD AVAILABLE ON STEAM WORKSHOP CHANGE LOG v1.0.3 Now packed and signed with pboProject. Added: Overlay between transfers Bug: You can NOT transfer to the same server you are connected to. Bug: Transfering to a server without -autoinit will lock the game up. v1.0.2 Tweaked: Transfer script broken down into stages Added: Transfer completed script Added: Transfer failed script Fixed: Bug causing players to autoload into all future servers after Transfer is used. Bug: You can NOT transfer to the same server you are connected to. v1.0.1 Added: Autojoin Parameter ( Automatically loads the player into the server ) ( Server Must Have joinUnassigned = false; in description.ext ) Added: CfgSTS Config for managing code that needs to run on display startup ( This is safe to use with other mods ) v1.0.0 - Original Publish
  2. Hello everyone, as a non-trained programmer but a motivated mission builder, I am contacting you again today with a small problem in which I am sure I am just missing a small thing. Background: I have a trait switcher in the mission where players can select a role as Medic, Engineer or Explosive Specialist. These roles are limited. I would like to set up a billboard next to the role switcher that shows which player currently has which role or which roles are actual unused. My problem: When I test in Selfhost MP, after a selected role, it gives me the role description that is stored on the slot instead of my player / profile name. In another Testplayer sot, it brings me the correct player / profile name of me but still with the current group, which is not needed and does not look good in terms of space / layout. Since my native language is German, a short explanation: String "unbesetzt" means "actually unused". Any dedicated requirements have not yet been checked, first of all everything should work. I hope that I haven't made any major mistakes from the performance side, even if there is certainly a more elegant way, but I'm glad to have created a working basis for now. Following script is actually called in init.sqf by execVm: Thanks a lot for Feedback and ideas how I could handle the "nameproblem" best.
  3. Hey guys, I am currently working on a mission that would feature some kind of a "command center" (for the lack of better description...) which would have a few screens. Those screens have been set up to receive a texture captured from a camera attached to a uav (to be precise, the Pelter drone from the new Contact DLC). I have used a script kindly provided by @killzone_kid which I have only adjusted for the other drone type and basically looks like this - this is repeated for 12 screens in the init.sqf: laptop1 setObjectTexture [0, "#(argb,512,512,1)r2t(uavrtt1,1)"]; cam1 = "camera" camCreate [0,0,0]; cam1 cameraEffect ["Internal", "Back", "uavrtt1"]; cam1 attachTo [pelter1, [0,0,0], "PiP1_demining_pos"]; addMissionEventHandler ["Draw3D", { _dir = (pelter1 selectionPosition "PiP1_demining_pos") vectorFromTo (pelter1 selectionPosition "PiP1_demining_dir"); cam1 setVectorDirAndUp [ _dir, _dir vectorCrossProduct [-(_dir select 1), _dir select 0, 0] ]; }]; The UAV feeds are being thrown on the screen in sequence one by one. This is how it looks in a test environment with 12 machines - you can see that the last four laptops turn black and show no feed. When I deleted the part of the script responsible for the first laptop, the 9th one worked fine so again - no more than 8 at once. I have two issues with it: - Obviously, I can display no more than 8 feeds at once - any more than that will appear as black screen - similarly, when opening the uav terminal, the turret control window will also appear black/blank. I do not mean to complain, but do you think this is an engine/performance limitation of some kind and there's no way around it? - Will this effect even be global to other players or only local (I fear the latter)? If local, is there a way to display this kind of effect globally to such a scale in a multiplayer environment? I appreciate all the feedback on this topic. Thanks a lot in advance! Adam
  4. Does anybody know the IDD to close the respawnmenu? Or the Dialog if it is one? (Its the "MenuPosition" Template for Base Respawn). So i can close it and open it later? https://1drv.ms/u/s!Al2S9lOz4k52hllbsOCzE8e_Q5hj
  5. Hello Arma Developers, Coders and Fans, I finished a script to test each arguments and expected result for functions and its diagnostic results in very easy way. e.g: // ---- PROCESS ---- [ [ "Test Datatypes", [ // ---- TEST NIL [ "MB_IS_NIL( VAR )", [ [ "should be nil", { true }, { nil } ], [ "should not be nil", { false }, { _typeBoolNull } ], [ "should not be nil", { false }, { _typeBoolContent } ] ], { MB_IS_NIL( _this ) } ], // ---- TEST BOOL [ "MB_IS_BOOL( VAR )", [ [ "should be boolean", { true }, { _typeBoolNull } ], [ "should not be boolean", { false }, { _typeSclNull } ], [ "should not be boolean", { false }, { _typeSclContent } ] ], { MB_IS_BOOL( _this ) } ] ] ], 10000 0 ] call MB_fnc_testFunctions; All worked fine. Now I need a simple way to display in RSC format the output array is like this [ _header, [ _desc, _args, _expect, _return, _result, _diag ] ] "Display3DENCopy" I like to use, but I realy do not know how to use the BIS defined RSC and could I use it anyway??? I look forward for asweres :
  6. Hello, What if you create some rscTitles classes , inherited from some rscText or rscPicture in an hpp file, and then you play with mods including also displays with their own references to rscText or rscPicture? In other words, I'd like to understand if it's possible to define some basic things like: #define CT_STATIC 0 #define CT_PROGRESS 8 #define ST_VERTICAL 1 #define ST_CENTER 2 #define ST_PICTURE 48 in an hpp file... #included in description.ext (or in a config.cpp form mod), and then, what if there is another hpp from a mod with these things already defined? And what occurs if there are two different rscText or rscPicture (basic class, not inherited) in two different hpp? Is there a "winner" or that doesn't really matter for the displays?
  7. Hi. Anyone know how to make these animated/clickable markers on the map..? Like in arma 2 warfare for example where you select respawn location. I don't know where to start with it Never dealt with it before
  8. Hi all ; I'll try to make it short. I have created a new weapon, with three fire modes which can be installed on all vanilla and community planes and helicopters, even those provided without weapons at the base (e.g. unarmed WY-55, etc.). Everything is working well, except that I cannot see the display of fire modes in the HUD at the top right, on any of the vehicles. I then understood slightly that the display seams to depends on the vehicle and its configuration (UnitInfoType: RscBlaBlaBla), and not on the weapon, because this one, moreover, is a weapon mountable on vehicle (so WeaponInfoType: RscBlaBlaBla is not used). Therefore ; to counter this, i created a control display and a script. The only current problem, when the player is in the pause menu, the display remains there, same for the splendid camera, same for the spectator mode, same for the GUI editor, etc. I managed to use a displayeventhandler to hide the control display in the pause menu, but not for the rest mentioned. If someone can do a lot much easier, I'm interested, just to understand a little better ! 😶 > Here is the script : _veh = _this select 0; waitUntil {(currentWeapon _veh == "MyNewWeapon") && (!isNull findDisplay 46)}; ("FireModes" call BIS_fnc_rscLayer) cutRsc ["RscTitleDisplayEmpty", "PLAIN", -1, false]; with uiNamespace do { _display = uiNamespace getVariable "RscTitleDisplayEmpty"; FireModes = _display ctrlCreate ["RscStructuredText", -1]; }; sleep 0.01; FireModes = [uiNamespace getVariable "FireModes"]; (FireModes select 0) ctrlSetPosition [32.5 * (((safezoneW / safezoneH) min 1.2) / 40), -1.60 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25), 0.095 * safezoneW, 0.085 * safezoneH]; sleep 0.01; (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == 0x01) then {(FireModes select 0) ctrlShow false;};"]; while {alive _veh} do { (FireModes select 0) ctrlCommit 0.0; if ((currentWeapon _veh == "MyNewWeapon") && (player in _veh) && (assignedDriver _veh == player) && !(visibleMap) && (isNull (uinamespace getvariable "RscDisplayInterrupt"))) then { (FireModes select 0) ctrlShow true; (FireModes select 0) ctrlSetStructuredText parseText format ["<t size='0.8' align='Left' font='RobotoCondensed' color='#D9FFFFFF'>%1</t>", gettext (configFile >> "CfgWeapons" >> "MyNewWeapon" >> (currentWeaponMode (driver _veh)) >> "displayName")]; } else { (FireModes select 0) ctrlShow false; }; }; sleep 0.01; ctrlDelete (FireModes select 0); sleep 0.01; terminate _thisScript; > Here is the configuration of the weapon (it is unusual / but do not focus on it, it works) : class CfgWeapons { class Laserdesignator; class MyNewWeapon : Laserdesignator { //_generalMacro = "Laserdesignator"; access = 3; aiDispersionCoefX = 1; aiDispersionCoefY = 1; aimTransitionSpeed = 1; aiRateOfFire = 5; aiRateOfFireDispersion = 0; aiRateOfFireDistance = 500; ammo = ""; artilleryCharge = 1; artilleryDispersion = 1; author = "Bohemia Interactive"; autoFire = 0; autoReload = 1; backgroundReload = 1; ballisticsComputer = 0; burst = 100; canMODE = 1; canLock = 0; canShootInWater = 0; cartridgePos = "nabojnicestart"; cartridgeVel = "nabojniceend"; changeFiremodeSound[] = {"",1,1}; cmImmunity = 1; count = 0; cursor = "laserDesignator"; cursorAim = "EmptyCursor"; cursorAimOn = "CursorAimOn"; cursorSize = 1; detectRange = 0; dispersion = 0.002; displayName = "MyNewWeapon"; distanceZoomMax = 2300; distanceZoomMin = 100; drySound[] = {"",1,1}; emptySound[] = {"",1,1}; enableAttack = 1; ffCount = 1; ffFrequency = 1; ffMagnitude = 0; fireAnims[] = {}; fireLightAmbient[] = {0,0,0}; fireLightDiffuse[] = {0.937,0.631,0.259}; fireLightDuration = 0.05; fireLightIntensity = 0.2; fireSpreadAngle = 3; forceOptics = 0; handAnim[] = {}; hiddenSelections[] = {}; hiddenSelectionsTextures[] = {}; hiddenUnderwaterSelections[] = {}; hiddenUnderwaterSelectionsTextures[] = {}; inertia = 0.1; initSpeed = 0; irDistance = 0; irDotIntensity = 0.001; irLaserEnd = "laser dir"; irLaserPos = "laser pos"; Laser = 1; lockAcquire = 1; lockedTargetSound[] = {"",0.000316228,6}; lockingTargetSound[] = {"",0.000316228,2}; magazineReloadSwitchPhase = 1; magazineReloadTime = 0; magazines[] = {"MyNewWeaponMag"}; maxLeadSpeed = 10000; maxRange = 850; maxRangeProbab = 0.1; maxRecoilSway = 0.008; memoryPointCamera = "eye"; midRange = 500; midRangeProbab = 0.75; minRange = 1; minRangeProbab = 0.95; //model = "\A3\Weapons_F\Binocular\laserdesignator_f.p3d"; modelMagazine = ""; //modelOptics = "\A3\Weapons_F_beta\Binocular\lasermarker_optics"; modelSpecial = ""; modes[] = {"MyNewWeapon_1","MyNewWeapon_2","MyNewWeapon_3"}; multiplier = 1; muzzleEnd = "konec hlavne"; muzzlePos = "usti hlavne"; muzzles[] = {"this"}; nameSound = "binoculars"; optics = 1; opticsDisablePeripherialVision = 1; opticsFlare = 1; opticsID = 0; opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"}; opticsZoomInit = 0.05; opticsZoomMax = 0.05; opticsZoomMin = 0.01; //picture = "\A3\Weapons_F_Mark\Data\UI\gear_laserdesignator_ca.paa"; primary = 0; recoil = "empty"; recoilProne = ""; reloadAction = ""; reloadMagazineSound[] = {"",1,1}; reloadSound[] = {"",1,1}; reloadTime = 0.05; scope = 2; selectionFireAnim = "zasleh"; showAimCursorInternal = 1; showEmpty = 1; shownUnderwaterSelections[] = {}; showSwitchAction = 1; showToPlayer = 1; simulation = "weapon"; sound[] = {"",0,1}; soundBegin[] = {"sound",1}; soundBeginWater[] = {"sound",1}; soundBullet[] = {"emptySound",1}; soundBurst = 1; soundClosure[] = {"sound",1}; soundContinuous = 0; soundEnd[] = {"sound",1}; soundLoop[] = {"sound",1}; sounds[] = {}; swayCoef = 0.34; swayDecaySpeed = 2; textureType = "default"; thermalMode[] = {2}; type = 4096; uiPicture = ""; useAction = 0; useActionTitle = ""; useAsBinocular = 1; useModelOptics = 1; value = 5; visionMode[] = {"Normal","NVG","TI"}; //weaponInfoType = "RscUnitInfoAir"; //"RscOptics_LaserDesignator_2"; Not used for vehicle mounted weapon weaponLockDelay = 0; weaponLockSystem = 0; weaponPoolAvailable = 1; weaponSoundEffect = ""; weight = 0; zeroingSound[] = {"",1,1}; class MyNewWeapon_1 : Laserdesignator { displayName = "FULL MODE"; autoFire = 0; autoReload = 1; backgroundReload = 1; reloadTime = 0.05; burst = 100; }; class MyNewWeapon_2 : Laserdesignator { displayName = "HALF MODE"; autoFire = 0; autoReload = 1; backgroundReload = 1; reloadTime = 0.05; burst = 50; }; class MyNewWeapon_3 : Laserdesignator { displayName = "LITE MODE"; autoFire = 0; autoReload = 1; backgroundReload = 1; reloadTime = 0.05; burst = 25; }; class Eventhandlers {}; }; };
  9. Latest V1.3: MOD THREAD MOD VERSION WORKSHOP ARMAHOLIC This script enables Curators to see the Frames-per-second of each individual client when playing in multiplayer, or yourself when in SP. Allowing the Zeus to identify if there is a widespread framerate problem, or if a few select users are experiencing issues. Comments in the code explain how to modify it if you want to change the 'Warning text' threshold which by default is 20fps. Pasting this code into the initPlayerLocal.sqf of any mission should work without a problem.Given Arma 3 is now in 64 bit it's the perfect opportunity for players to test their performance in multiplayer coop games with large scale combat. Find out who's computer is the beefiest when playing with your unit, or be able to identify which player's computers are having trouble keeping up with all the action on screen. A great tool for mission makers looking to maintain an optimized experience for their players when monitoring their progress in Zeus. DISCLAIMER: The script version is out of date and does not have all the features of the mod. The mod only needs to be downloaded client side and I recommend you use it instead. If you still wish to use the script, or simply see how it runs, it is here at your disposal. ///////////////////////////////////////////////////////// //Paste the following into the initPlayerLocal.sqf file// ///////////////////////////////////////////////////////// ////////////Script Written by DriftingNitro////////////// //////////Help from Commy2, Dedmen, and Dscha//////////// ///////////////////////////////////////////////////////// ///////////////////////////////////////////////////////// //Spawns a thread that will loop for each player and // //output their FPS to the server to be read by the zeus// ///////////////////////////////////////////////////////// [] spawn { while {true} do { player setVariable ["DNI_PlayerFPS", floor diag_fps, true]; sleep 0.1; }; }; ///////////////////////////////////////////////////////// //Waits until curators are initalized in order to check// //if player is zeus to run the fps scripts // ///////////////////////////////////////////////////////// waitUntil { private _hasCurators = (count allcurators) > 0; private _hasInitializedCurators = (count (call BIS_fnc_listCuratorPlayers)) > 0; private _curatorsInitialized = !_hasCurators || _hasInitializedCurators; ((time > 2) || _curatorsInitialized) }; ///////////////////////////////////////////////////////// //If player is a curator it will run the script and each/ //player will have their FPS appear beneath them // ///////////////////////////////////////////////////////// if (player in (call bis_fnc_listcuratorplayers)) then { addMissionEventHandler ["Draw3D", { { _distance = position curatorCamera distance _x; //if zeus camera is farther than 1200 meters away from the targets the text will not display if (_distance < 1200) then { _playerFPS = _x getVariable ["DNI_PlayerFPS",50]; //if the FPS is below 20 it turns red and becomes more visible for zeus to see so they are aware if (_playerFPS <20) then { drawIcon3D [ "",//Path to image displayed near text [1,0,0,0.7],//color of the text using RGBA position _x,//position of the text _x referring to the player in 'allPlayers' 1,//Width 2,//height from position, below 0,//angle format["%1 FPS: %2", name _x, str _playerFPS],//text to be displayed 0,//shadow on text, 0=none,1=shadow,2=outline 0.05,//text size "PuristaMedium",//text font "center"//align text left, right, or center ]; } //if the FPS is above 20 text is smaller and less visible as to not conern zeus as much else { drawIcon3D [ "",//Path to image displayed near text [1,1,1,0.3],//color of the text using RGBA position _x,//position of the text _x referring to the player in 'allPlayers' 1,//Width 2,//height from position, below 0,//angle format["%1 FPS: %2", name _x, str _playerFPS],//text to be displayed 0,//shadow on text, 0=none,1=shadow,2=outline 0.03,//text size "PuristaMedium",//text font "center"//align text left, right, or center ]; }; }; } forEach allPlayers; //Here is the array of units you wish to display the FPS text for, it can be //changed to be an array of specific units or players if you wish }]; }; ///////////////////////////////////////////////////////// /////////////////////End FPS Script////////////////////// /////////////////////////////////////////////////////////
  10. Hey everyone, Was wondering something for a while now and I am pretty stumped. Whenever I create my child displays with: finddisplay 46 createdisplay "displayMenuChild" I can still interact with the parent display (i.e. Can press buttons and interact with listboxes etc.) I also use the same controls as used in the 3DEN Editor displays. I create my parent display as a dialog with: createdialog "displayMenuParent"; Maybe I need to create it another way? Thanks in advance, Skirmish_
  11. Hey everyone, I've been wondering this for the longest time now and I've had no real answer to this question. How are the Displays - 313 (Display3DEN) and 46 even getting spawned? As you can obviously move while they are on screen. I am asking in regards to the displays being overlapped: finddisplay 313 createdisplay "Display3DENNew"; and the parent display still being visible on screen while the child display is open. I cannot get this to work by myself and I've copied basically everything bohemia have done when it comes to configs etc. I've tested pretty much everything and have came to the conclusion that it definetly has something to do with the parent display and how it is opened. Example - Overlapping displays Thanks in advance, need all the help I can get at this point. Skirmish_
  12. Hi Guys, Im currently stuck because of "knowledge.hpp" not found and i hope u can help me out 🙂 I wrote a little script to allow players to adjust the animationSpeedCoef while beeing in stand/crouch combat stance via mouse wheel to make movement in cqc bit more variable (inspired by Escape from Tarkov "incremential" movement) To give the player visual feedback about the current movement speed i wanted to add a GUI element/progressBar beneath the stance indicator. The idea was to add another ctrl to RscStanceInfo hoping that the ctrl will be initialized/loaded/unloaded/shown "automatically" along the stance indicator ui. This is what i wrote in my mods config.cpp (for testing just a textbox instead progressBar) : class RscText; class RscIngameUI { class RscStanceInfo { idd = 303; scriptName = "RscStanceInfo"; scriptPath = IGUI; onLoad = "[""onLoad"",_this,""RscStanceInfo"",'IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')"; onUnload = "[""onUnload"",_this,""RscStanceInfo"",'IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')"; controls[] = {"StanceIndicatorBackground", "StanceIndicator","StanceProgressbar"}; class StanceProgressbar : RscText { idc = 6128; access = 1; type = 0; style = 2; x = (profilenamespace getvariable ["IGUI_GRID_STANCE_X", ( (safezoneX + safezoneW) - (3.7 * ( ( (safezoneW / safezoneH) min 1.2) / 40)) - 0.5 * ( ( (safezoneW / safezoneH) min 1.2) / 40))]); y = (profilenamespace getvariable ["IGUI_GRID_STAMINA_Y", (safezoneY + 4.05 * ( ( ( (safezoneW / safezoneH) min 1.2) / 1.2) / 25))]); w = (3.7 * ( ( (safezoneW / safezoneH) min 1.2) / 40)); h = (0.27 * ( ( ( (safezoneW / safezoneH) min 1.2) / 1.2) / 25)); text = "-WORK IN PROGRESS-"; font = "PuristaBold"; colorBackground[] = {1,1,1,1}; colorText[] = {1,1,1,1}; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 3); }; }; }; When testing in editor i can see my added class "StanceProgressbar" as subclass of "RscStanceInfo" in config viewer, but when trying to find the ctrl ingame to adjust the progressBar via script with _ctrl = ((uiNamespace getVariable "RscStanceInfo") displayCtrl 6128); returns "no Control". The other subclasses of "RscStanceInfo" are accessible with idc 1201 & 188. I guess i have to initialize/load my custom ctrl "manually" somehow, but i have absolutely no idea how 😂😭 Any help appreciated 🤗
  13. Hi, I'm really confused on why when I use createDisplay, it doesnt go over the parent display like the 3den displays: https://gyazo.com/956ab95d3148cd87e4c9de5902d591ca Instead it just looks like I created another parent display/dialog: https://gyazo.com/be01e67e6a0a7a6ebfcd6d9e1562407b Thanks in advance, skirmish_
  14. Hello everyone. I had a question about the createDisplay command. If I create a display on top of another, does it mean the one in the background is still being processed? Of course if they were both stationary, I wouldn't mind but in this case both are dynamic (they each have a map control with markers, icons, etc). So both would have a performance impact if run together. I'm assuming they run separately because the background display doesn't show but I didn't want to take any chances!
  15. I am making a manual artillery computer with a dialog, the user enters the coordinates of the target using RscEdit fields, and then presses a "confirm" button. The math is then done and an output is displayed in an RscText box. I want to change the RscText to have the user be able to select the output inside the RscText and copy it (for later use if he wants), like what is done in the debug console's output box. The problem is that i can either use RscText, and the user is able to see the output, but can't select it Or using RscEdit where the user can see and copy it, but can accidentally delete/modify it and making the result completely off. Any help will be much appreciated!
  16. Hello everyone. Does anyone know what is the difference between createDisplay and createDialog commands? (minus the syntaxes, obviously!) Are there any cases where one is favored over the other?
  17. Hey guys. I'm making a mod which creates a display every time the user presses a key. I also add some keyDown event handlers to this display. I was wondering whether or not I should add the keyDown event handler every time it's created? In other words, when a display is closed, are its added event handlers removed or not?
  18. Hello everyone, My team and I did MP missions but some of us are " missions editors ". Since some days, we've got a big issue with the MP. We noticed that our slots are not display while connecting to the mission. I did a lot of searches about this and many players got this problem too. I also noticed there's a lot of equivalent issues : mods name, mods version, mods version on the server, server permissions, etc... But as you can see : Every mods got an underscore and not spaces, i know BIS got issues with " ", as you can see. So i think this way is clear. I've also seen guys said the problem came from the mission, IA's are not in playable or there's a player slot forgotten. Same here, all IA's have the purple circle. If a player slot was forgotten, the red circle will stay visible. Also, our technician checked the permissions twice and the mods version on the server is the SAME as clients.
  19. Hello. Anyone know if there is a "correct" way to execute pause menu? (Escape menu. When you press Esc button). You can open it with createdialog "RscDisplayInterrupt", but there are no scripts which set functions to it. So it's useless. Maybe there is some way to execute it correctly..?
  20. Hey I'm trying to add some additional damage simulation to tanks and was trying to figure out how to disrupt sensors and displays. DISPLAYS: I've found the render targets for the example vehicle; "commander_display" and "driver_display", but I can't quite figure out how to modify them. I don't know how to refer to that render target for that vehicle when using a command like setPipEffect. SENSORS: So some vehicles have incoming missile warnings and such. Is there a way to disable these? I'm thinking I might also be able to disable data link send/receive. Are there any other sensors or electronics I may be able to disrupt? Cheers
  21. Hi, I am looking for the download data display from End Game. See image below. I have looked in config viewer, function viewer, and even manually opened the PBO files. I have found: downloadObject.sqf downloadProgress.sqf Etc... Still can't find the display though.
  22. Hey guys, I've just registered so, many greets to you all:D Allright, here's the idea: Last night I was bored and played some Tropico, then I thought: How about implementing some small economy to the different locations like the lumberjack camps or banana plantations on Tanoa to hire some guys to work for your Team and earn some money with it. It could lead to a persistent rebell mission where you have to buy new weapons and stuff and defend your economy against the local government or something, don't know exactly, just been playing around, but here is my point: I have set up a first dialog that opens at a laptop at the plantation office like this: If you klick on the different inactive buttons (in fact these are pictures, but I will call them buttons from here on), the script will hire some workers, pay them as you want and you will need some trucks to move the stuff your guys harvestet. Example: If no budget button is active, they all have transparency 0.2. If you just hover over it, transparency is set to 1 to indicate to the player that he can click something. In the case of no active buttons, if player for example clicks on budget button #3, all buttons left from #3 including #3 will switch to active, color transparency changes from 0.2 to 1, colorActive transparency switches from 1 to 0.2. Now you are paying some money, right;D If player now clicks on maybe button #2, buttons #2 and #3 will "deactivate" and change transparency back again. Everything is working fine so far, you get the idea, right? So here are the problems, finally: I need a method that allows me to create just one class (inside controls in dialog.hpp) for the "budget buttons", one for the "worker buttons" and just one for "trucks buttons", wich I can access dynamically via some script to set their position and transparency. Right now, every single button has its own class, so just for this dialog i needed to write 17 classes RscActiveText. I did this because I needed to change the transparency of "color[] = ...." and "colorActive[]=..." every time you click on a button and for this I declared three unique variables for every button, makes 51 global variables in total just to change transparency. First one to let the script know if the button is already clicked, and the two other ones to change the transparency of color and colorActive back and forth, depending on the state of the button. Heres a little summary of a part of the dialog.hpp and the script activated by clicking the buttons. The 51 global variables (and more) ar predefined after init. dialog.hpp: class budg_bttn1: RscActiveText { idc = 1601; text = "pics\moneyPile.paa"; x = 0.840312 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.0154688 * safezoneW; h = 0.022 * safezoneH; color[] = {1, 1, 1, missionNamespace getVariable "bttn_col1"}; //global variable#1 for transparency colorActive[] = {1, 1, 1, missionNamespace getVariable "bttn_actCol1"}; //global variable#2 for transparency onMouseButtonClick = "[_this] execVM 'oumere_plantations\moneyBttns.sqf';"; }; class budg_bttn2: RscActiveText { idc = 1602; text = "pics\moneyPile.paa"; x = 0.87125 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.0154688 * safezoneW; h = 0.022 * safezoneH; color[] = {1, 1, 1, missionNamespace getVariable 'bttn_Col2'}; colorActive[] = {1, 1, 1, missionNamespace getVariable 'bttn_actCol2'}; onMouseButtonClick = "[_this] execVM 'oumere_plantations\moneyBttns.sqf';"; }; class budg_bttn3: RscActiveText { idc = 1603; text = "pics\moneyPile.paa"; x = 0.902187 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.0154688 * safezoneW; h = 0.022 * safezoneH; color[] = {1, 1, 1, missionNamespace getVariable 'bttn_Col3'}; colorActive[] = {1, 1, 1, missionNamespace getVariable 'bttn_actCol3'}; onMouseButtonClick = "[_this] execVM 'oumere_plantations\moneyBttns.sqf';"; //..........etc. etc. moneyBttns.sqf: disableSerialization; _display = findDisplay 5000; _control = (_this select 0) select 0; _controls = [_display displayCtrl 1601, _display displayCtrl 1602, _display displayCtrl 1603, _display displayCtrl 1604, _display displayCtrl 1605]; //_activeButtons = []; //_inacitveButtons = []; switch (ctrlIDC _control) do { case 1601: //checks wich button is clicked on { switch (bttn_active1) do //checks, if button is already active. bttn_active1 switches between 0 and 1 { case 0: { missionNamespace setVariable ["plantationIndex", 1, true]; //plantationIndex tells how many buttons are active in total missionNamespace setVariable [format ["bttn_active%1", 1], 1, true];//sets the buttons active state missionNamespace setVariable [format ["bttn_Col%1", 1], 1, true];//changing of transparency, in this case, button will.. missionNamespace setVariable [format ["bttn_actCol%1", 1], 0.2, true];//...appear with transp. if you hover over it (_controls select 0) ctrlSetTextColor [1,1,1, bttn_Col1];//sending transparency state to class (_controls select 0) ctrlSetActiveColor [1,1,1, bttn_actCol1]; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; case 1: { plantationIndex = 0; missionNamespace setVariable [format ["bttn_active%1", 1], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", 1], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", 1],1, true]; (_controls select 0) ctrlSetTextColor [1,1,1, bttn_Col1]; (_controls select 0) ctrlSetActiveColor [1,1,1, bttn_actCol1]; for "_i" from 1 to 5 do { missionNamespace setVariable [format ["bttn_active%1", _i], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 1, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; }; }; case 1602: { switch (bttn_active2) do { case 0: { plantationIndex = 2; for "_i" from 1 to 2 do { missionNamespace setVariable [format ["bttn_active%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 0.2, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; case 1: { plantationIndex = 1; for "_i" from 2 to 5 do { missionNamespace setVariable [format ["bttn_active%1", _i], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 1, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; }; }; case 1603: { switch (bttn_active3) do { case 0: { plantationIndex = 3; for "_i" from 1 to 3 do { missionNamespace setVariable [format ["bttn_active%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 0.2, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; case 1: { plantationIndex = 2; for "_i" from 3 to 5 do { missionNamespace setVariable [format ["bttn_active%1", _i], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 1, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; }; };//....etc.etc. So, can someone imagine a better practice to solve this idea? As you can imagine, if I want to create more businesses on the island, I need to write a huge amount of classes and variables for every location. The problem is, that If I just use one class using the same global vars for the budget buttons, all buttons change transparency even when I just click a single one. I don't really unserstand how to refer between classes and variables using uiNamespace, maybe there's a solution in there? I hope I explained this one well enough and any help is highly appreciatet. Greets from Germany;D
  23. What I'm trying to do is show current load out/gear information like guns/equipment ect though dialogs on respawn, so people can make a informed choice. I already have a system in place but I feel there is a better way that's cleaner or more modular or a way to refine it? Would be cool if you could customise from a pool of items and each of those items has a value attached to them to balance them out. I think that's out of my reach, but if you have something I could look at to learn, that is very appreciated. Any ideas? I'm all ears. These are all listboxes and the items change based on the class selection, also when you click the uniform/vest/backpack the Capacity value ect will show. Thanks.
  24. Hi, I'm updating my custom SAM (NASAMS) Launcher to the new sensor update from Jet DLC. I've a working SAM Launcher, sensors are doing its job except for a litlle issue. Which is the Right Display Manager Component isn't heading to the real direction of the turret azimut (but it's attached to, via "animDirection"), instead, it's heading to the opposite the turret is heading... Also, the poiting vector (the arrow inside the display) is pointing to the backward of the vehicle. Here is a short video: https://gyazo.com/dc8d800d44b355af29b7a0d85cd0211f All stuff is working right, like the spawn point, direction of the missile. I was wondering if it's something related to the config or the model itself. Here is the config: Any clue? Greetings.
  25. Script Version This mod enables Curators to see the Frames-per-second of each individual client when playing in multiplayer. Allowing the Zeus to identify if there is a widespread framerate problem, or if a few select users are experiencing issues. Comments in the code explain how to modify it if you want to change the 'Warning text' threshold which by default is 20fps.Given Arma 3 is now in 64 bit it's the perfect opportunity for players to test their performance in multiplayer coop games with large scale combat. Find out who's computer is the beefiest when playing with your unit, or be able to identify which player's computers are having trouble keeping up with all the action. A great tool for mission makers looking to maintain an optimized experience for their players when monitoring their progress in Zeus. Workshop Google Drive Armaholic
×