Jump to content
  • 0
Sign in to follow this  
Darkness073

Trade ores for ingots

Question

So I have a file in the scripting that allows trading of gems to briefcases or briefcases to gems

 

 

 

 

With smelting ores being bugged, since like forever, I wonder whether anyone knows of a script that will trade ores for ingots, similar to the gem trades (done at every trader)

 

 

 

 

thanks in advance :)

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I simply added them to cgf trader and made a new menu in the neutral black market dealer

 

 

 

 

 

class Category_912 {

class ItemRuby {
type = "trade_items";
buy[] = {4,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class ItemObsidian {
type = "trade_items";
buy[] = {4,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class ItemCitrine {
type = "trade_items";
buy[] = {4,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class ItemAmethyst {
type = "trade_items";
buy[] = {4,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class ItemEmerald {
type = "trade_items";
buy[] = {4,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class ItemTopaz {
type = "trade_items";
buy[] = {4,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class ItemSapphire {
type = "trade_items";
buy[] = {4,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class PartOreGold {
type = "trade_items";
buy[] = {1,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class PartOreSilver {
type = "trade_items";
buy[] = {1,"ItemSilverBar"};
sell[] = {1,"ItemSilverBar"};
};
};

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...
Sign in to follow this  

  • Similar Content

    • By Cyrus
      Hi,
      I have successfully set up an Arma 3 Epoch altis server (private for now) with a bunch of server side mods running. One of them is the Black Market Trader found elsewhere in the forums. My question is how do i add weapons and gear from the DLC expansions (MARK, HELI) etc. more specifically gear and weapons. I have seen on the BMS server they have gear specific to APEX and helis specific to HELI DLC. My black market trader does not have any of the DLC gear and weapons but only some of the heli's like the Huron and Taru. I own all of the DLC's and they are all present on the server folder structure. I cannot spawn them either using the builtin Anti Hack admin menu as they aren't present.
       
      I there any way that i can make them visible th AH menu and black market trader?
       
      Thanks in advance
    • By Mart123
      Hey, i have a question.
       
      How, and where do i change the prices for my traders in my Dayz Epoch server?
       
       
    • By ViktorReznov
      This here is a modification to Zupas Advanced Trading. It did not sit well with me that on a Post-Zombie Apocalyptic that there were traders that would never run out of stock and with enough cash, you would want for nothing. No bueno, this is my first attempt to remedy this crisis. With every server startup, the economy will be set with a random variable that will modify the buy sell prices simultaneously. On startup you could be selling your gear for up to 2x its normal price and buying for half of the cost!  The prices now change every 30 minutes (configurable) and with a more balanced range. This is release one, designed to put the idea out there with an example of the code. THIS IS NOT BALANCED IN ANY WAY SHAPE OR FORM AND IS HIGHLY EXPLOITABLE.  Code is currently sound and not exploitable as is.BUT STILL COULD BE IF YOU CONFIGURE WRONG!
      This is only compatible with Zupa's single currency, although it could be modified i suppose to fit old currency system thanks to zupas built in function
      Still ToDo:
      Rebalance Trader Prices Completed, now with stock config you cant exploit the system
      Prices change over time Completed, thanks to this amazing community!
      Actual trader stock determines per trader/per item prices
      Additional variables that modify prices further (but in smaller and more dynamic ways (ie trader boons for expert zombie hunting)
      STILL THINKING
      Install Instructions 
      Download https://github.com/Arstan13/AdvancedTradingEconomy
      For Right now this is usable and not exploatable as is and just adds a little bit of flavor to traders. Open to suggestions and teaching! This was the first script I attempted to modify that was a bit more indepth than some of the other things ive tried.
      ALL SOURCE CODE IS NOT MY WORK, ADVANCED TRADING IS THE GENIUS OF ZUPA AND THE TRADER CONFIGS ARE ALSO COURTESY OF ZUPA! IVE MERELY MODIFIED THEM TO ENJOY A NEW FUNCTION!
      Straight from epoch 106 updates thread. https://epochmod.com/forum/topic/42887-arma-2-dayz-epoch-106/
      [NEW] Optional variable to prevent stealing from backpacks by non-friendlies at traders. Set DZE_BackpackAntiTheft = true; in init.sqf @ebayShopper 29 [NEW] A much improved version of Zupa's Advanced Trading 2.1+ is now the default config trader menu, NOT COMPATIBLE WITH DATABASE TRADERS @icomrade @Windmolders … 37 [NEW] Door Management v3.0+ by Zupa is now included and enabled by default with variable DZE_doorManagement, see configVariables.sqf @DevZupa @Bruce-LXXVI @ebayShopper  
    • By Gabriel12237
      Hello Community i need help .

      Sorry for my bad english. Im from germany and i need help.

      I Have Advanced trading and Single currency 3.0 (without global banking) from zupa, and when i sell or buy in the normal trading menu , the trader dont use coins from me. With advanced trading menu the trader use coins for the item.

      Pls help me.

      Thx
    • By vbawol
      For some of the newly supported CUP terrain maps I have added a new feature that allows for dynamically placed trader cites and NPC traders. 
      The server will attempt to load a template from 'CfgPropTemplate' when the 4th 'telePos' array element is a string.
      For example Sahrani uses 3 trader city templates (north,east,west) 
      https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server_settings/configs/maps/Sara.h#L38
      The initial seed location for these are pulled from Marker locations with the same names. https://github.com/EpochModTeam/Epoch/blob/master/Sources/mpmissions/epoch.Sara/mission.sqm#L2077-L2094
      The CfgPropTemplate template data (the actual templates) are contained in the server settings pbo here: https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server_settings/configs/templates/CfgPropTemplate.h
      You can customize these templates. The script needed to generate the configs and was made to work with the new 3d "eden editor" can be found here. https://github.com/EpochModTeam/Epoch/blob/8bbec6258a45345080832212299f3aed223a8452/Tools/SQF/saveTraderCityTemplate.sqf
      Currently the 4 existing templates (north,east,west,south) are the same exact layouts and will likely made more unique in future patches.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...