Jump to content
  • 0

adding @mas weapons to traders?


joe201x

Question

24 answers to this question

Recommended Posts

  • 0

its not possible at the moment there is anywhere here a topic with same title.

 

But i have read iam not 100% sure it should be possible in the Next Update.......But like i say iam not 100% sure if this will work.

 

Kind Regards

 

Edit:

 

Yes i found it:

[Added] Edit or add Trader prices "CfgPricing" via the missionConfigFile. (Documentation link)

 

Check the Changelog of upcomming release ;)

Link to comment
Share on other sites

  • 0

Hello,

 

Can please nay Official Dev write if it will be possible in comming Update to add @mas weapons to the traders?

 

I have read this in changelog:

[Added] Edit or add Trader prices "CfgPricing" via the missionConfigFile. (Documentation link)

 

 

Can any Official Dev Please say anything about this?

 

I see so much People that asking for this since Months in Different Topics.

 

Cheers

Link to comment
Share on other sites

  • 0

@BenR, I see. I was told to do this by somebody,

 

"Change the file in a3_epoch_server.pbo in the folder compile/trading/ something like makenpctrade.sqf, change all cfgPricing "configfile" to "missionconfigfile"

Use emod, and precompilefinished the client side addtotrader.sqf aswel, and change all cfgPricing "configfile" to "missionconfigfile" again.

Then copy the cfgpricing from client file epoch_config.pbo, unpack pbo, unrap the config.bin and put cfgpricing into the mission file." 

 

however when i attempted it, after i changed the 'configfile' parts to 'missionconfigfile' in the makenpctrade it broke my server, any idea?

Link to comment
Share on other sites

  • 0
  On 3/25/2015 at 1:29 PM, Tango2k13 said:

Hello,

 

Can please nay Official Dev write if it will be possible in comming Update to add @mas weapons to the traders?

 

I have read this in changelog:

[Added] Edit or add Trader prices "CfgPricing" via the missionConfigFile. (Documentation link)

 

 

Can any Official Dev Please say anything about this?

 

I see so much People that asking for this since Months in Different Topics.

 

Cheers

Do not report your own post to get attention! They will not support a mod unless they are given permission by the original author. 

Link to comment
Share on other sites

  • 0

@VAKE

 

Assuming the format is the same as it was before the update (I haven't looked at new CFGPricing in 3.0)

 

class CfgPricing
{ 

   //..... DEFAULT TRADER ITEMS HERE ...... // 
   

   // MAS 1.8 Machine Guns
   class LMG_mas_mg3_F {price = 175;};
   class LMG_mas_M60_F {price = 175;};
   class LMG_mas_pkm_F {price = 175;};
   class LMG_mas_Mk48_F {price = 175;};
   class LMG_mas_M240_F {price = 175; tax = 0.4;}; 
};

You can also tax items as seen in the last line.

Link to comment
Share on other sites

  • 0
  On 3/27/2015 at 3:04 AM, VAKE said:

Can anyone share their custom trader file, or a snippet? I just want to make sure I get the formatting right.

 

Thanks in advance.

 

  Reveal hidden contents

Link to comment
Share on other sites

  • 0
  On 3/27/2015 at 7:07 AM, Cpt.Freeman said:

 

@VAKE

 

Assuming the format is the same as it was before the update (I haven't looked at new CFGPricing in 3.0)

 

class CfgPricing
{ 

   //..... DEFAULT TRADER ITEMS HERE ...... // 
   

   // MAS 1.8 Machine Guns
   class LMG_mas_mg3_F {price = 175;};
   class LMG_mas_M60_F {price = 175;};
   class LMG_mas_pkm_F {price = 175;};
   class LMG_mas_Mk48_F {price = 175;};
   class LMG_mas_M240_F {price = 175; tax = 0.4;}; 
};

You can also tax items as seen in the last line.

 

I tried this. both with and without tax. it seems it doesnt work. the format looks the same as defualt pricing in there. some other tried this ?

Link to comment
Share on other sites

  • 0

For me it works like it is explained a lot in this thread....

 

Grab your CfgPricing from @Epoch\Addons\a3_epoch_config.pbo\Configs\CfgPricing

Put it in your mission.pbo

Call it in your discription.ext

#include "CfgPricing.hpp"

If you put it in a folder, need to change the path to this folder....

 

Then configure your CfgPricing to your wishes, but think about: 25.000 Crypto is max Crypto for inventory, so nothing should be higher than this.

The Tax can definitly be changed for ALL items in your epochconfig.cpp:

  Reveal hidden contents

That tax could changed in the CfgPricing differently for each item I didn't know and also not tested by me, but changing the price and adding new items/vehicles is tested by me and it works...

 

Hope this will help a little bit...

 

 

//////////////__EDIT____///////////////////

have tested to set a tax for the items in the CfgPricing and it works....

class LMG_mas_M240_F {price = 175; tax = 0.4;};
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...