megaz Posted July 16, 2018 Report Share Posted July 16, 2018 On 6/10/2016 at 11:37 PM, Ghostrider-GRG said: class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; } So add this to HALV_RscMapControl: there seems to be two - one in Halv_defines.hpp and one in spawndialog.hpp Can someone plz post the file where this goes i have tried a few places and i either get the error as before or I join server and all slots in lobby show as AI (weird) i have tried this: Spoiler spawndialog.hpp class Halv_spawn_dialog { idd=7777; moveingenabled=false; class controls { class HALV_spawn_backtext: HALV_IGUIBack { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.840914 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.0219945 * safezoneH; }; class HALV_spawn_frametext: HALV_RscFrame { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.840914 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.0219945 * safezoneH; }; class HALV_spawn_back: HALV_IGUIBack { idc = -1; x = 0.180412 * safezoneW + safezoneX; y = 0.115097 * safezoneH + safezoneY; w = 0.628866 * safezoneW; h = 0.769807 * safezoneH; }; class HALV_spawn_frame: HALV_RscFrame { idc = -1; text = "Spawn Menu by Halv"; x = 0.180412 * safezoneW + safezoneX; y = 0.115097 * safezoneH + safezoneY; w = 0.628866 * safezoneW; h = 0.769807 * safezoneH; }; class HALV_spawn_mapframe: HALV_RscFrame { idc = -1; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; }; class HALV_spawn_map: HALV_RscMapControl { idc = 7775; text = ""; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; }; class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; }; class HALV_spawn_listboxframe: HALV_RscFrame { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.18108 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.659834 * safezoneH; }; class HALV_spawn_list: HALV_RscListBox { idc = 7776; x = 0.195876 * safezoneW + safezoneX; y = 0.18108 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.659834 * safezoneH; onLBSelChanged = "if(HALV_SELECTSPAWN)then{_this call Halv_moveMap}; false"; onLBDblClick = "if(HALV_SELECTSPAWN)then{_this call Halv_spawn_player}else{_this call HALV_player_removelisteditem;}; false"; }; class HALV_spawn_haloframe: HALV_RscFrame { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0773196 * safezoneW; h = 0.043989 * safezoneH; }; class HALV_spawn_butframe: HALV_RscFrame { idc = -1; x = 0.273196 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0824742 * safezoneW; h = 0.043989 * safezoneH; }; class HALV_spawn_butselectspawn: HALV_RscCheckbox { idc = 7781; x = 0.273196 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0824742 * safezoneW; h = 0.043989 * safezoneH; //\A3\Air_F_Beta\Parachute_01\Data\UI\Portrait_Parachute_01_CA.paa strings[] = {"$STR_HALV_HALO"}; //\a3\soft_f_beta\Truck_01\Data\UI\Truck_01_covered_CA.paa checked_strings[] = {"$STR_HALV_GROUND"}; onCheckBoxesSelChanged = "if(_this select 2 == 0)then{HALV_HALO = true;systemChat localize ""STR_HALV_HALO_SELECTED"";}else{HALV_HALO = false;systemChat localize ""STR_HALV_GROUND_SELECTED"";};false"; tooltip = "$STR_HALV_PRESSSELECT_HALO_OR_GROUND"; colorTextSelect[] = {0.6,0.298,0,1}; };//102,51,0 - 0.4,0.2,0 //153,76,0 - 0.6,0.298,0 class HALV_spawn_halocheck: HALV_RscCheckbox { idc = 7780; x = 0.195876 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0773196 * safezoneW; h = 0.043989 * safezoneH; strings[] = {"$STR_HALV_SELECT_GEAR"}; checked_strings[] = {"$STR_HALV_SELECT_SPAWN"}; onCheckBoxesSelChanged = "_this call HALV_switch_spawngear;false"; colorText[] = {0.8,0,0,0.8}; tooltip = "$STR_HALV_SELECT_GEAR_OR_SPAWN"; }; class HALV_spawn_text: HALV_RscStructuredText { idc = -1; text = "$STR_HALV_TS3"; x = 0.195876 * safezoneW + safezoneX; y = 0.840914 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.0219945 * safezoneH; }; class HALV_gear_list: HALV_CT_TREE { idc = 7779; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; onTreeDblClick = "_this call Halv_ontreedoubleclick; false"; onTreeSelChanged = "_this call Halv_ontreeselected; false"; colorPicture[] = {0.8,0,0,0.8}; colorPictureSelected[] = {0.8,0,0,0.8}; colorPictureDisabled[] = {0.8,0,0,0.8}; colorPictureRight[] = {0.8,0,0,0.8}; colorPictureRightSelected[] = {0.8,0,0,0.8}; colorPictureRightDisabled[] = {0.8,0,0,0.8}; }; }; }; Spoiler Halv_defines.hpp /* definitions for various dialogs by Halv Copyright (C) 2015 Halvhjearne This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Contact : [email protected] */ // Control types #define CT_MAP_MAIN 101 #define CT_TREE 12 #define CT_STRUCTURED_TEXT 13 #define CT_XSLIDER 43 #define CT_SLIDER 3 // Static styles #define ST_PICTURE 0x30 #define ST_MULTI 16 // Listbox styles #define ST_LEFT 0x00 #define LB_TEXTURES 0x10 // Slider styles #define SL_DIR 0x400 #define SL_VERT 0 #define SL_HORZ 1024 #define SL_TEXTURES 0x10 // Base Classes class HALV_IGUIBack { type = 0; idc = -1; style = 80; text = ""; colorText[] = {.1,.1,.1,.6}; font = "PuristaMedium"; sizeEx = 0; shadow = 0; x = 0.1; y = 0.1; w = 0.1; h = 0.1; colorbackground[] = {.1,.1,.1,.6}; }; class HALV_RscFrame { type = 0; idc = -1; style = 64; shadow = 2; colorBackground[] = {0,.5,1,.8}; colorText[] = {0,.5,1,.8}; font = "PuristaLight"; sizeEx = 0.02; text = ""; }; class HALV_RscButton { access = 0; type = 1; text = ""; colorText[] = {1,1,1,0.8}; colorDisabled[] = {0.4,0.4,0.4,1}; colorBackground[] = {.7,.7,.7,.6}; colorBackgroundDisabled[] = {.95,.95,.95,1}; colorBackgroundActive[] = {.3,.3,.3,.6}; colorFocused[] = {.7,.7,.7,.8}; colorShadow[] = {.1,.1,.1,1}; colorBorder[] = {.7,.7,.7,.5}; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1}; style = 2; x = 0; y = 0; w = 0.095589; h = 0.039216; shadow = 1; font = "PuristaMedium"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; offsetX = 0.003; offsetY = 0.003; offsetPressedX = 0.002; offsetPressedY = 0.002; borderSize = 0; }; class HALV_RscListBox { access = 0; type = 5; w = 0.4; h = 0.4; rowHeight = 0; colorText[] = {1, 1, 1, 1}; colorDisabled[] = {1, 1, 1, 0.25}; colorScrollbar[] = {1, 0, 0, 0}; colorSelect[] = {0, 0, 0, 1}; colorSelect2[] = {0, 0, 0, 1}; colorSelectBackground[] = {0.95, 0.95, 0.95, 1}; colorSelectBackground2[] = {1, 1, 1, 0.5}; colorBackground[] = {0.2,0.2,0.2,0.6}; pictureColor[] = {1,1,1,1}; // Picture color pictureColorSelect[] = {1,1,1,1}; // Selected picture color pictureColorDisabled[] = {1,1,1,0.5}; // Disabled picture color soundSelect[] = {"\A3\ui_f\data\sound\RscListbox\soundSelect", 0.09, 1}; arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)"; arrowFull = "#(argb,8,8,3)color(1,1,1,1)"; class ListScrollBar { color[] = {1, 1, 1, 0.6}; colorActive[] = {1, 1, 1, 1}; colorDisabled[] = {1, 1, 1, 0.3}; shadow = 0; thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; }; style = 16; font = "PuristaMedium"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; shadow = 0; colorShadow[] = {0, 0, 0, 0.5}; color[] = {1, 1, 1, 1}; period = 1.2; maxHistoryDelay = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; }; class HALV_RscCheckbox { idc = -1; type = 7; style = 2; x = "LINE_X(XVAL)"; y = "LINE_Y"; w = "LINE_W(WVAL)"; h = 0.029412; colorText[] = {0,.5,1,1}; color[] = {.7,.7,.7,.5}; colorBackground[] = {.7,.7,.7,.2}; colorTextSelect[] = {0, 0.8, 0,.8}; colorSelectedBg[] = {.1,.1,.1,.2}; colorSelect[] = {.7,.7,.7,.2}; colorTextDisable[] = {0.4, 0.4, 0.4, 1}; colorDisable[] = {0.4, 0.4, 0.4, 1}; font = "PuristaMedium"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; rows = 1; columns = 1; }; class HALV_RscStructuredText { access = 0; type = CT_STRUCTURED_TEXT; idc = -1; style = ST_LEFT; colorText[] = {1,1,1,1}; colorBackground[] = {.1,.1,.1,.6}; class Attributes { font = "PuristaMedium"; color = "#ffffff"; align = "center"; shadow = 1; }; x = 0; y = 0; h = 0.035; w = 0.1; text = ""; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; shadow = 1; }; class HALV_RscSlider { idc = -1; type = CT_XSLIDER; style = SL_HORZ; x = 0.4; y = 0.2; w = 0.3; h = 0.025; color[] = { 1, 1, 1, 1 }; coloractive[] = { 1, 1, 1,.5 }; colorDisabled[] = {.5,.5,.5,.2}; colorBackground[] = {.1,.1,.1,.6}; arrowEmpty = "\A3\ui_f\data\gui\cfg\slider\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\slider\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\slider\border_ca.paa"; thumb = "\A3\ui_f\data\gui\cfg\slider\thumb_ca.paa"; }; class HALV_RscMapControl { type = CT_MAP_MAIN; style = ST_PICTURE; idc = -1; colorBackground[] = {0.969, 0.957, 0.949, 1}; colorOutside[] = {0, 0, 0, 1}; colorText[] = {0, 0, 0, 1}; font = "TahomaB"; // sizeEx = 0.04; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.04)"; colorSea[] = {0.467, 0.631, 0.851, 0.5}; colorForest[] = {0.624, 0.78, 0.388, 0.5}; colorRocks[] = {0, 0, 0, 0.3}; colorCountlines[] = {0.572, 0.354, 0.188, 0.25}; colorMainCountlines[] = {0.572, 0.354, 0.188, 0.5}; colorCountlinesWater[] = {0.491, 0.577, 0.702, 0.3}; colorMainCountlinesWater[] = {0.491, 0.577, 0.702, 0.6}; colorForestBorder[] = {0, 0, 0, 0}; colorRocksBorder[] = {0, 0, 0, 0}; colorPowerLines[] = {0.1, 0.1, 0.1, 1}; colorRailWay[] = {0.8, 0.2, 0, 1}; colorNames[] = {0.1, 0.1, 0.1, 0.9}; colorInactive[] = {1, 1, 1, 0.5}; colorLevels[] = {0.286, 0.177, 0.094, 0.5}; colorTracks[] = {0.84, 0.76, 0.65, 0.15}; colorRoads[] = {0.7, 0.7, 0.7, 1}; colorMainRoads[] = {0.9, 0.5, 0.3, 1}; colorTracksFill[] = {0.84, 0.76, 0.65, 1}; colorRoadsFill[] = {1, 1, 1, 1}; colorMainRoadsFill[] = {1, 0.6, 0.4, 1}; colorGrid[] = {0.1, 0.1, 0.1, 0.6}; colorGridMap[] = {0.1, 0.1, 0.1, 0.6}; stickX[] = {0.2, {"Gamma", 1, 1.5}}; stickY[] = {0.2, {"Gamma", 1, 1.5}}; moveOnEdges = 1; x = 0; y = 0; w = 1; h = 1; shadow = 0; ptsPerSquareSea = 5; ptsPerSquareTxt = 20; ptsPerSquareCLn = 10; ptsPerSquareExp = 10; ptsPerSquareCost = 10; ptsPerSquareFor = 9; ptsPerSquareForEdge = 9; ptsPerSquareRoad = 6; ptsPerSquareObj = 9; showCountourInterval = 0; scaleMin = 0.001; scaleMax = 1; scaleDefault = 0.16; maxSatelliteAlpha = 0.85; alphaFadeStartScale = 2; alphaFadeEndScale = 2; fontLabel = "PuristaMedium"; sizeExLabel = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontGrid = "TahomaB"; sizeExGrid = 0.02; fontUnits = "TahomaB"; sizeExUnits = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontNames = "EtelkaNarrowMediumPro"; sizeExNames = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8) * 2"; fontInfo = "PuristaMedium"; sizeExInfo = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontLevel = "TahomaB"; sizeExLevel = 0.02; text = "#(argb,8,8,3)color(1,1,1,1)"; onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; onMouseButtonDown = "mouseButtonDown = _this Select 1"; onMouseButtonUp = "mouseButtonUp = _this Select 1"; class Legend { colorBackground[] = {1, 1, 1, 0.5}; color[] = {0, 0, 0, 1}; x = "SafeZoneX + (((safezoneW / safezoneH) min 1.2) / 40)"; y = "SafeZoneY + safezoneH - 4.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "10 * (((safezoneW / safezoneH) min 1.2) / 40)"; h = "3.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; font = "PuristaMedium"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; }; class ActiveMarker { color[] = {0.3, 0.1, 0.9, 1}; size = 50; }; class Command { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa"; size = 18; importance = 1; coefMin = 1; coefMax = 1; }; class Task { colorCreated[] = {1, 1, 1, 1}; colorCanceled[] = {0.7, 0.7, 0.7, 1}; colorDone[] = {0.7, 1, 0.3, 1}; colorFailed[] = {1, 0.3, 0.2, 1}; color[] = {"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])", "(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])", "(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])", "(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"}; icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa"; iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa"; iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa"; iconDone = "\A3\ui_f\data\map\mapcontrol\taskIconDone_CA.paa"; iconFailed = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_CA.paa"; size = 27; importance = 1; coefMin = 1; coefMax = 1; }; class CustomMark { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\custommark_ca.paa"; size = 24; importance = 1; coefMin = 1; coefMax = 1; }; class Tree { color[] = {0.45, 0.64, 0.33, 0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = 12; importance = "0.9 * 16 * 0.05"; coefMin = 0.25; coefMax = 4; }; class SmallTree { color[] = {0.45, 0.64, 0.33, 0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = 12; importance = "0.6 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Bush { color[] = {0.45, 0.64, 0.33, 0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = "14/2"; importance = "0.2 * 14 * 0.05 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Church { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Chapel { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Cross { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\Cross_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Rock { color[] = {0.1, 0.1, 0.1, 0.8}; icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa"; size = 12; importance = "0.5 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Bunker { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa"; size = 14; importance = "1.5 * 14 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Fortress { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa"; size = 16; importance = "2 * 16 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Fountain { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa"; size = 11; importance = "1 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class ViewTower { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa"; size = 16; importance = "2.5 * 16 * 0.05"; coefMin = 0.5; coefMax = 4; }; class Lighthouse { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Quay { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Fuelstation { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Hospital { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class BusStop { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Transmitter { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Stack { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa"; size = 20; importance = "2 * 16 * 0.05"; coefMin = 0.9; coefMax = 4; }; class Ruin { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa"; size = 16; importance = "1.2 * 16 * 0.05"; coefMin = 1; coefMax = 4; }; class Tourism { color[] = {0, 0, 0, 1}; icon = "\A3\ui_f\data\map\mapcontrol\tourism_ca.paa"; size = 16; importance = "1 * 16 * 0.05"; coefMin = 0.7; coefMax = 4; }; class Watertower { color[] = {1, 1, 1, 1}; icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Waypoint { color[] = {0, 0, 0, 1}; size = 24; importance = 1; coefMin = 1; coefMax = 1; icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa"; }; class WaypointCompleted { color[] = {0, 0, 0, 1}; size = 24; importance = 1; coefMin = 1; coefMax = 1; icon = "\A3\ui_f\data\map\mapcontrol\waypointCompleted_ca.paa"; }; class power { icon = "\A3\ui_f\data\map\mapcontrol\power_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1, 1, 1, 1}; }; class powersolar { icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1, 1, 1, 1}; }; class powerwave { icon = "\A3\ui_f\data\map\mapcontrol\powerwave_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1, 1, 1, 1}; }; class powerwind { icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1, 1, 1, 1}; }; class Shipwreck { icon = "\A3\ui_f\data\map\mapcontrol\Shipwreck_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {0, 0, 0, 1}; }; class LineMarker{ lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; }; }; class HALV_CT_TREE { access = 0; // Control access (0 - ReadAndWrite, 1 - ReadAndCreate, 2 - ReadOnly, 3 - ReadOnlyVerified) type = CT_TREE; // Type is 12 style = ST_LEFT; // Style x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; colorBorder[] = {0,.5,1,.8}; // Frame color colorBackground[] = {0.2,0.2,0.2,0.6}; // Fill color colorSelect[] = {1,0.5,0,1}; // Selected item fill color (when multiselectEnabled is 0) colorMarked[] = {1,0.5,0,0.5}; // Marked item fill color (when multiselectEnabled is 1) colorMarkedSelected[] = {1,0.5,0,1}; // Selected item fill color (when multiselectEnabled is 1) sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";// Text size font = "EtelkaMonospacePro"; // Font from CfgFontFamilies shadow = 1; // Shadow (0 - none, 1 - N/A, 2 - black outline) colorText[] = {1,1,1,1}; // Text color colorSelectText[] = {1,1,1,1}; // Selected text color (when multiselectEnabled is 0) colorMarkedText[] = {1,1,1,1}; // Selected text color (when multiselectEnabled is 1) tooltip = ""; // Tooltip text tooltipColorShade[] = {0,0,0,1}; // Tooltip background color tooltipColorText[] = {1,1,1,1}; // Tooltip text color tooltipColorBox[] = {1,1,1,1}; // Tooltip frame color multiselectEnabled = 0; // Allow selecting multiple items while holding Ctrl or Shift expandOnDoubleclick = 1; // Expand/collapse item upon double-click hiddenTexture = "A3\ui_f\data\gui\rsccommon\rsctree\hiddenTexture_ca.paa"; // Expand icon expandedTexture = "A3\ui_f\data\gui\rsccommon\rsctree\expandedTexture_ca.paa"; // Collapse icon maxHistoryDelay = 1; // Time since last keyboard type search to reset it // Scrollbar configuration class ScrollBar { width = 0; // width of ScrollBar height = 0; // height of ScrollBar // scrollSpeed = 0.01; // scroll speed of ScrollBar 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) color[] = {1,1,1,1}; // Scrollbar color }; colorDisabled[] = {0,0,0,0}; // Does nothing, but must be present, otherwise an error is shown colorArrow[] = {0,0,0,0}; // Does nothing, but must be present, otherwise an error is shown }; thanks MegaZ SOLVED I had 2 Halv_defines and was calling the trader one but altering the spawn one. Link to comment Share on other sites More sharing options...
bibi8667 Posted January 4, 2019 Report Share Posted January 4, 2019 i need your help, i put this class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; } inside the two files spawndialog.hpp Halv_defines.hpp and now i have this error Link to comment Share on other sites More sharing options...
bibi8667 Posted January 4, 2019 Report Share Posted January 4, 2019 and i want to put the team speak ip inside the spawn menu but i don't found the line inside halv_spawn file thx for you help Link to comment Share on other sites More sharing options...
Grahame Posted January 9, 2019 Report Share Posted January 9, 2019 Iirc you change it in the spawn_dialog.hop file. Not at computer at the moment but there are not many hop files in the addon Link to comment Share on other sites More sharing options...
bibi8667 Posted January 10, 2019 Report Share Posted January 10, 2019 ok, no more error for me ... my process first i remove the halv define inside trader file second inside spawndialog.hpp i replace at line 49 Quote class HALV_spawn_map: HALV_RscMapControl { idc = 7775; text = ""; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; }; by Quote class HALV_spawn_map: HALV_RscMapControl { idc = 7775; text = ""; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; }}; and at line 137 Quote class HALV_gear_list: HALV_CT_TREE { idc = 7779; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; onTreeDblClick = "_this call Halv_ontreedoubleclick; false"; onTreeSelChanged = "_this call Halv_ontreeselected; false"; }; by Quote class HALV_gear_list: HALV_CT_TREE { idc = 7779; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; onTreeDblClick = "_this call Halv_ontreedoubleclick; false"; onTreeSelChanged = "_this call Halv_ontreeselected; false"; colorPicture[] = {1,1,1,1}; colorPictureSelected[] = {0.8,0,0,0.8}; colorPictureDisabled[] = {0.8,0,0,0.8}; colorPictureRight[] = {0.8,0,0,0.8}; colorPictureRightSelected[] = {0.8,0,0,0.8}; colorPictureRightDisabled[] = {0.8,0,0,0.8}; }; Link to comment Share on other sites More sharing options...
bibi8667 Posted January 23, 2019 Report Share Posted January 23, 2019 finaly halo doesn't work for players but for admin no bug .... i disable it ... someone have solution ? Link to comment Share on other sites More sharing options...
Grahame Posted February 2, 2019 Report Share Posted February 2, 2019 Use infiSTAR was always the answer in the past... not sure whether that is still the case, because I use infiSTAR and HALO spawns work Link to comment Share on other sites More sharing options...
Grahame Posted February 2, 2019 Report Share Posted February 2, 2019 So... Epoch 1.3 added the beautiful Teleport Booths and you use Halv's Spawn scripts? Well, I have some good news for you... you can easily modify things to make it so that when you enter the booth the spawn screens come up automatically - no more scroll wheel or having replacement iPad screens that always seem to fall over Okay, the following assumes that you have Halv's spawn scripts installed in addons/halv_spawn in your mission file. Amend the instructions where appropriate if you put it somewhere else... First, alter the following line in addons/halv_spawn/init.sqf from: _deletedefaultteleporters = true; to: _deletedefaultteleporters = false; Next, comment these two lines in addons/halv_spawn/spawndialog.sqf: //{_x addAction [format["<img size='1.5'image='\a3\Ui_f\data\IGUI\Cfg\Actions\ico_cpt_start_on_ca.paa'/> <t color='#0096ff'>%1</t><t > </t><t color='#00CC00'>%2</t>",localize "STR_HALV_SCROLL_SELECT",localize "STR_HALV_SCROLL_SPAWN"],(_scriptpath+"opendialog.sqf"),_x, -9, true, true, "", "player distance _target < 5"];}forEach (HALV_senddeftele select 0); //diag_log format["[halv_spawn] addAction added to %1",HALV_senddeftele]; Finally, replace the contents of epoch_code/compile/EPOCH_EnterBuilding.sqf with this: /* Author: Aaron Clark - EpochMod.com Contributors: Description: Epoch request teleport Licence: Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike Github: https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_EnterBuilding.sqf */ if !(isNull _this) then{ //[player,_this,Epoch_personalToken] remoteExec ["EPOCH_server_teleportPlayer",2]; [] execVM "addons\halv_spawn\opendialog.sqf"; }; And you are done. Repack and upload the mission file and when you enter the TP booth the spawn screens will magically appear! ReDBaroN, He-Man, Ghostrider-GRG and 1 other 3 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted February 2, 2019 Report Share Posted February 2, 2019 Nice one @Grahame Grahame 1 Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted February 5, 2019 Report Share Posted February 5, 2019 Works perfectly Grahame, thanks for sharing this modification. Link to comment Share on other sites More sharing options...
Dr.Slyme Posted March 4, 2019 Report Share Posted March 4, 2019 After new Arma Update : class Halv_spawn_dialog { idd=7777; moveingenabled=false; class controls { class HALV_spawn_backtext: HALV_IGUIBack { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.840914 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.0219945 * safezoneH; }; class HALV_spawn_frametext: HALV_RscFrame { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.840914 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.0219945 * safezoneH; }; class HALV_spawn_back: HALV_IGUIBack { idc = -1; x = 0.180412 * safezoneW + safezoneX; y = 0.115097 * safezoneH + safezoneY; w = 0.628866 * safezoneW; h = 0.769807 * safezoneH; }; class HALV_spawn_frame: HALV_RscFrame { idc = -1; text = "Acryl-Gaming.de"; x = 0.180412 * safezoneW + safezoneX; y = 0.115097 * safezoneH + safezoneY; w = 0.628866 * safezoneW; h = 0.769807 * safezoneH; }; class HALV_spawn_mapframe: HALV_RscFrame { idc = -1; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; }; class HALV_spawn_map: HALV_RscMapControl { idc = 7775; text = ""; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; widthRailWay = 1; class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; } }; class HALV_spawn_listboxframe: HALV_RscFrame { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.18108 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.659834 * safezoneH; }; class HALV_spawn_list: HALV_RscListBox { idc = 7776; x = 0.195876 * safezoneW + safezoneX; y = 0.18108 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.659834 * safezoneH; onLBSelChanged = "if(HALV_SELECTSPAWN)then{_this call Halv_moveMap}; false"; onLBDblClick = "if(HALV_SELECTSPAWN)then{_this call Halv_spawn_player}else{_this call HALV_player_removelisteditem;}; false"; }; class HALV_spawn_haloframe: HALV_RscFrame { idc = -1; x = 0.195876 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0773196 * safezoneW; h = 0.043989 * safezoneH; }; class HALV_spawn_butframe: HALV_RscFrame { idc = -1; x = 0.273196 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0824742 * safezoneW; h = 0.043989 * safezoneH; }; class HALV_spawn_butselectspawn: HALV_RscCheckbox { idc = 7781; x = 0.273196 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0824742 * safezoneW; h = 0.043989 * safezoneH; //\A3\Air_F_Beta\Parachute_01\Data\UI\Portrait_Parachute_01_CA.paa strings[] = {"$STR_HALV_HALO"}; //\a3\soft_f_beta\Truck_01\Data\UI\Truck_01_covered_CA.paa checked_strings[] = {"$STR_HALV_GROUND"}; onCheckBoxesSelChanged = "if(_this select 2 == 0)then{HALV_HALO = true;systemChat localize ""STR_HALV_HALO_SELECTED"";}else{HALV_HALO = false;systemChat localize ""STR_HALV_GROUND_SELECTED"";};false"; tooltip = "$STR_HALV_PRESSSELECT_HALO_OR_GROUND"; colorTextSelect[] = {0.6,0.298,0,1}; };//102,51,0 - 0.4,0.2,0 //153,76,0 - 0.6,0.298,0 class HALV_spawn_halocheck: HALV_RscCheckbox { idc = 7780; x = 0.195876 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.0773196 * safezoneW; h = 0.043989 * safezoneH; strings[] = {"$STR_HALV_SELECT_GEAR"}; checked_strings[] = {"$STR_HALV_SELECT_SPAWN"}; onCheckBoxesSelChanged = "_this call HALV_switch_spawngear;false"; colorText[] = {0.8,0,0,0.8}; tooltip = "$STR_HALV_SELECT_GEAR_OR_SPAWN"; }; class HALV_spawn_text: HALV_RscStructuredText { idc = -1; text = "ts3.acryl-gaming.de"; x = 0.195876 * safezoneW + safezoneX; y = 0.840914 * safezoneH + safezoneY; w = 0.159794 * safezoneW; h = 0.0219945 * safezoneH; }; class HALV_gear_list: HALV_CT_TREE { idc = 7779; x = 0.35567 * safezoneW + safezoneX; y = 0.137091 * safezoneH + safezoneY; w = 0.438144 * safezoneW; h = 0.725818 * safezoneH; onTreeDblClick = "_this call Halv_ontreedoubleclick; false"; onTreeSelChanged = "_this call Halv_ontreeselected; false"; colorPicture[] = {0,0,0,0.4}; colorPictureSelected[] = {0,0,0,0.4}; colorPictureDisabled[] = {0,0,0,0.4}; colorPictureRight[] = {0,0,0,0.4}; colorPictureRightSelected[] = {0,0,0,0.4}; colorPictureRightDisabled[] = {0,0,0,0.4}; }; }; }; Tarabas and He-Man 2 Link to comment Share on other sites More sharing options...
He-Man Posted March 4, 2019 Report Share Posted March 4, 2019 Nice!!! widthRailWay = 1; Fixed the error message! Many Thanks!!! Tarabas 1 Link to comment Share on other sites More sharing options...
Dr.Slyme Posted March 5, 2019 Report Share Posted March 5, 2019 19 hours ago, He-Man said: Nice!!! widthRailWay = 1; Fixed the error message! Many Thanks!!! Nah :) No Problem :) Iam comming from Altis Life Scripting / Coding and iam actually hosting some Arma Epoch ...with new Features like Weed Harvesting and what else. Best Regards Link to comment Share on other sites More sharing options...
bibi8667 Posted March 7, 2019 Report Share Posted March 7, 2019 On 9/22/2017 at 8:03 PM, RetroTorero said: Had the same issue here. That was my line: if (((_distance/(_curTime-_lastTime)) > "+str _maxTravelDistance+") && _notNearbySpawn && (player == vehicle player) && animationState player != 'halofreefall_non') then { i completely deleted this line and put in this one: if (((_distance/(_curTime-_lastTime)) > 10) && _notNearbySpawn && (player == vehicle player) && animationState player != 'halofreefall_non') then { Now it´s working fine. (about 4 tested Halo jumps) for everyone who´s looking for the server_securityfunctions.sqf: it´s in the /arma3/@EpochHive/addons/epoch_server,pbo file. ty! edit: 5th try and bounce to ALT 1200 Meters... damn so it´s not working. Hello RetroTorero, did you find a solution ? same problem ... i use only admin menu not infistar i try to disable antihack_addActionCheck = "false"; // false to disable addAction checks doesn't change Link to comment Share on other sites More sharing options...
Reaper5150 Posted March 30, 2019 Report Share Posted March 30, 2019 Is there something like this for a2 to replace the enhanced spawn menu with infistar anti hack? I like the moving map function. Link to comment Share on other sites More sharing options...
Locodino Posted March 31, 2019 Report Share Posted March 31, 2019 So, I got all the dialogues working, but when I double click to spawn on a location nothing happens. Not sure what I did wrong. I tried the teleporters walk in method and no dialogue pops. I went back and rolled back all my changes from this and tried just getting the biometric hand prints to work with the middle mouse menu. The dialogue pops up, but again when selecting a spawn point nothing happens. Link to comment Share on other sites More sharing options...
bibi8667 Posted March 31, 2019 Report Share Posted March 31, 2019 after update 1.3.1 halv spawn doesn't work anymore, any one can help me ? Link to comment Share on other sites More sharing options...
He-Man Posted March 31, 2019 Report Share Posted March 31, 2019 Check this Link to comment Share on other sites More sharing options...
Locodino Posted April 1, 2019 Report Share Posted April 1, 2019 He-Man I tried that as well but when I go into the teleporters, I do not get the dialogue. I just stand there... Link to comment Share on other sites More sharing options...
Locodino Posted April 1, 2019 Report Share Posted April 1, 2019 Welp, now I get the dialogue on my local test server, but I am back to when I double click on something it takes me nowhere. I should note that I disabled Battleye, and have no antihack system in place currently. Link to comment Share on other sites More sharing options...
bibi8667 Posted April 1, 2019 Report Share Posted April 1, 2019 On 3/31/2019 at 11:20 PM, He-Man said: Check this ok i try this and now i have the same error like locodino, i can choose my items and the spawn point, when i confirm nothing happen .... lock inside white room ... i found this inside my rpt log without the modification from grahame Quote 12:01:26 "[halv_spawn] waiting for default 'Debug_static_F' to be build in Altis @ (236180) [23600.6,18000.8,0]" 12:01:38 "[halv_spawn] found some default teleporters ... _deletedefaultteleporters: 'false'" 12:01:38 "[halv_spawn] sendt teleporters and default positions to clients, 0 textures build" and i try without the modification from grahame, same error, lock inside spawn box without the modification of the file epoch_code/compile/EPOCH_EnterBuilding.sqf, spawn work but not halv spawn ... when i spawn i don't have credit message Link to comment Share on other sites More sharing options...
Locodino Posted April 2, 2019 Report Share Posted April 2, 2019 Yeah, I am not sure where the actual teleport happens in the script. Between this and the mission system not starting, it seems like I might be having another issue all together. If I have time tonight I am going to drop this script and create a new vanilla Epoch Test environment with JUST the mission system and zero changes. Once I get that working I am going to add back in teh status bar. Once those are working nice, I am going to revert back to vanilla and try to get this working in 1.3.1 with the default teleport tubes. Hopefully I will understand more by then about how these scripts are called and how they are functioning. Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted April 4, 2019 Report Share Posted April 4, 2019 On 4/2/2019 at 2:46 PM, Locodino said: Yeah, I am not sure where the actual teleport happens in the script. Between this and the mission system not starting, it seems like I might be having another issue all together. If I have time tonight I am going to drop this script and create a new vanilla Epoch Test environment with JUST the mission system and zero changes. Once I get that working I am going to add back in teh status bar. Once those are working nice, I am going to revert back to vanilla and try to get this working in 1.3.1 with the default teleport tubes. Hopefully I will understand more by then about how these scripts are called and how they are functioning. I am happy to share the Halve spawn script with updates. Just shoot me a PM here or on discord. He-Man 1 Link to comment Share on other sites More sharing options...
Grahame Posted April 6, 2019 Report Share Posted April 6, 2019 Not sure on this issue. Halv Spawn is working fine for me in 1.3.1 Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted April 7, 2019 Report Share Posted April 7, 2019 I have merged all of the changes I"ve made over the past few years into a forked version available at: https://github.com/Ghostrider-DbD-/halv_spawn Credit for the fixes goes to those who have posted in this thread including Megaz, Dr Slyme and Grahamme - I have only compiled their work. Helion4 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now