Config traders:
server_traders.sqf
//UPDATE ARRAY ON TOP!
serverTraders = ["Winter_SOF_DA1b",
//Overpoch
menu_Winter_SOF_DA1b = [
[["Pistols",900],["RH",901],["FHQ",902],["Vil",903],["Misc",904],["Ammo",905],["Vehicles",906]],
[],
"neutral"
];
Dayz_Epoch_11.Chernarus\mission.sqf (dayz_server.pbo): (animated badass looking traders)
_unit_670 = objNull;
if (true) then
{
_this = createAgent ["Winter_SOF_DA1b", [6296.33,7803.79,0], [], 0, "CAN_COLLIDE"];
_unit_670 = _this;
_this setDir 310;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; /*_this disableAI 'MOVE';*/ _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;/*_this enableSimulation false;*/};
_unit_671 = objNull;
if (true) then
{
_this = createAgent ["Winter_SOF_DA1b", [11449.9,11349.8,0], [], 0, "CAN_COLLIDE"];
_unit_671 = _this;
_this setDir 120;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; /*_this disableAI 'MOVE';*/ _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;/*_this enableSimulation false;*/};
_unit_672 = objNull;
if (true) then
{
_this = createAgent ["Winter_SOF_DA1b", [4030.66,11678.5,0], [], 0, "CAN_COLLIDE"];
_unit_672 = _this;
_this setDir 140;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; /*_this disableAI 'MOVE';*/ _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;/*_this enableSimulation false;*/};
Overpoch.hpp:
http://pastebin.com/nfp5sbAL
Instructions:
Create new overpoch.hpp file near rest of configs and update your cfgServerTrader.hpp file like so (just add that single line):
#include "Category\NeutralWholesale.hpp"
#include "Category\Overpoch.hpp"
};
note: I feel obligated to remind you to use your own folder structure in these lines. In my example I have all my trader .hpp files inside "Category" folder that is found in root of mission file.