rvg?! Posted June 9, 2016 Report Share Posted June 9, 2016 well it says what you should do, add a class linemarker. So add this to HALV_RscMapControl: class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; } Ghostrider-GRG, ReDBaroN and SAYREX 3 Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 9, 2016 Report Share Posted June 9, 2016 Thanks rvg?! I knew it was saying to add something but, didn't know what or where. How do you know what to put inside the class and which control to put it under? For instance, with thanks to you, that one is now cleared but, now I have another one and I have a feeling there will be more... The next one I have is below: Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 22 hours ago, ReDBaroN said: How do you know what to put inside the class and which control to put it under? The "LineMarker" belongs to the ressource of the map. This to the HALV_gear_list: colorPicture[] = {0,0,0,0}; //no color Ghostrider-GRG 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 Thanks rvg. I don't seem to have a base class for HALV_gear_list in Halv_defines.hpp..... Any ideas where I should add it? Thanks again for all your help. Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted June 10, 2016 Report Share Posted June 10, 2016 3 minutes ago, ReDBaroN said: Thanks rvg. I don't seem to have a base class for HALV_gear_list in Halv_defines.hpp..... Any ideas where I should add it? Thanks again for all your help. RedBarron, I just went through this myself. Look at the end of spawndialog.hpp. Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 1 hour ago, ReDBaroN said: Thanks rvg. I don't seem to have a base class for HALV_gear_list in Halv_defines.hpp..... Any ideas where I should add it? Thanks again for all your help. The halv_defines.hpp is just a ressource (stylesheet) for all the buttons, background and so on in his dialogs. Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 Ok, Sorry then that I'm being thick with all this stuff but, should both fixes have gone in spawndialog.hpp? If so, would you guys mind giving me a steer as to where to insert? I've already tried putting the line pictureColor[] = {0,0,0,0}; //no color as the last line in that HALV_gear_list block in spawndialog.hpp and I still get the error.... Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 Try Color[] = {0,0,0,0}; or ColorPicture[] = {0,0,0,0}; Not tested. But its just to color it back. Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 I just tried this: 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"; class colorPicture { pictureColor[] = {0,0,0,0}; //no color }; }; and the error has changed to this: Just seen your latest post so, will try those. But, do I have the block correct? Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 just: Color[] = {1,1,1,1}; or colorPicture[] = {1,1,1,1}; if you cant point it out now, i 'll have a look later. Offtopic: To create/edit code from a mobile view here on the forum is just horrible Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 I have now tried this: 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"; }; class colorPicture {Color[] = {1,1,1,1};}; }; }; and I'm back to the first error.... Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 I'll have a look later. befor you even go crazy ReDBaroN 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 cheers man. I'll keep trying as well. This stuff is enough to drive you crazy.... Ghostrider-DbD-, did you manage to nail this? You mentioned earlier that you were going through it as well.... Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 Its just hard to look at all of this on a mobile without any view to the sources. Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 it should look like this: \addons\halv_spawn\spawndialog.hpp 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}; }; ReDBaroN 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 hey, this has sorted it perfectly :) Big thanks for your help! I also used the same for the next error that came up with the Halv's Blackmarket trader for colorPicture and although it changed all the menus to red, it got rid of the error. I have changed the colours from 0.8,0,0,0.8 to 0,0,0,0 but, seem to have lost the icons for the items now so, will have a mess around with the colours and report back. That is, unless you already know what the colours should be in there.... ? thanks again for your help man Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 change the color to 0,0,0,0.4 ReDBaroN 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 Cheers man, is that on all the entries? Like this: 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}; Ghostrider-GRG 1 Link to comment Share on other sites More sharing options...
rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 Yes, would do. The colors are RGBA / scale from 0-1. Just take each number in a regular RGB value and divide by 255. ReDBaroN 1 Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted June 10, 2016 Report Share Posted June 10, 2016 3 hours ago, ReDBaroN said: cheers man. I'll keep trying as well. This stuff is enough to drive you crazy.... Ghostrider-DbD-, did you manage to nail this? You mentioned earlier that you were going through it as well.... Those fixes seem to be working fine on a test server. I will be rolling them out live later tonight. I am not very knowledgeable about dialogs and the suggestions from rvg?! are really appreciated. Link to comment Share on other sites More sharing options...
Ghostrider-GRG Posted June 10, 2016 Report Share Posted June 10, 2016 On 6/9/2016 at 6:35 PM, rvg?! said: well it says what you should do, add a class linemarker. So add this to HALV_RscMapControl: class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 2; lineWidthThick = 0.013; lineWidthThin = 0.005; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; } Confirmed working for me. rvg?! 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted June 10, 2016 Report Share Posted June 10, 2016 Great stuff rvg?! Confirmed all working perfectly now for both halv spawn and blackmarket traders. No errors in the rpt or in game on screen. Big thanks dude :D rvg?! and Ghostrider-GRG 2 Link to comment Share on other sites More sharing options...
Alexisblack Posted June 23, 2016 Report Share Posted June 23, 2016 On 1/29/2016 at 0:15 PM, kuulpahe said: i get error ! Im assuming you already have a halv_defines.hpp defined in your missions folder. it was clearly stated. Unless im wrong and this is being cause by something else. Link to comment Share on other sites More sharing options...
Alexisblack Posted June 23, 2016 Report Share Posted June 23, 2016 22.06.2016 21:26:16: Omar (127.0.0.1:2316) a894cf41f26ec6af5e75ddac567e71d0 - #0 "briefing\enddefault_ca.paa'/>",0,0,15,0,0,8406] spawn bis_fnc_dynamicText; }; }; }else{ player setPos _position; titleText[forma" //Solution Line 2 !=\"briefing\enddefault_ca.paa'/>\",0,0,15,0,0,8406] spawn bis_fnc_dynamicText;};\n};\n}else{\nplayer setPos _position;\ntitleText[forma\" 22.06.2016 21:33:07: Omar (127.0.0.1:2304) a894cf41f26ec6af5e75ddac567e71d0 - #15 "eCollisionWith player; player moveInDriver _chute; _chute setVelocity [0,0,0]; waitUntil{vehicle player isEqualTo _chute}; if (a" //Solution line 17 !="eCollisionWith player;\nplayer moveInDriver _chute;\n_chute setVelocity [0,0,0];\nwaitUntil{vehicle player isEqualTo _chute};\nif (a" 22.06.2016 21:38:28: Omar (127.0.0.1:2304) a894cf41f26ec6af5e75ddac567e71d0 - #21 "1 to _ammoamount do { _rnd = _ammo select 0; player addMagazine _rnd; }; }; player addWeapon _this; player selectWeap" //Solution Line 22 !="_rnd = _ammo select 0;" >>>> !="player addMagazine _rnd;" >>>> !="player addMagazine _rnd;" >>>> !="_rnd = _ammo select 0;" >>>> !="player addMagazine _rnd;" 22.06.2016 21:47:42: Omar (127.0.0.1:2304) a894cf41f26ec6af5e75ddac567e71d0 - #24 "m = (_geararr select 9) call BIS_fnc_selectRandom; player addbackpack _item; (_addedgear select 9) pushBack ['random',_item]; }e" //Solution Line 26 !="player addbackpack _item;" >>>> !="(_addedgear select 9) pushBack ['random',_item];" 22.06.2016 21:50:57: Omar (127.0.0.1:2304) a894cf41f26ec6af5e75ddac567e71d0 - #27 "NEEDTOBEDONER"}; closeDialog 0; if(_removedefault)then{ removeAllWeapons player;removeAllItems player;removeAllAssignedItems pla" //Solution Line 29 !="removeAllWeapons player;" //Solution Line 30 !="removeAllItems player;" 22.06.2016 21:56:47: Omar (127.0.0.1:2304) a894cf41f26ec6af5e75ddac567e71d0 - #43 "elect 7) select _sel) call BIS_fnc_selectRandom; player forceAddUniform _item; (_addedgear select 7) pushBack ['random',_item]; " //Solution Line 45 !="player forceAddUniform _item;" 22.06.2016 21:59:19: Omar (127.0.0.1:2304) a894cf41f26ec6af5e75ddac567e71d0 - #45 "emoveAction _action; if !(HALV_openchute)exitWith{ player setDammage 1; HALV_openchute = nil; }; HALV_openchute = nil; privat" //Solution Line 47 !="player setDammage 1;" If anyone is getting battle eye kicks here is each and every kick I received with the posted solution. I may have added unnecessary exceptions in one or two logs, but in the end I got into my server and everything was working. Link to comment Share on other sites More sharing options...
Jestertriks Posted July 15, 2016 Report Share Posted July 15, 2016 anyone have coords for Esseker 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