-
Content Count
60 -
Joined
-
Last visited
-
Medals
Everything posted by UpperM
-
I'm in dev branch (ladt version) , when i go to the Functions i don't see setPlateNumber & getPlateNumber it's normal ?
-
Or simply delete the old aircrafts and keep the news with the Dynamic Load Out with some presets like CAS, Air Superiority ect ... ---- Some peoples are interested by a menu with Dynamic Loadout in game ? If yes i think to start it for each planes / helo ?
-
Its possible to have a function like 'stopSound' ? Actually we don't a have a clean method to stop a sound ..
-
ACE3 - A collaborative merger between AGM, CSE, and ACE
UpperM replied to acemod's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Is that a variable exists for check if player is injured ? Like ACE_isInjured ? -
Hi, I have made a script where a player can rob gps from an another player. I want to place the GPS on the ground but the"createVehicle" dont work. I get an error "Cannot create non-ai vehicle itemGPS" _pos = player modelToWorld[0,0.4,0]; _pos = [(_pos select 0),(_pos select 1),0]; _obj = "itemGPS" createVehicle _pos; _obj setPos _pos; I tried with Chemlight an it's work.
-
cannot createVehicle ItemGPS
UpperM replied to UpperM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank guys it's work perfectly ! -
Hi ! I want to delete the gray border on the RscEdit box but after few searchs I didn't find how to .. Anyone know how to do it ? my common.hpp : class UpperM_RscEdit { access = 0; type = 2; x = 0; y = 0; h = 0.04; w = 0.2; colorBackground[] = TRANSPARENT; colorText[] ={0.95,0.95,0.95,1}; colorSelection[] ={ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",1}; autocomplete = ""; text = ""; size = 0.2; shadow = 2; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorDisabled[] = { 1, 1, 1, 0.25 }; canModify = 1; style = 16; lineSpacing = 1; }; Thank SOLUTION
-
[Dialog] Text in Structured with Scrollbox disappears [SOLVED]
UpperM replied to UpperM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Solved by changing the W=0.45 by 0.40 -
[Dialog] Text in Structured with Scrollbox disappears [SOLVED]
UpperM posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi ! After few search I found how to add a Scrollbar to my Structured Text. But I have a problem. I don't want an horizontal bar, just a vertical bar. When I have a text, the text is cut and the rest goes in a new line. As you can see : the text is : 123456789 TEST TEST 123456789 test testa bcdef 123456789. Text Show IG : 123456789 TEST TEST 123456789 test testa 123456789. My HPP class My_Dialog { idd = -1; movingEnable = true; enableSimulation = true; class controls { class SMS_GROUP : RscControlsGroup { x = 0.818657 * safezoneW + safezoneX; y = 0.5342 * safezoneH + safezoneY; w = 0.159844 * safezoneW; h = 0.165 * safezoneH; class controls { class LECTURE_SMS : STRUCTURED_TEXT { idc = LECTURE_SMS_IDC; text = "123456789 TEST TEST 123456789 test testa bcdef 123456789"; x = 0;//0.65; y = 0;//0.2; w = 0.45; h = 1; }; }; }; }; }; My Common.hpp class RscControlsgroup { type = CT_CONTROLS_GROUP; idc = -1; style = ST_MULTI; x = (safeZoneX + (SafezoneW * 0.0163)); // scalability code which resizes correctly no matter what gui size or screen dimensions is used y = (safeZoneY + (SafezoneH * 0.132)); w = (SafezoneW * 0.31); h = (SafezoneH * 0.752); class VScrollbar { color[] = {0.5, 0.5, 0.5, 1}; width = 0.015; autoScrollSpeed = -1; autoScrollDelay = 0; autoScrollRewind = 0; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; // Arrow arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; // Arrow when clicked on border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; // Slider background (stretched vertically) thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; // Dragging element (stretched vertically) }; class HScrollbar { color[] = {1, 1, 1, 1}; height = 0; }; /*class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; // Arrow arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; // Arrow when clicked on border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; // Slider background (stretched vertically) thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; // Dragging element (stretched vertically) };*/ class Controls {}; -
[Dialog] Delete border on RscEdit
UpperM replied to UpperM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank man it's work ! Thank you two for your help It's very appreciated ! Have nice day -
[Dialog] Delete border on RscEdit
UpperM replied to UpperM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes i load my mission on each update. I try colorBorder and BorderSize in my common.hpp and still dosent work -
[Dialog] Delete border on RscEdit
UpperM replied to UpperM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes it's doesnt work. I tried in Common.hpp and in my dialog.hpp -
HI ! I try to make some Dialogs with the GuiEditor. All are ok with the GUI but when I try to spawn the dialog (like createDialog "Tel_Banque_Connecte_Dialog" ) nothing not appear but the mouse look like the dialog is here <_< https://www.youtube.com/watch?v=2kQka9DSu8U&feature=youtu.be I have a MasterHandler with : #include "Banque_Connecte.hpp" And my Description Ext : #include "dialog\MasterHandler.h" My .Hpp : /* Fichier : Banque_Connecte.hpp Auteur : UppperM https://www.bistudio.com/community/game-content-usage-rules */ class Tel_Banque_Connecte_Dialog { idd = Banque_Connecte_Dialog; movingEnable = true; enableSimulation = true; class controlsBackground { class Tel_BanqueConnexion: RscPicture { idc = 1200; text = "Tel\Tel_BanqueCheck.paa"; x = 0.778437 * safezoneW + safezoneX; y = 0.445 * safezoneH + safezoneY; w = 0.299062 * safezoneW; h = 0.55 * safezoneH; }; class Tel_PlayerName: RscButton { idc = 1610; text = "$STR_UpperM_Phone_PlayerName"; x = 0.86403 * safezoneW + safezoneX; y = 0.7156 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.011 * safezoneH; colorText[] = {0.694,0.698,0.698,1}; }; }; class controls { class Tel_Info_MoneyGlobal: RscButton { idc = 1603; text = "700 $"; x = 0.891875 * safezoneW + safezoneX; y = 0.5594 * safezoneH + safezoneY; w = 0.061875 * safezoneW; h = 0.044 * safezoneH; colorText[] = {1,1,1,1}; sizeEx = 1.8 * GUI_GRID_H; }; class Tel_MoneyDepot: RscButton { idc = 1601; text = "700 $"; x = 0.927969 * safezoneW + safezoneX; y = 0.698 * safezoneH + safezoneY; w = 0.0515625 * safezoneW; h = 0.033 * safezoneH; colorText[] = {0.071,0.329,0.678,1}; sizeEx = 1.3 * GUI_GRID_H; }; class Tel_Bouton_Home: RscButton { idc = 1605; x = 0.950657 * safezoneW + safezoneX; y = 0.9224 * safezoneH + safezoneY; w = 0.020625 * safezoneW; h = 0.022 * safezoneH; onButtonClick = "createDialog ""Tel_Accueil_Dialog"";"; }; class Tel_Bouton_Retour: RscButton { idc = 1602; x = 0.87125 * safezoneW + safezoneX; y = 0.9224 * safezoneH + safezoneY; w = 0.020625 * safezoneW; h = 0.022 * safezoneH; onButtonClick = "createDialog ""Tel_Banque_Dialog"";"; }; }; }; /* #Mykyge $[ 1.063, ["Tel_BanqueConnecte",[[0,0,1,1],0.025,0.04,"GUI_GRID"],0,0,0], [1200,"Tel_BanqueCheck",[1,"Tel\Tel_BanqueCheck.paa",["0.778437 * safezoneW + safezoneX","0.445 * safezoneH + safezoneY","0.299062 * safezoneW","0.55 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]], [1600,"Tel_NamePlayer",[1,"",["0.86403 * safezoneW + safezoneX","0.7156 * safezoneH + safezoneY","0.0670312 * safezoneW","0.011 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]], [1602,"Tel_Bouton_Retour",[1,"",["0.87125 * safezoneW + safezoneX","0.9224 * safezoneH + safezoneY","0.020625 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]], [1603,"Tel_Info_MoneyGlobal",[1,"700 $",["0.891875 * safezoneW + safezoneX","0.5594 * safezoneH + safezoneY","0.061875 * safezoneW","0.044 * safezoneH"],[1,1,1,1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","1.8"],[]], [1605,"Tel_Bouton_Home",[1,"",["0.950657 * safezoneW + safezoneX","0.9224 * safezoneH + safezoneY","0.020625 * safezoneW","0.022 * safezoneH"],[-1,-1,-1,-1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","-1"],[]], [1601,"Tel_MoneyDepot",[1,"700 $",["0.927969 * safezoneW + safezoneX","0.698 * safezoneH + safezoneY","0.0515625 * safezoneW","0.033 * safezoneH"],[0.071,0.329,0.678,1],[-1,-1,-1,-1],[-1,-1,-1,-1],"","1.3"],[]] ] */ In my .RPT i have this when I try to open the Dialog : 1:52:39 Warning: no type entry inside class Tel_Banque_Connecte_Dialog/controls/Tel_Info_MoneyGlobal 1:52:39 Warning: no type entry inside class Tel_Banque_Connecte_Dialog/controls/Tel_MoneyDepot 1:52:39 Warning: no type entry inside class Tel_Banque_Connecte_Dialog/controls/Tel_Bouton_Home 1:52:39 Warning: no type entry inside class Tel_Banque_Connecte_Dialog/controls/Tel_Bouton_Retour 1:52:39 Warning: no type entry inside class Tel_Banque_Connecte_Dialog/controlsBackground/Tel_BanqueConnexion 1:52:39 Warning: no type entry inside class Tel_Banque_Connecte_Dialog/controlsBackground/Tel_PlayerName I spent all night to try but nothing work :/ If anyone have an idea about that it would be welcome, Thank !
-
Ok thank man !
-
@soolie : Thank man it's work ! :D But I had another question. When i try to place a RscStructuredText, he go under the RscPicture :/ But when i place a RScButon he goes on the picture. How to place the RscStructuredText on the RscPicture ? https://www.youtube.com/watch?v=d8RcmuiLyn4&feature=youtu.be
-
@dreadedentity Yes i Have a Common.hpp with #include common.hpp in my MasterHandler.h
-
ACE3 - A collaborative merger between AGM, CSE, and ACE
UpperM replied to acemod's topic in ARMA 3 - ADDONS & MODS: COMPLETE
HI, anyone know how to disable the action for taking chair ? Thank -
ACE3 - A collaborative merger between AGM, CSE, and ACE
UpperM replied to acemod's topic in ARMA 3 - ADDONS & MODS: COMPLETE
@irving_mainway : Thank You fr the medic ! Other question, I want to block ACE INterection Self key and Ace Interaction Key. Do you know what is the name of the keys ? Like this : _mapKey = SEL(actionKeys "ShowMap",0); i Want this _ACESelfInteraction = SEL(actionKeys "SelfInteractKey",0); case _ACESelfInteraction : {if (xxxx]) exitWith {hint "Nop you cant"};}; Thank -
Hi ! I have update task force on my server and i want to have a larger zone to communicate with the personnal radio. I made alot test with your API but nothing work ! My test in the Init.sqf player setVariable ["tf_sendingDistanceMultiplicator", 20, true]; player setVariable ["tf_receivingDistanceMultiplicator", 20, true]; ---------- player setVariable ["tf_sendingDistanceMultiplicator", 20.0]; player setVariable ["tf_receivingDistanceMultiplicator", 20.0]; --------- player setVariable ["tf_sendingDistanceMultiplicator", 30]; player setVariable ["tf_receivingDistanceMultiplicator", 30]; player setVariable ["tf_terrain_interception_coefficient", 30]; Do you have an idea why it's doesnt work ?
-
ACE3 - A collaborative merger between AGM, CSE, and ACE
UpperM replied to acemod's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi ! I have a problem on my server. When we check the pulse or tension we don't have number but we have "Low - Normal - High". It is possible to enable the numbers ? Second question, it's possible to assign custom characters as medic without to be on a medic slot ? Because i use custom characters and they can't use some medical stuff. Last question, in the module when i set the medical vehicles, should I set the classename like (( "Car1", "Car2" )) or (( Car1, Car2 ))? And i can i set some buildings to be medical buildings ? Thank you ! -
Hi ! I want to change the cutscene in the main menu by my own but it's dosent work. I have madepbo with the mission and my config cpp like this : class CfgPatches { class Aiekillu_Core { requiredVersion = 0.1; requiredAddons[] = {"a3_characters_f","a3_characters_f_beta","a3_characters_f_epa","a3_characters_f_epb","a3_characters_f_epc","a3_characters_f_gamma","a3_data_f","a3_weapons_f","a3_weapons_f_beta","a3_weapons_f_bootcamp","a3_weapons_f_epa","a3_weapons_f_epb","a3_weapons_f_epc","a3_weapons_f_gamma","a3_rocks_f","a3_map_altis_scenes","a3_map_vr_scenes","a3_map_stratis_scenes"}; units[] = {}; weapons[] = {}; magazines[] = {}; ammo[] = {}; }; }; class CfgWorlds { class CAWorld; class Altis: CAWorld { cutscenes[] = {"AiekilluIntro"}; }; class Stratis: CAWorld { cutscenes[] = {"AiekilluIntro"}; }; class VR: CAWorld { cutscenes[] = {"AiekilluIntro"}; }; initWorld = "VR"; demoWorld = "VR"; }; class CfgMissions { class Cutscenes { class AiekilluIntro { directory = "Aiekillu_Core\missions\AiekilluIntro.VR"; }; }; }; My mission juste have InitIntro.sqf enableEnvironment false; showCinemaBorder false; cutText ["", "BLACK FADED", 99]; while {true} do { _video = ["Intro.ogv"] spawn BIS_fnc_playVideo; waitUntil {scriptDone _video}; }; But when i launch my game i have nothing like -wolrd=empty parameter. I have no error. My mission work perfectly in the editor. Anyone have idea ? Thank !
-
Chnage the cutscene in main menu ?
UpperM replied to UpperM's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Any Idea ? -
Hi, I search how to execute script before Reboot. I have some idea with "Sleep" function but i'm not sure. I want to announce to players to disconnect from the server 5 minutes before restart. My script is ok I just need how to execute the script 5 minutes before the restart. Thank
-
Execute script before reboot ?
UpperM replied to UpperM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank but i dont think it's what i need :/ I have script ready to execute, i just need to execute my script 5 minutes before the restart -
Execute script before reboot ?
UpperM replied to UpperM's topic in ARMA 3 - MISSION EDITING & SCRIPTING
NO idea ? ^_^