Metalfoundry Posted March 25, 2015 Report Share Posted March 25, 2015 Dear devs and/or official hosts, is it possible to show us the layout of the trader part of the new config file, so we could prepare our trader (products & prices) before the release? It will be a lot of work and I would like to finish this as soon as possible.. So we would have an easear start when you release the files. Great game, i really anticipate the new version. Metal Nic 1 Link to comment Share on other sites More sharing options...
1Man Posted March 25, 2015 Report Share Posted March 25, 2015 Actually that's a very good idea +1000 Krypto Link to comment Share on other sites More sharing options...
Dwarfer Posted March 25, 2015 Report Share Posted March 25, 2015 Hi, I am no DEV nor official host. However if you look at the a3_epoch_config.pbo and find the file called CfgPricing.hpp you can see the following.. From what I have read and understand of the way its loaded I believe it will be the same format. and will just be a new call to overwrite the current pricing with an #include in the description.ext HOWEVER it would be good to get this 100% first as you said :-) class CfgPricing { class ChainSaw {price = 125;}; class CircuitParts {price = 50;}; class ItemCoolerE {price = 50;}; class JackKit {price = 25;}; class ItemLockbox {price = 250; tax = 0.5;}; class ItemCompass {price = 3;}; class ItemGPS {price = 20;}; // Radios class EpochRadio0 {price = 2;}; class EpochRadio1 {price = 4;}; //More just cut it out for now }; Link to comment Share on other sites More sharing options...
Darth_Rogue Posted March 25, 2015 Report Share Posted March 25, 2015 Go to a3_epoch_config in your @Epoch folder. Find cfgPricing.hpp and edit till your heart's content. With 0.3 you just place the hpp file in your mission and call it from description.ext. Yep. It's that simple. Link to comment Share on other sites More sharing options...
SpiRe Posted March 25, 2015 Report Share Posted March 25, 2015 Yes its public in Epoch client settings files Link to comment Share on other sites More sharing options...
Tango2k13 Posted March 25, 2015 Report Share Posted March 25, 2015 So its possible to add @mas weapons to traders with the CfgPricing File? Link to comment Share on other sites More sharing options...
vbawol Posted March 25, 2015 Report Share Posted March 25, 2015 The CfgPricing format has not changed, just that you can now use CfgPricing via the missionconfig. Because of this you will be able to add any items you want. BFranek and Ghostrider-GRG 2 Link to comment Share on other sites More sharing options...
Tango2k13 Posted March 25, 2015 Report Share Posted March 25, 2015 The CfgPricing format has not changed, just that you can now use CfgPricing via the missionconfig. Because of this you will be able to add any items you want. Thank yo finally i got my answer :) That feature is very cool Thank you very much for this Update.Now i prepare my @mas weapons price list ;) Link to comment Share on other sites More sharing options...
BenR Posted March 25, 2015 Report Share Posted March 25, 2015 Lol prepare for influx of mas weapons threads on the forums :) Link to comment Share on other sites More sharing options...
Metalfoundry Posted March 25, 2015 Author Report Share Posted March 25, 2015 Ok, thnx a lot for this information! But in the CFGpricing.hpp you can define only one price for an item... how can we define different prices for one item at several traders? Example: Chainsaw: Trader 1: 500 Krypto Trader 2: 1000 Krypto Link to comment Share on other sites More sharing options...
Dwarfer Posted March 25, 2015 Report Share Posted March 25, 2015 Metalfoundry, From what I am seeing in the code this is not possible ATM. Link to comment Share on other sites More sharing options...
Schloti1993 Posted March 25, 2015 Report Share Posted March 25, 2015 One Question can we change the buy price and sell price? Link to comment Share on other sites More sharing options...
Dwarfer Posted March 25, 2015 Report Share Posted March 25, 2015 Schloti1993, I think that is what the TAX is for.. Testing that myself ATM class ItemLockbox {price = 250; tax = 0.5;}; ** Sells for 250 buy for 400 Link to comment Share on other sites More sharing options...
Schloti1993 Posted March 25, 2015 Report Share Posted March 25, 2015 Thanks I hope so at the moment all prices really shit ^^ Link to comment Share on other sites More sharing options...
Metalfoundry Posted March 25, 2015 Author Report Share Posted March 25, 2015 Metalfoundry, From what I am seeing in the code this is not possible ATM. :ph34r: I was sure that i´ve read this in the forums.... hm, hm, hm........ Link to comment Share on other sites More sharing options...
pr0dukt Posted March 25, 2015 Report Share Posted March 25, 2015 The setup is essentially what' maca at ccg had prior to the 2.5 release, however he used his Emod addon to precompile any serverside/mission configs before epochs, therefore bypassing that pricingcfg. AWOL just made this method possible without using a bypass mod and are now able to use the .hpp file called directly from missiom config .ext with simple a #include. =] huuuge thanks for allowing this on this update. Not being able to add in mas items/vehicles to the roster has been terribly annoying. Players will be stoked to finally be able to put a value on them. cyncrwler 1 Link to comment Share on other sites More sharing options...
Schloti1993 Posted March 26, 2015 Report Share Posted March 26, 2015 how to add this? all the times doesnt work Link to comment Share on other sites More sharing options...
happydayz Posted March 26, 2015 Report Share Posted March 26, 2015 The CfgPricing format has not changed, just that you can now use CfgPricing via the missionconfig. Because of this you will be able to add any items you want. so as long as we call it the same way as you are calling the new loot tables in the server settings config eg: #include "\epochpricing.hpp" im assuming it will work... guess ill go test it now and see! Link to comment Share on other sites More sharing options...
Schloti1993 Posted March 26, 2015 Report Share Posted March 26, 2015 i have try it put notjing change Link to comment Share on other sites More sharing options...
Brian Soanes Posted March 26, 2015 Report Share Posted March 26, 2015 Make a new file in your mission file called CfgPricing.hpp Copy the pricing from the client files, it looks like this class CfgPricing { class ChainSaw { price = 125; }; }; etc etc Then you have to put this at the bottom of description.ext in your mission file #include "CfgPricing.hpp" Link to comment Share on other sites More sharing options...
Schloti1993 Posted March 26, 2015 Report Share Posted March 26, 2015 Make a new file in your mission file called CfgPricing.hpp Copy the pricing from the client files, it looks like this class CfgPricing { class ChainSaw { price = 125; }; }; etc etc Then you have to put this at the bottom of description.ext in your mission file #include "CfgPricing.hpp" I´m testing cant after change the price cant sell it Link to comment Share on other sites More sharing options...
happydayz Posted March 26, 2015 Report Share Posted March 26, 2015 works fine :) Brian Soanes 1 Link to comment Share on other sites More sharing options...
happydayz Posted March 26, 2015 Report Share Posted March 26, 2015 now the horrible job of adding all the non attachment @mas weapons in for our cherno server... brain numbing!! Link to comment Share on other sites More sharing options...
1Man Posted March 26, 2015 Report Share Posted March 26, 2015 So happy you adding in the attachments or just the weapons themselves? Link to comment Share on other sites More sharing options...
happydayz Posted March 26, 2015 Report Share Posted March 26, 2015 weapons themselves without attachments, and then adding the attachments and mags seperately - so many lines... gotta sleep! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now