-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by bhswat
-
-
All that I need I can made myself. :)currently it is not possible and its not something i have planned as the point of these traders was not to sell items more expensivly, but was intended to make life easier for the players.
Simple way, but not tested well:
1. rename CfgPricing.hpp -> HSPricing.hpp
2. Change link to file in description.ext
3. Change link in tradermenu.sqf like
_config = "HSPricing" call EPOCH_returnConfig;
4. Change in renamed HSPricing.hpp class CfgPricing -> HSPricing
Common traders selling and buying according to your server settings, blackmarket works with higher taxes.
Maybe somebody need this.
-
I think it would be better to change only Blackmarket prices. The main goal of this script in selling goods to players even if there is no way to buy it at common traders => prices should be higher at Blackmarket then at common traders.setting taxes and prices is for all your servers traders, not only this trader.
Ex.:
- you can find Hunter at common trader, it will costs 5000, but it would spend a lot of time.
- you can go to Blackmarket and buy it there, it will costs 15000 for example, but fast. Also there is a new opportunity to make ambush near Blackmarket to earn some cash.
Is it possible to change script in that way or there is some restriction in Epoch code?
-
Hi.
I had one problem connected with localization in your tradermenu.sqf
It would be better to use _index in case to avoid problems with not English localization.
case 5:{ { _id = _x; _index = _ctrl tvAdd [[_mainindex],_id select 0]; _ctrl tvSetPicture [[_mainindex,_index],_id select 1]; _ctrl tvsetValue [[_mainindex,_index],-1]; switch(_index)do{ case 0:{ { _index2 = _ctrl tvAdd [[_mainindex,_index],_x select 0]; _ctrl tvSetPicture [[_mainindex,_index,_index2],_x select 1]; _ctrl tvsetValue [[_mainindex,_index,_index2],-1]; _sp pushBack [_mainindex,_index,_index2]; }forEach [ [localize "STR_HS_PLANES","\a3\Ui_f\data\gui\Rsc\RscDisplayGarage\plane_ca.paa"], [localize "STR_HS_HELICOPTERS","\a3\Ui_f\data\gui\Rsc\RscDisplayGarage\helicopter_ca.paa"], [localize "STR_HS_OTHER","\a3\Ui_f\data\gui\Rsc\RscDisplayGarage\texturesources_ca.paa"] ]; }; case 1:{ { _index2 = _ctrl tvAdd [[_mainindex,_index],_x select 0]; _ctrl tvSetPicture [[_mainindex,_index,_index2],_x select 1]; _ctrl tvsetValue [[_mainindex,_index,_index2],-1]; _sp pushBack [_mainindex,_index,_index2]; }forEach [ [localize "STR_HS_CARS","\a3\Ui_f\data\IGUI\Cfg\MPTable\soft_ca.paa"], [localize "STR_HS_GOKARTS","A3\Soft_F_Kart\Kart_01\data\UI\Kart_01_base_CA.paa"], [localize "STR_HS_TRUCKS","\a3\Ui_f\data\map\VehicleIcons\picturepapercar_ca.paa"], [localize "STR_HS_APCS","\a3\Ui_f\data\map\VehicleIcons\iconapc_ca.paa"], [localize "STR_HS_TANKS","\a3\Ui_f\data\map\VehicleIcons\icontank_ca.paa"], [localize "STR_HS_OTHER","\a3\Ui_f\data\gui\Rsc\RscDisplayGarage\texturesources_ca.paa"] ]; }; };
Also I have unsolved problem yet: when tax implemented to something it works not only for Blackmarket, but for common traders too. It's only my problem or it's general?
[Release] HS Blackmarket 1.6 | 'New' Trader System | Special Trader | Blackmarket
in Scripts
Posted