dayz_sellDistance = 20 in the missions init.sqf Override variable for distance for selling at traders.
Arma 2 config file update#
UPDATE `traders_data` SET qty=10 WHERE qty=0 AND afile'trade_any_vehicle' AND afile'trade_any_boat' Override distance for selling at traders (1.0.1 Only) We recommend running this code daily to ensure that traders have some stock except vehicles and boats since they should normally spawn dynamically and are already sold for profit. Or execute this SQL: UPDATE `traders_data` SET qty=10 WHERE `item` LIKE '%ItemVault%' AND qty=0 Any changes to the qty will be live to the server instantly. In "traders_data" table use Navicat to filter by column "item" then "contains" then "Itemvault" then change the "qty" column to add more stock and click on the checkmark at the bottom to save.
Tid This number must match the trader category id found in the mission file server_traders.sqfĪfile Use the following types each of these represent a different. Use the following as a table for items types in the columns Item, Buy and Sell: The server_traders, trader_items, and trader_tids tables are used by a soon to be released web tool that is used to configure the traders_data table as well as generate server_traders.sqf.Īdding new items to traders INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('',10,'','',0,60,'trade_items') The traders_data table is the only one used at this time by the server. MaxVehicleLimit = 350 // Default : 200 Traders SQL tables used by the game currently Note that the limit is soft and will typically spawn one more than the actual numbers.Įdit the init.sqf variable MaxVehicleLimit and you change the total max vehicles, if this limit is reached no new vehicles will spawn. This controls the type of vehicle and the total limit per vehicle type. 4.1 Remove destroyed vehicles from database:ĭayZ Epoch Configs Mission File: init.sqf Mission File: dynamic_vehicle.sqf Mission File: server_traders.sqf Vehicles Change Vehicle Spawns Įdit AllowedVehiclesList array found in dynamic_vehicle.sqf inside the MPMissions folder for the specific map.3.4 Override distance for selling at traders (1.0.1 Only).
Arma 2 config file how to#
3.3 How to add stock for a specific item:.3.1 SQL tables used by the game currently.