Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created with Exile Mod 3DEN Plugin
- * www.exilemod.com
- */
- if (!hasInterface || isServer) exitWith {};
- // 16 NPCs
- private _npcs = [
- ["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "WhiteHead_05", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"H_RacingHelmet_4_F","G_Combat",[],["","","","","",""]], [15139.1, 4945.27, 166.735], [-0.155659, -0.987811, 0], [0, 0, 1]],
- ["Exile_Trader_VehicleCustoms", [], "Exile_Trader_VehicleCustoms", "WhiteHead_20", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"","",[],["","","","","",""]], [15127.4, 4938.48, 167.298], [0.714439, 0.699697, 0], [0, 0, 1]],
- ["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_01", [[],[],[],["U_I_G_resistanceLeader_F",[]],["V_Rangemaster_belt",[]],[],"H_Hat_brown","",[],["","","","","",""]], [15150.5, 4965.27, 166.545], [0.617717, 0.7864, 0], [0, 0, 1]],
- ["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_15", [[],[],[],["U_I_G_Story_Protagonist_F",[]],["V_Rangemaster_belt",[]],[],"H_MilCap_gry","G_Combat",[],["","","","","",""]], [15173.8, 4982.66, 164.98], [-0.685603, -0.727975, 0], [0, 0, 1]],
- ["Exile_Trader_SpecialOperations", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_SpecialOperations", "WhiteHead_04", [["arifle_MX_Black_F","","","",[],[],""],[],[],["U_B_CTRG_1",[]],["V_PlateCarrierGL_blk",[]],["B_Parachute",[]],"H_HelmetB_light_black","G_Balaclava_lowprofile",[],["","","","","","NVGoggles_OPFOR"]], [15212.7, 4946.79, 163.211], [0, 1, 0], [0, 0, 1]],
- ["Exile_Trader_Hardware", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_Hardware", "AfricanHead_01", [[],[],[],["U_C_WorkerCoveralls",[]],["V_BandollierB_rgr",[]],["B_UAV_01_backpack_F",[]],"H_Booniehat_khk_hs","G_Tactical_Clear",[],["","","","","",""]], [15220, 4953.81, 163.211], [-0.780485, -0.625175, 0], [0, 0, 1]],
- ["Exile_Trader_Food", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_Food", "WhiteHead_02", [[],[],[],["U_C_Poloshirt_blue",[]],[],[],"H_Cap_tan","",[],["","","","","",""]], [15215, 4958.82, 163.21], [-0.668741, -0.743495, 0], [0, 0, 1]],
- ["Exile_Trader_Equipment", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_Equipment", "AfricanHead_02", [["arifle_MX_GL_Black_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_I_G_resistanceLeader_F",[]],[],"H_Watchcap_khk","G_Combat",[],["","","","","",""]], [15208.4, 4951.7, 163.211], [0.761063, 0.648678, 0], [0, 0, 1]],
- ["Exile_Trader_Armory", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_Armory", "WhiteHead_01", [["srifle_DMR_06_olive_F","","","",[],[],""],[],[],["U_Rangemaster",[]],["V_Rangemaster_belt",[]],[],"H_Cap_headphones","G_Shades_Black",[],["","","","","",""]], [15201.3, 4958.61, 163.208], [0.938974, 0.343987, 0], [0, 0, 1]],
- ["Exile_Trader_RussianRoulette", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_RussianRoulette", "WhiteHead_10", [[],[],["hgun_Pistol_Signal_F","","","",[],[],""],["U_Marshal",[]],["V_Rangemaster_belt",[]],[],"H_Cap_marshal","G_Sport_Blackyellow",[],["","","","","",""]], [15074.5, 4913.13, 169.703], [0.451781, 0.892129, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["AmovPercMstpSnonWnonDnon"], "", "GreekHead_A3_08", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Combat",[],["","","","","",""]], [15163.2, 4913.82, 167.186], [-0.715244, 0.698875, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["AmovPercMstpSnonWnonDnon"], "", "WhiteHead_16", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","",[],["","","","","",""]], [15163.4, 4915.57, 167.186], [-0.211615, -0.977353, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["AmovPercMstpSnonWnonDnon"], "", "WhiteHead_21", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Combat",[],["","","","","",""]], [15119.3, 4965.81, 168.099], [-0.998471, 0.0552725, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["AmovPercMstpSnonWnonDnon"], "", "GreekHead_A3_05", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Tactical_Clear",[],["","","","","",""]], [15153.3, 4975.93, 165.986], [-0.435137, 0.900364, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["AmovPercMstpSnonWnonDnon"], "", "WhiteHead_19", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Tactical_Clear",[],["","","","","",""]], [15163.8, 4962.45, 165.182], [0.940266, -0.340441, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["AmovPercMstpSnonWnonDnon"], "", "WhiteHead_03", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","",[],["","","","","",""]], [15194.8, 4961.07, 163.206], [-0.752936, -0.658093, 0], [0, 0, 1]]
- ];
- {
- private _logic = "Logic" createVehicleLocal [0, 0, 0];
- private _trader = (_x select 0) createVehicleLocal [0, 0, 0];
- private _animations = _x select 1;
- _logic setPosWorld (_x select 5);
- _logic setVectorDirAndUp [_x select 6, _x select 7];
- _trader setVariable ["BIS_enableRandomization", false];
- _trader setVariable ["BIS_fnc_animalBehaviour_disable", true];
- _trader setVariable ["ExileAnimations", _animations];
- _trader setVariable ["ExileTraderType", _x select 2];
- _trader disableAI "ANIM";
- _trader disableAI "MOVE";
- _trader disableAI "FSM";
- _trader disableAI "AUTOTARGET";
- _trader disableAI "TARGET";
- _trader disableAI "CHECKVISIBLE";
- _trader allowDamage false;
- _trader setFace (_x select 3);
- _trader setUnitLoadOut (_x select 4);
- _trader setPosWorld (_x select 5);
- _trader setVectorDirAndUp [_x select 6, _x select 7];
- _trader reveal _logic;
- _trader attachTo [_logic, [0, 0, 0]];
- _trader switchMove (_animations select 0);
- _trader addEventHandler ["AnimDone", {_this call ExileClient_object_trader_event_onAnimationDone}];
- }
- forEach _npcs;
Advertisement
Add Comment
Please, Sign In to add comment