Sign in to follow this  
Followers 0
Paul

Prices in config.cpp

3 posts in this topic

Hi All,

I'm just trying to set to some prices in config.cpp. We are looking to set some prices so that you can sell them at a much less price than you buy them for.

I noticed that some prices in the file are like:
    class 3Rnd_Smoke_Grenade_shell                    { quality = 3; price = 8*3; };

What does this mean? what is the 8*3 price?

Paul

Share this post


Link to post
Share on other sites

3*8=24. I noticed that they sometimes use that for magazines with multiple rounds, it's just a more complicated way of adding prices.

Share this post


Link to post
Share on other sites

"\exile_server\code\ExileServer_system_trading_network_sellItemRequest.sqf"

line 76:
_sellPrice = floor (_salesPrice * 0.5);

changing the 0.5 would globally change all items to that percentage.
alternatively you can make more major modifications to that file and add a sell price to each item in the price list.


try something like this if you feel adventurous
http://pastebin.com/aRbPbw8P

^
refer to line 3 for support

enjoy
<3

 

Share this post


Link to post
Share on other sites
Advertisement

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.