FG_Trap Posted August 26, 2019 Report Share Posted August 26, 2019 Made this in my free time awhile ago thought id make it public. Right Alt is the key to open the menu. Install instructions are inside the download. https://github.com/NWDZ-Trapxxgods/traps-menu here is a picture of the server menu left.dead.dayz and Ghostrider-GRG 1 1 Link to comment Share on other sites More sharing options...
FG_Trap Posted November 17, 2019 Author Report Share Posted November 17, 2019 Will be updating all of the code soon. So it has better optimization. Will also be changing the layout of the text. left.dead.dayz 1 Link to comment Share on other sites More sharing options...
left.dead.dayz Posted November 18, 2019 Report Share Posted November 18, 2019 Very cool! Can you share information where you learned this? what to do FG_Trap Link to comment Share on other sites More sharing options...
GodZilla Posted December 21, 2019 Report Share Posted December 21, 2019 @left.dead.dayz You can made this with a Gui Editor like this: Karel Moricky Gui Editor Link to comment Share on other sites More sharing options...
FG_Trap Posted December 22, 2019 Author Report Share Posted December 22, 2019 @left.dead.dayz I used A3 GUI editor as its better. But their are certain things u gotta be aware of that u cant use in a2. Link to comment Share on other sites More sharing options...
Khyron Posted December 23, 2019 Report Share Posted December 23, 2019 not sure what i'm missing, but i get this sometimes, any ideas? ErrorMessage: File mpmissions\__cur_mp.Chernarus\scripts\tmenu\Defines.hpp, line 80: /tmenu/Controls.TMListbox1: Undefined base class 'RscListbox' Link to comment Share on other sites More sharing options...
GodZilla Posted December 26, 2019 Report Share Posted December 26, 2019 Define the baseclass then this should work! class RscListBox { access = 0; type = 5; w = 0.4; h = 0.4; rowHeight = 0; colorText[] = {0.8784,0.8471,0.651,1}; colorScrollbar[] = {0.95,0.95,0.95,1}; colorSelect[] = {0.95,0.95,0.95,1}; colorSelect2[] = {0.95,0.95,0.95,1}; colorSelectBackground[] = {0,0,0,1}; colorSelectBackground2[] = {0.8784,0.8471,0.651,1}; colorBackground[] = {0,0,0,1}; soundSelect[] = {"",0.1,1}; arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)"; arrowFull = "#(argb,8,8,3)color(1,1,1,1)"; class ScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; shadow = 0; thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; border = "\ca\ui\data\ui_border_scroll_ca.paa"; }; style = 16; font = "Zeppelin32"; shadow = 2; sizeEx = 0.03921; color[] = {1,1,1,1}; period = 1.2; maxHistoryDelay = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; }; Link to comment Share on other sites More sharing options...
FG_Trap Posted December 26, 2019 Author Report Share Posted December 26, 2019 No @GodZilla place this in description.hpp class RscListBox { type = 5; w = 0.4; h = 0.4; rowHeight = 0; colorText[] = {1,1,1,1}; colorScrollbar[] = {1,1,1,1}; colorSelect[] = {1,1,1,1}; colorSelect2[] = {1,1,1,1}; colorSelectBackground[] = {1,1,1,1}; colorSelectBackground2[] = {1,1,1,1}; colorBackground[] = {1,1,1,1}; soundSelect[] = {"",0.1,1}; arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)"; arrowFull = "#(argb,8,8,3)color(1,1,1,1)"; class ScrollBar { color[] = {1,1,1,1}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; shadow = 0; thumb = "dayz_code\gui\thumb_ca.paa"; Change path arrowFull = "dayz_code\gui\arrowfull_ca.paa"; Change path arrowEmpty = "dayz_code\gui\arrowempty_ca.paa"; Change path border = "dayz_code\gui\border_ca.paa"; Change path }; style = 16; font = "Zeppelin32"; shadow = 2; sizeEx = 0.03921; color[] = {1,1,1,1}; period = 1.2; maxHistoryDelay = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; }; Link to comment Share on other sites More sharing options...
FG_Trap Posted December 26, 2019 Author Report Share Posted December 26, 2019 i used a custom scroll bar. Link to comment Share on other sites More sharing options...
GodZilla Posted December 28, 2019 Report Share Posted December 28, 2019 @trap yes i see it, you changed the colors.... Link to comment Share on other sites More sharing options...
ShyVicZ Posted March 11, 2020 Report Share Posted March 11, 2020 Hello, so i get this error, ErrorMessage: File mpmissions\DayZ_Epoch_24.Napf\NLZ\tmenu\dialog.hpp, line 90: /tmenu/Controls.TMButton2: Undefined base class 'RscButton' anyknow why? Link to comment Share on other sites More sharing options...
Doggyman Posted March 25, 2020 Report Share Posted March 25, 2020 Hello all, works fine on Server but is there a Chance to build a Helipad with deploy anything? With the Toolbox works but not with Menu. No RPT issue btw. Hope anyone can help me. Link to comment Share on other sites More sharing options...
Mig Posted March 26, 2020 Report Share Posted March 26, 2020 21 hours ago, Doggyman said: Hello all, works fine on Server but is there a Chance to build a Helipad with deploy anything? With the Toolbox works but not with Menu. No RPT issue btw. Hope anyone can help me. you can use this menu to deploy objects Link to comment Share on other sites More sharing options...
Doggyman Posted March 27, 2020 Report Share Posted March 27, 2020 Thx for it :) Link to comment Share on other sites More sharing options...
killerkiwi Posted April 25, 2020 Report Share Posted April 25, 2020 On 3/26/2020 at 10:44 AM, Mig said: you can use this menu to deploy objects no only craft stuff Link to comment Share on other sites More sharing options...
Hux Posted July 20, 2020 Report Share Posted July 20, 2020 (edited) Hello, how would I disable the no grass option in menu? Nice script BTW. Thanks. Edit: Ok, I figured it out. I just commented out the grass section in the dialog.hpp file. Edited July 20, 2020 by Hux Solved Link to comment Share on other sites More sharing options...
Th3-Hunter333 Posted October 20, 2020 Report Share Posted October 20, 2020 On 3/10/2020 at 7:08 PM, ShyVicZ said: Hello, so i get this error, ErrorMessage: File mpmissions\DayZ_Epoch_24.Napf\NLZ\tmenu\dialog.hpp, line 90: /tmenu/Controls.TMButton2: Undefined base class 'RscButton' anyknow why? Spent the last 7 hours trying to fix exactly this error right here, the instructions must be missing something critical here. Because i have went over it a thousand times. And verified EVERY single file location Link to comment Share on other sites More sharing options...
Th3-Hunter333 Posted October 22, 2020 Report Share Posted October 22, 2020 On 10/20/2020 at 11:33 AM, Th3-Hunter333 said: Spent the last 7 hours trying to fix exactly this error right here, the instructions must be missing something critical here. Because i have went over it a thousand times. And verified EVERY single file location Ok for anyone having any issues im going to paste this here for people to have. Open up dialog.hpp and edit line 122 to this here, he forgot the execvm portion of this. onButtonClick = "execVM 'custom\tmenu\color.sqf';"; Open up your description.ext and add this line near the bottom directly above this line #include "dayz_code\gui\description.hpp" #include "dayz_code\Configs\CfgLoot\CfgLoot.hpp" #include "dayz_code\Configs\CfgServerTrader.hpp" Here is the line your adding class RscButton { access = 0; type = 1; text = ""; colorText[] = {0.8784,0.8471,0.651,1}; colorDisabled[] = {0.4,0.4,0.4,1}; colorBackground[] = {1,0.537,0,0.5}; colorBackgroundDisabled[] = {0.95,0.95,0.95,1}; colorBackgroundActive[] = {1,0.537,0,1}; colorFocused[] = {1,0.537,0,1}; colorShadow[] = {0.023529,0,0.0313725,1}; colorBorder[] = {0.023529,0,0.0313725,1}; soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1}; soundPush[] = {"\ca\ui\data\sound\new1",0,0}; soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1}; soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1}; style = 2; x = 0; y = 0; w = 0.095589; h = 0.039216; shadow = 2; font = "Zeppelin32"; sizeEx = 0.03921; offsetX = 0.003; offsetY = 0.003; offsetPressedX = 0.002; offsetPressedY = 0.002; borderSize = 0; }; Link to comment Share on other sites More sharing options...
M1Cro Posted December 6, 2020 Report Share Posted December 6, 2020 My AltRight isnt opening the menu Link to comment Share on other sites More sharing options...
FG_Trap Posted December 20, 2020 Author Report Share Posted December 20, 2020 NEW MENU... Replace your defines.hpp with the new one. Also change the craft menu to whatever u want its not included haha. https://github.com/NWDZ-Trapxxgods/traps-menu/blob/master/Defines Th3-Hunter333 1 Link to comment Share on other sites More sharing options...
FG_Trap Posted January 9, 2021 Author Report Share Posted January 9, 2021 If you need help with the install my discord is down below. If you would like me to make you a custom menu also just hmu on discord. Trapxxgods #3949 Link to comment Share on other sites More sharing options...
FG_Trap Posted January 12, 2021 Author Report Share Posted January 12, 2021 If u want this option of my menu but with frames let me know on discord Link to comment Share on other sites More sharing options...
Zygaska Posted April 19, 2022 Report Share Posted April 19, 2022 Please make an update to 1.0.7 Link to comment Share on other sites More sharing options...
Vladick Posted December 9, 2022 Report Share Posted December 9, 2022 On 10/21/2020 at 6:31 PM, Th3-Hunter333 said: Ok for anyone having any issues im going to paste this here for people to have. Open up dialog.hpp and edit line 122 to this here, he forgot the execvm portion of this. onButtonClick = "execVM 'custom\tmenu\color.sqf';"; Open up your description.ext and add this line near the bottom directly above this line #include "dayz_code\gui\description.hpp" #include "dayz_code\Configs\CfgLoot\CfgLoot.hpp" #include "dayz_code\Configs\CfgServerTrader.hpp" Here is the line your adding class RscButton { access = 0; type = 1; text = ""; colorText[] = {0.8784,0.8471,0.651,1}; colorDisabled[] = {0.4,0.4,0.4,1}; colorBackground[] = {1,0.537,0,0.5}; colorBackgroundDisabled[] = {0.95,0.95,0.95,1}; colorBackgroundActive[] = {1,0.537,0,1}; colorFocused[] = {1,0.537,0,1}; colorShadow[] = {0.023529,0,0.0313725,1}; colorBorder[] = {0.023529,0,0.0313725,1}; soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1}; soundPush[] = {"\ca\ui\data\sound\new1",0,0}; soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1}; soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1}; style = 2; x = 0; y = 0; w = 0.095589; h = 0.039216; shadow = 2; font = "Zeppelin32"; sizeEx = 0.03921; offsetX = 0.003; offsetY = 0.003; offsetPressedX = 0.002; offsetPressedY = 0.002; borderSize = 0; }; I have installed this on a 1.0.7.1 Epoch server and have applied the changes above but am still getting an error: ErrorMessage: File mpmissions\__cur_mp.chernarus\scripts\tmenu\dialog.hpp, line 114: '/tmenu/Controls/TMButton2.': '"' encountered instead of '=' The referenced line is in bold below: class TMButton2: RscButton { idc = 1601; text = "Color Change"; x = 0.6575 * safezoneW + safezoneX; y = 0.332 * safezoneH + safezoneY; w = 0.13125 * safezoneW; h = 0.042 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0,0,0,0.7}; colorActive[] = {0,0,0,0.7}; onButtonClick = 'scripts\tmenu\scripts\color.sqf';"; }; I'm not seeing the problem. Anyone? Also related question: Does this even work with 1.0.7.1? Can anyone recommend another script that I could use to change view distance and display rules? Thanks for any help! Link to comment Share on other sites More sharing options...
tomxas Posted February 21, 2023 Report Share Posted February 21, 2023 I would like to get the menu of the FG_Trap to run, unfortunately the menu doesn't open. At first the server hangs. Message waiting for host. With the changes from Th3-Hunter333 I was able to join the server. Unfortunately the menu does not open. Is the menu running at someone's place in the meantime? Thank you 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