Jump to content
  • 0
chi

Advanced Alchemal Crafting

Question

I have looked but can't find any info on this anywhere....

 

I wanted all of my buildables to be set to right click the toolbox. I have it all set up right with 46 items in the drop down menu. The drop down menu will not load and it breaks the crafting window when I load that many. I haven't tried to figure out how many possible entries I can have in the drop down menu without breaking anything, but i did just try to put 4 items in it and it worked fine.

Does anyone know:

---how many entries the menu will hold without breaking

---If it is possible to change the max number of items it holds

---Or if i just have to make a second right click entry for the toolbox and have a whole other crafting window pop up with a different sets of items?

 

Thanks in advance!!!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

do you wanna put 46 scripts into toolbox right click?  i dont know how is the maxiium but i think 46 is a lot :D----  maybe u can use something else like scroll menu options or hpp file menu to execute all this scripts.

Really i dont have idea how to create hpp menu, @theduke its an expert to do it, maybe he can  help you if u decide take this way.

But..

if u want. u can try it.. adding a scroll menu option for those scripts.

open your init.sqf at bottom paste

Spoiler

//toolb menu
[] execVM "custom\toolb\toolb_activate.sqf";

create this sqf´s and paste

into mpmissions\your instance\custom\toolb\

toolb_activate.sqf

Spoiler

waituntil {!isnull (finddisplay 46)};
sleep 15;
setview = player addaction [("<t color=""#000000"">" + ("Toolbox Menu") +"</t>"),"custom\toolb\toolb_execute.sqf","",5,false,true,"",""];

toolb_exectute.sqf

Spoiler

[] execVM "custom\toolb\toolb_main.sqf";

