Advertisement
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 {};
- // 20 NPCs
- private _npcs = [
- ["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "WhiteHead_05", [[],[],[],["U_I_C_Soldier_Para_1_F",[]],[],[],"H_Cap_grn","G_Spectacles",[],["","","","","",""]], [15139.1, 4945.27, 166.735], [-0.155659, -0.987811, 0], [0, 0, 1]],
- ["Exile_Trader_VehicleCustoms", ["HubStandingUA_idle1"], "Exile_Trader_VehicleCustoms", "WhiteHead_21", [[],[],[],["U_C_Poloshirt_tricolour",[]],[],[],"","",[],["","","","","",""]], [15127.4, 4938.48, 167.298], [0.714436, 0.699701, 0], [0, 0, 1]],
- ["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_04", [[],[],[],["U_I_G_Story_Protagonist_F",[]],["V_Rangemaster_belt",[]],[],"H_Booniehat_oli","",[],["","","","","",""]], [15150.5, 4965.27, 166.545], [0.617722, 0.786396, 0], [0, 0, 1]],
- ["Exile_Trader_WasteDump", ["HubSittingChairA_idle1"], "Exile_Trader_WasteDump", "WhiteHead_15", [[],[],[],["U_I_C_Soldier_Para_4_F",[]],["V_Rangemaster_belt",[]],[],"H_Bandanna_camo","G_Squares",[],["","","","","",""]], [15173.1, 4985.67, 164.794], [-0.685602, -0.727976, 0], [0, 0, 1]],
- ["Exile_Trader_Hardware", ["HubStandingUA_idle2"], "Exile_Trader_Hardware", "AfricanHead_01", [[],[],["Exile_Weapon_Colt1911","","","",["Exile_Magazine_7Rnd_45ACP",7],[],""],["U_BG_Guerilla2_2",[["Exile_Magazine_7Rnd_45ACP",3,7]]],[],[],"H_MilCap_ocamo","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_Armory", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_Armory", "WhiteHead_01", [["arifle_TRG21_F","","","",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_I_C_Soldier_Para_3_F",[["30Rnd_556x45_Stanag",3,30]]],["V_Rangemaster_belt",[]],[],"H_Watchcap_cbr","",[],["","","","","",""]], [15201.3, 4958.61, 163.208], [0.938974, 0.343987, 0], [0, 0, 1]],
- ["Exile_Trader_Equipment", ["AmovPercMstpSnonWnonDnon"], "Exile_Trader_Equipment", "AfricanHead_02", [["arifle_AKS","","","",["30Rnd_762x39_AK47_M",30],[],""],[],[],["U_I_C_Soldier_Para_2_F",[]],["V_I_G_resistanceLeader_F",[["30Rnd_762x39_AK47_M",3,30]]],[],"H_Watchcap_khk","G_Combat",[],["","","","","",""]], [15208.4, 4951.7, 163.211], [0.761063, 0.648678, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["HubStandingUA_idle2"], "", "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.187], [-0.715242, 0.698877, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["HubStandingUA_idle3"], "", "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", ["inbasemoves_lean1"], "", "WhiteHead_21", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Combat",[],["","","","","",""]], [15120.1, 4966.05, 168.055], [-0.109042, -0.994037, 0], [0, 0, 1]],
- ["Exile_Guard_01", ["inbasemoves_lean1"], "", "GreekHead_A3_05", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Tactical_Clear",[],["","","","","",""]], [15154.1, 4975.66, 165.945], [-0.999816, -0.0191696, 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", ["inbasemoves_lean1"], "", "WhiteHead_03", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","",[],["","","","","",""]], [15194.6, 4961.95, 163.229], [0.310548, -0.950558, 0], [0, 0, 1]],
- ["Exile_Guard_02", ["HubStandingUA_idle1"], "", "GreekHead_A3_01", [[],[],["Exile_Weapon_TaurusGold","","","",["Exile_Magazine_6Rnd_45ACP",6],[],""],["U_BG_Guerilla2_1",[["Exile_Magazine_6Rnd_45ACP",3,6]]],[],[],"H_Cap_khaki_specops_UK","",[],["","","","","",""]], [15227.5, 4946.26, 163.214], [-0.640646, -0.767837, 0], [0, 0, 1]],
- ["Exile_Guard_03", ["HubStandingUA_idle2"], "", "WhiteHead_11", [[],[],[],["U_OrestesBody",[]],[],[],"","G_Sport_Blackred",[],["","","","","",""]], [15224.1, 4937.7, 163.214], [0, 1, 0], [0, 0, 1]],
- ["Exile_Guard_03", ["HubStandingUA_idle3"], "", "GreekHead_A3_05", [[],[],[],["U_C_Man_casual_4_F",[]],[],[],"","G_Aviator",[],["","","","","",""]], [15217.4, 4942.15, 163.213], [0.208405, 0.978043, 0], [0, 0, 1]],
- ["Exile_Guard_03", ["HubStandingUA_idle2"], "", "WhiteHead_09", [[],[],[],["U_I_C_Soldier_Bandit_2_F",[]],[],[],"","G_Spectacles_Tinted",[],["","","","","",""]], [15213, 4945.53, 163.212], [0, 1, 0], [0, 0, 1]],
- ["Exile_Guard_01", [], "", "WhiteHead_12", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Aviator",[],["","","","","",""]], [15225.8, 4980.96, 174.148], [0.188601, -0.982054, 0], [0, 0, 1]],
- ["Exile_Guard_03", [], "", "WhiteHead_11", [["SMG_02_F","","","",[],[],""],[],[],["U_BG_Guerilla2_3",[]],["V_TacVestIR_blk",[]],[],"H_Bandanna_camo","G_Squares_Tinted",[],["","","","","",""]], [15206.8, 5003.83, 175.266], [0, 1, 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
Advertisement