Jump to content

Search the Community

Showing results for tags 'custom crafting'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello Epoch forums! I was working on a custom crafting system when I found Raymix's Emerald Interiors. I really liked what he had in his system but saw that he was no longer working on it or updating it. My system had a menu but didn't have many items in it so I talked to him about using his item lists and bringing out an in depth crafting system with tons of items. Where my old system had 77 items, and his had 193, this new system has over 550! The name of this mod came from a couple users asking how in the world can you make a bed out of a Ruby and someone said Alchemy! So what does this add that other systems do not? An easy to use interface that also includes a preview function so players can tell the difference between MAP_Misc_Well and Land_Misc_Well_C before they run out and scavenge materials to make them. I also tried to add realistic ingredient and tool lists to most items but for most of the misc or small items I went with just a gemstone and/or gold costs. The main reason I added the extra costs was to limit players from having hundreds of these items all over the map as they do save to the database like Epoch craftables. I wanted this to be something more for player's to work towards. On our server we have a rather large Sector B mission that unfolds in three stages and the rewards at the end include gemstones. While we have a gem trader to buy and sell the gems it seemed like a waste to have nothing else to do with the gemstones. Demonstration Videos: Where I live is very loud with traffic and outside noise so they have music instead of me talking. If you don't care for heavy metal you may want to mute your speakers :) This video is of v1.3 so there are many more items included now but I kept the general categories for each gemstone the same. Demo of the menu system itself: I re-purposed an old UAV script I had written a while back for vanilla Arma 2 for the preview function Installation guide: PLEASE DO NOT SKIP THE CONFLICTS SECTION! Multiple people in this thread have run into issues with certain parts of my script causing problems for other scripts like Snap Pro and Deploy anything and the fixes are currently listed in the conflicts sections. UPDATE! Added more conflict resolutions including one for Zupa's single currency. Assumptions in this guide: You have a basic understanding of scripting for Arma2. You are familiar with using custom files and overriding values via script. If you do not use any of the listed below files you will need to use Google to find out how to unpack your pbos and utilize these custom files. STEP 1. Create a folder in your mission folder called custom if you do not already have one. Download the attached file, (Buildables.zip). Unzip and place the Buildables folder into your custom folder. Buildables.zip STEP 2. Changes you need to make to your files: Antihack edits: If you do not use BE filters you can skip STEP 2.d and if you do not use Infistar Antihack you can skip STEP 2.e. Step 2.d keeps players from being kicked when they attempt to create an item with box in it's name. Step 2.e will allow your admins to use Infistar's base delete tool to remove items crafted with this system as well as the Epoch items. You are now ready to get crafting! User guide: Item categories you can craft: Notes on possible conflicts with the included files: class HOGSListBox { 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[] = {0.95,0.95,0.95,1}; colorBackground[] = {0,0,0,0.3}; 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; }; my dialogs.hpp I also have redefined a custom dayz_spaceInterrupt in my Crafting_Compiles.sqf. That section of code is necessary as it not only allows players to spin the item in small increments using the 1 & 3 keys but it also captures any key presses that then trigger the Preview menu to close and return to the main crafting screen. Without that code, any player using the Preview will have to log out if they hit ESC or Backspace as it will simply close out the dialog buttons that allow them to Return and leave them staring at the item. I do not use Plot for Life so I do not know what may or may not conflict with that addon while using this addon. My system does utilize a custom player_build and does check for plot poles so if you are using that plot pole addon you may need to edit the custom_builds.sqf. I have not tested the below code but it was submitted by StiflersM0m as a fix for plotforlife. I included it here as a quick ref for anyone reading this first before immediately downloading. Thank you to stiflersM0M and emwilsh for the heads up on Snap Pro. Thank you also to Stranger for pointing out a couple typos that might have hemmed some of you up. If you are using Snap Pro system you can integrate my system with that one by opening my Crafting_Compiles.sqf and deleting the dayz_spaceinterrupt function from the bottom of that file. This function starts on line 256. Delete everything from line 256 to the end of the file. Then navigate to custom\Snap_Pro\dayz_spacensterrupt.sqf and open that file. You will need to add GlobalPreviewVariable = 1; into the empty space on line 3. And near the very bottom, you need to add // num 1 or 3 above qwerty if (_dikCode == 0x02) then { AAC_1 = true; }; if (_dikCode == 0x04) then { AAC_3 = true; }; just BEFORE\ABOVE the line _handled I disabled the functionality of the 2 button for now as what I wanted it to do isn't working. Adding those two things to Raymix's dayz_spaceinterrupt.sqf will stop the conflicts between the two systems. If you are using the Deploy Anything script, Epoch forums user Calamity has worked up a fix that will allow my script to work with it. Please see for the correct format. If you would like to add the detach with F like in Snap Pro,The Hound posted this reply on page six: For anyone who has snap pros space interrupt and wants the F key function from it in this here is the custom_build http://pastebin.com/Sx3BK5TC. Thank you to Zupa for making a combined defines.hpp that eliminates the conflict between his mods and this one. Just delete my crafting_defines.hpp, remove #include "custom\Buildables\Crafting_Defines.hpp" from your description.ext and replace his defines.hpp with the one in the above link. If you find any other addons that conflict with this one please let me know and I will add them to this section. I may not have the time to test out or work out a fix but I will include any issues and fixes that you guys come up with in this section. Known Issues: NEW! HOW TO ADD NEW CATEGORIES! I spent a lot of time on the offsets for these items to ensure that the item was at a good distance from the player, but if you find something that could be better, please post the item and offset below. Many items that are grouped together have similar offsets and I did that to cut out a few thousand lines of code from the MT_Defines.hpp. In some cases this means an item may be a little closer or further than what would be perfect, but when you look at everything in the group it makes sense to that group. In some cases like the Topaz items, many items have their own definitions. I have been running this on a Cherno server with just Epoch as well as an Origins Epoch server that just used the Origins map and vehicles without issues. If you do find you are having trouble with this on another map, just let me know and I will do what I can to help you out. It works with edited BE filters and Infistar and is working on both of the above servers with 1.0.5.1/125548. I also had this previously running under 1.0.4.2/112555 and 1.0.5.1/112555. Now that I've tested it out quite a bit I wanted to give v3.3 to the community and hope other people can get some use out it. Thank you guys for any feedback you can give and if you find an issue or mistake in this guide, please let me know! Thank you to: Maca for his Right Click script: http://epochservers.com/viewtopic.php?f=14&t=13 Raymix for Emerald Interiors that made me realize that I didn't have to settle on just 10 items in a menu list from maca's right click script vbawol for all his awesome work on getting Epoch out there in the first place [GOM] Simbo for helping me test this out and getting a lot of the earlier bugs out of the way. [AFLA] Rick Grimes for helping me test this out on other maps and getting the delete sorted. [OG] Kenshinz and everyone at Origins Gaming Server for helping to test this in a live environment. You can find my system currently running on his server at : 192.99.16.15:2372 EDITED!: Buildables_Experimental.zip If you have read through page 7 of this thread and are interested in the updated version here it is. Please follow my instructions above and do not download this file if you haven't read the post where I talk about it. This is an experimental build and has not been tested.
×
×
  • Create New...