toolb_main.sqf  (in blue put your own  text // in red name of scripts to execute) add more menus if u need

Spoiler

pathtotoolb = "custom\toolb\";
EXECscript1 = 'player execVM "'+pathtotoolb+'%1"';

if (speed player <= 1) then {
toolb =
[
    ["",true],
        ["Menu 1", [2], "#USER:menu1", -5, [["expression", ""]], "1", "1"],
        ["Menu 2", [3], "#USER:menu2", -5, [["expression", ""]], "1", "1"],
        ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
        
];} else {
toolb =
[
    ["",true],
        ["Menu 1", [2], "#USER:menu1", -5, [["expression", ""]], "1", "1"],
        ["Menu 2", [3], "#USER:menu2", -5, [["expression", ""]], "1", "1"],
        ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
};

menu1 =
[
    ["",true],
        ["my text", [2],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["2", [3],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["3", [4],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["4", [5],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

menu2 =
[
    ["",true],
        ["5", [2],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["6", [2],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["7", [3],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["8", [4],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["9", [5],  "", -5, [["expression", format[EXECscript1,"yourscript.sqf"]]], "1", "1"],
        ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

showCommandingMenu "#USER:toolb";

now paste all script you want to execute into toolb folder.

Share this post


Link to post
Share on other sites
  • 0

no probleml, if u want to keep the realism with toolbox.. maybe u can add a  requiere toolbox item to build in each script..

. or other solution is divide into ItemShovel , Sledge , Etool and toolbox  all scripts to execute by right click..  46/5 = 9.2  now ure reducing the amount.

im using my own with this see.

Spoiler

["ItemSledge",[0,2,1],5,1,true,false,false,true,true,false,false,["MAP_Dkamna_bila"],[],["PartGeneric","PartGeneric","PartEngine"],"true"],
    ["ItemShovel",[0,2,1],5,1,true,false,false,true,true,false,false,["CDF_WarfareBVehicleServicePoint

[],["PartGeneric","PartGeneric","PartWoodLumber"],"true"]

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By looter809
      craftAnything for DayZ Epoch 1.0.7.1+
      A script I originally wrote for TLF servers, but with their permission I am releasing to the public to celebrate getting the A2 Community Dev role in the Epoch Discord. This script allows you to add a ton of craftable items to your server. It is super modular, and takes up very little space. It is also very easy to configure. You can add as many configs as you want. TLF has come up with about 40 custom crafting configs, I have included their turret configs in the example configVariables.sqf file.
      Installation & Setup
      Download the code as a zip file here https://github.com/ZzBombardierzZ/DayZ-Epoch-CraftAnything/archive/refs/heads/main.zip
      Copy the craftAnything.sqf file into your mission folder, inside of a "scripts" folder. Example: "ServerRoot\mpmissions\DayZ_Epoch_11.Chernarus\scripts\craftAnything.sqf"
      In configVariables.sqf, find the DZE_CLICK_ACTIONS array and add the desired configs to it. See the example configVariables.sqf file for more info.
      Go into the newly created craftAnything.sqf file and edit the "CONFIG SECTION" to your liking. Read the comments in the file for more info.

      Battleye Filters
      If you are using Battleye on your server, you will need to update your scripts.txt file to allow the script to run. I am not going to provide a list of filters unfortunately. It is fairly easy to do yourself. You can look at OpenDayz Guide to BattlEye to learn more about BattlEye filters and use eraser1's BE_AEG to generate scripts.txt filters automatically.
      Credits
      As mentioned before, I originally wrote this script for TLF servers. I would like to thank them for allowing me to release this to the public. I would also like to thank the Epoch Discord community for their help and support and for giving me the opportunity to become a Community Developer.
      License
      There is none. But please give credit where credit is due. If you do use this script, please let me know. I would love to see what you do with it.
      Contact
      If you have any questions, comments, or concerns, please feel free to contact me on Discord at ZzBombardierzZ#5945 or in the Epoch Discord server.
      Changelog
      v1.0.0 - Initial release
    • By Bricktop
      Good morning, survivors. 

      Is there anyone out there still hosting A2 Epoch? I'm addicted and can't seem to walk away. I'm looking to add gem crafting to my server but I can't seem to find a working script. I've installed the ones below but they either have problems or I'm doing something wrong. Any help would be appreciated! I've installed alchemy crafting in the past but there have been a lot of updates since. Is there anyone out there that would be willing to share a working script with a friend in need 

      Tried and failed with these:
       


      Thanks for any help,
    • By FG_Trap
      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
       
    • By Ghostrider-GRG
      For a while now I have wanted to put together an addon that makes available additional storage containers and, in the future, other craftable items like heli pads, additional lights and so forth. To that end, and with quite a lot of help from Grahame, I offer V 0.1 of Extended Base Objects for Epoch. It offers a variety of additional storage containers and an easy method for installation.
      Installation: download from my github here:  https://github.com/Ghostrider-DbD-/EB4E
      Subscribe on Steam here: https://steamcommunity.com/sharedfiles/filedetails/?id=1475332817
      Unpack your mission.pbo using PBO manager or its equivalent.
      Copy all files from the mapname.epoch folder to the folder created by unpacking your mission.
      Repack your mission.
      Copy @EB4E to the same folder containing @Epoch and @epochhive on your server. 
       Copy the key found in @EB4E\Key to the \keys folder on your server.
      Add "EB4E" to the -mods="@Epoch;blahblah;" parameter for server startup.
      Players can subscribe to the mod here: https://github.com/Ghostrider-DbD-/EB4E
    • By NoxSicarius
      NOTICE For those who want to use this in 1.0.6
      Instead of using this one, I suggest visiting the following thread for game version 1.0.6 and up
       
      The tools are partially updated for the new release. Most features are working so far and it can be downloaded from here (follow the readme for install): https://github.com/noxsicarius/Epoch-Admin-Tools/tree/TestBranch

       
       
      IMPORTANT:
      Under NO circumstances should you download this tool from a different source. I have been notified of numerous virus downloads listed as my work (usually second page of google and farther). I have petitioned to have all of the ones I know of blacklisted and have sent virus profiles to all major antivirus companies. If you find a .exe in any work claiming to be mine, it is a virus and should be shredded. 
      Please only download from MY github link or the links in this post.
      My github repo will NEVER be removed and if I leave the project and someone wishes to take over, they will be given rights to the repo.
       
      Features:
       
      For help with Administration:
      Multiple Admin levels Spectate players "Display code" for locked vaults/doors "Create key" for vehicles with lost keys Force lock and unlock vehicles without keys Base Destruction - Destroy all buildables/vehicles within a customizable radius Spawnable crates with weapons, items, and supplies Spawn locked or temporary vehicles via the menu or a custom-made graphical vehicle menu (screenshot) Other features:
      Godmode Teleport self (or others to you) Flying Invisibility Delete and repair/refuel vehicle on crosshairs ESP - display players, zombies, safes, tents, vehicles, and AI on the map ...and more! Installation, changes, additional information, FAQ, credits, issues and everything else can be found at the project page on Github:

      Epoch Admin Tools on GitHub
      Click here for an install tutorial video for the tool
      I have been informed that some places block GitHub, so here are direct links hosted by me:
      Newest full release: https://www.dropbox.com/s/pjvj07u5yemo7we/Epoch-Admin-Tools-master.zip?dl=0
      Beta build: https://www.dropbox.com/s/xm6t1k3gvp3t8ex/Epoch-Admin-Tools-TestBranch.zip?dl=0


      If you have an improvement you would like to add, make a pull request and make these tools even better!


      Error Reporting:
       
      BEFORE posting an issue on Github or on this forum:
      If you think you might have installed it incorrectly, follow the YouTube Video Install Tutorial Try reinstalling the tool. You more than likely missed something important. Do a quick search on this forum for a fix to your problem. Check your server's RPT log for errors. This will identify 99% of problems with the menu. Be ready to copy/paste the RPT log into Pastebin or Gist in an issue or in the discussion forum for help with troubleshooting. If your problem persists after doing the above:
      Open your arma2oaserver.rpt file in a text editor and copy/paste the RPT log into Pastebin and post your issue in this forum with the rpt log. If you post something like "It doesn't work" I will not acknowledge you. Not giving all possible details in the first post simply makes it take longer to resolve and will waste everyone's time. I am hard pressed for time these days so if you won't take the initiative to provide information, I won't ask for it either. I am not trying to be mean, but I am quite tired of getting 5 or less word posts that provide no information other than this person has some kind of problem somewhere on their server that may or may not be related to this mod. If the problem you are posting is a bug and not a general install problem then post it to this forum AND to the github issues page.  
      I have been asked by someone if they can donate to the project so I am adding the link here.
       
       
      I have invested a good deal of time into this so if you find it useful please give a little donation.
      (DONATE)
      I also accept Crypto Currency: 
      Bitcoin: 1GkzMzwnVwVpnUCVFaAyLDsgD9cqSfigdm
      Litecoin: LbUrUxXzA557VeTWXM8jP7hNf3uZHEqW5b
       
      A sincere thanks to those who made a monetary contribution to this project: calamity, CRHASH, BMovieQueen, zixxel, 8BitSigdom, Anarior, f3cuk, Caveman1, Nathan, [member=WootyWoop], [member=Terrance Smith]
      A huge thanks to those who make the community a better place by answering questions on this project: @juandayz, @EditedSnowHD
      Please leave your name in a note if you donate so that I can list you above.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...