Advertisement
Guest User

Untitled

a guest
Aug 11th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.87 KB | None | 0 0
  1. /**
  2. * Created with Exile Mod 3DEN Plugin
  3. * www.exilemod.com
  4. */
  5.  
  6. if (!hasInterface || isServer) exitWith {};
  7.  
  8. // 38 NPCs
  9. private _npcs = [
  10. ["Exile_Trader_AircraftCustoms", ["Acts_passenger_flatground_leanright"], "Exile_Trader_AircraftCustoms", "WhiteHead_10", [[],[],[],["Exile_Uniform_ExileCustoms",[]],["V_RebreatherB",[]],[],"H_PilotHelmetFighter_B","G_Combat",[],["","","","","",""]], [1122.98, 10271.4, 150.074], [0.564838, -0.825202, 0], [0, 0, 1]],
  11. ["Exile_Trader_Aircraft", ["HubBriefing_loop"], "Exile_Trader_Aircraft", "GreekHead_A3_06", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_PilotHelmetHeli_O","",[],["","","","","",""]], [1112.53, 10278.4, 150.074], [-0.88126, 0.472631, 0], [0, 0, 1]],
  12. ["Exile_Trader_Diving", ["HubSittingHighA_idle1"], "Exile_Trader_Diving", "WhiteHead_11", [["arifle_SDAR_F","","","",["20Rnd_556x45_UW_mag",20],[],""],[],[],["U_B_Wetsuit",[["20Rnd_556x45_UW_mag",20,3]]],["V_RebreatherB",[]],[],"","G_I_Diving",[],["","","","","",""]], [1141.65, 10251.4, 150.887], [0.863567, -0.504234, 0], [0, 0, 1]],
  13. ["Exile_Trader_Equipment", ["Acts_passenger_flatground_leanright"], "Exile_Trader_Equipment", "AfricanHead_02", [["arifle_SPAR_01_blk_F","","","optic_Holosight_blk_F",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_B_T_Soldier_AR_F",[["30Rnd_556x45_Stanag",30,3]]],["V_PlateCarrier1_tna_F",[]],[],"H_MilCap_tna_F","",[],["","","","","",""]], [1138.3, 10253.5, 150.346], [0.499045, 0.866576, 0], [0, 0, 1]],
  14. ["Exile_Trader_Armory", ["HubStandingUC_idle1"], "Exile_Trader_Armory", "WhiteHead_05", [["arifle_SPAR_01_blk_F","","","optic_MRCO",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_B_T_Soldier_F",[["30Rnd_556x45_Stanag",30,3]]],["V_PlateCarrier2_tna_F",[]],[],"H_HelmetB_tna_F","G_Balaclava_TI_tna_F",[],["","","","","",""]], [1135.31, 10255.3, 150.35], [0.468331, 0.883553, 0], [0, 0, 1]],
  15. ["Exile_Guard_01", ["Acts_InjuredLookingRifle03"], "", "WhiteHead_16", [[],[],[],["U_B_T_Soldier_F",[]],["V_PlateCarrier1_tna_F",[]],[],"","",[],["","","","","",""]], [1134.16, 10257, 150.724], [0.34643, 0.938076, 0], [0, 0, 1]],
  16. ["Exile_Guard_03", ["InBaseMoves_SittingRifle2"], "", "AfricanHead_02", [["arifle_SPAR_01_blk_F","","","optic_Holosight_blk_F",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_B_T_Soldier_F",[["30Rnd_556x45_Stanag",30,2]]],["V_PlateCarrier2_tna_F",[["30Rnd_556x45_Stanag",30,1]]],[],"H_HelmetB_tna_F","",[],["","","","","",""]], [1131.68, 10257.5, 150.355], [0.814419, 0.580277, 0], [0, 0, 1]],
  17. ["Exile_Trader_Food", ["HubSittingHighB_move1"], "Exile_Trader_Food", "WhiteHead_17", [["arifle_SPAR_01_blk_F","","","optic_ERCO_blk_F",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_B_T_Soldier_AR_F",[["30Rnd_556x45_Stanag",30,3]]],["V_PlateCarrier2_tna_F",[]],[],"H_Booniehat_tna_F","",[],["","","","","",""]], [1178.72, 10265.5, 159.024], [-0.139173, -0.990268, 0], [0, 0, 1]],
  18. ["Exile_Guard_02", ["HubStanding_idle1"], "", "GreekHead_A3_09", [["arifle_SPAR_01_blk_F","","","optic_Holosight_blk_F",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_B_T_Soldier_F",[["30Rnd_556x45_Stanag",30,3]]],["V_PlateCarrier1_tna_F",[]],[],"H_HelmetB_tna_F","G_Aviator",[],["","","","","",""]], [1179.35, 10265, 159.184], [-0.807929, -0.58928, 0], [0, 0, 1]],
  19. ["Exile_Guard_01", ["HubStandingUB_idle1"], "", "WhiteHead_21", [["arifle_SPAR_01_blk_F","","","optic_Holosight_blk_F",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_B_T_Soldier_F",[["30Rnd_556x45_Stanag",30,2]]],["V_PlateCarrier2_tna_F",[["30Rnd_556x45_Stanag",30,1]]],[],"H_HelmetB_tna_F","",[],["","","","","",""]], [1170.52, 10261.4, 159.204], [-0.854196, -0.519951, 0], [0, 0, 1]],
  20. ["Exile_Trader_Hardware", [], "Exile_Trader_Hardware", "GreekHead_A3_08", [[],[],[],["U_B_T_Soldier_SL_F",[]],["V_PlateCarrier2_tna_F",[]],[],"H_Booniehat_tna_F","",[],["","B_UavTerminal","","","",""]], [1147.73, 10275.7, 150.35], [0.503279, 0.864124, 0], [0, 0, 1]],
  21. ["Exile_Trader_Office", ["HubSittingAtTableU_idle1"], "Exile_Trader_Office", "WhiteHead_15", [[],[],[],["U_B_T_Soldier_F",[]],["V_PlateCarrier2_tna_F",[]],[],"H_Beret_gen_F","G_Aviator",[],["","","","","",""]], [1150.4, 10273.3, 150.346], [-0.839641, 0.543142, 0], [0, 0, 1]],
  22. ["Exile_Trader_SpecialOperations", ["HubSittingChairA_idle1"], "Exile_Trader_SpecialOperations", "WhiteHead_21", [["arifle_SPAR_02_blk_F","","","optic_MRCO",["150Rnd_556x45_Drum_Mag_F",150],[],""],[],[],["U_B_CTRG_Soldier_3_F",[]],["V_PlateCarrier1_blk",[]],[],"H_HelmetB_TI_tna_F","G_Balaclava_TI_G_tna_F",[],["","","","","","NVGoggles_OPFOR"]], [1152.59, 10271.8, 150.343], [0.938311, 0.345792, 0], [0, 0, 1]],
  23. ["Exile_Trader_Vehicle", ["InBaseMoves_repairVehicleKnl"], "Exile_Trader_Vehicle", "GreekHead_A3_05", [[],[],[],["U_B_T_Soldier_AR_F",[]],[],[],"","",[],["","","","","",""]], [1163.33, 10278.4, 150.03], [-0.576469, -0.817119, 0], [0, 0, 1]],
  24. ["Exile_Trader_VehicleCustoms", ["c5efe_MichalLoop"], "Exile_Trader_VehicleCustoms", "WhiteHead_08", [[],[],[],["U_B_T_Soldier_AR_F",[]],[],[],"","",[],["","","","","",""]], [1168.94, 10286.2, 150.074], [-0.712761, 0.701407, 0], [0, 0, 1]],
  25. ["Exile_Guard_01", ["InBaseMoves_patrolling1"], "", "WhiteHead_20", [["arifle_SPAR_01_blk_F","","","optic_Holosight_blk_F",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_B_T_Soldier_F",[["30Rnd_556x45_Stanag",30,3]]],["V_PlateCarrier2_tna_F",[]],[],"H_HelmetB_Enh_tna_F","",[],["","","","","",""]], [1165.77, 10253.3, 150.074], [-0.53128, -0.847196, 0], [0, 0, 1]],
  26. ["Exile_Trader_Equipment", ["InBaseMoves_table1"], "Exile_Trader_Equipment", "GreekHead_A3_06", [["arifle_AKM_F","","","",["30Rnd_762x39_Mag_F",30],[],""],[],[],["U_I_C_Soldier_Para_2_F",[["30Rnd_762x39_Mag_F",30,3]]],["V_TacChestrig_oli_F",[]],[],"H_Cap_khaki_specops_UK","G_Aviator",[],["","","","","",""]], [4641.57, 5925.29, 148.727], [0.941871, -0.335974, 0], [0, 0, 1]],
  27. ["Exile_Trader_Food", ["HubSittingChairUB_idle2"], "Exile_Trader_Food", "GreekHead_A3_06", [[],[],[],["U_I_C_Soldier_Para_3_F",[]],[],[],"H_Cap_grn","",[],["","","","","",""]], [4638.85, 5916.28, 148.732], [0.799373, 0.600836, 0], [0, 0, 1]],
  28. ["Exile_Trader_Hardware", ["HubSittingChairUC_idle1"], "Exile_Trader_Hardware", "AfricanHead_01", [[],[],[],["U_I_C_Soldier_Camo_F",[]],[],[],"","",[],["","","","","",""]], [4646.06, 5914.8, 148.72], [-0.933004, -0.359867, 0], [0, 0, 1]],
  29. ["Exile_Trader_Armory", ["HubSittingChairB_idle1"], "Exile_Trader_Armory", "WhiteHead_20", [["arifle_AKM_F","","","",["30Rnd_762x39_Mag_F",30],[],""],[],[],["U_I_C_Soldier_Para_1_F",[["30Rnd_762x39_Mag_F",30,3]]],["V_Rangemaster_belt",[]],[],"H_MilCap_tna_F","G_Shades_Black",[],["","","","","",""]], [4645.06, 5913.58, 151.71], [-0.70781, 0.706403, 0], [0, 0, 1]],
  30. ["Exile_Trader_WasteDump", ["Acts_passenger_flatground_leanright"], "Exile_Trader_WasteDump", "GreekHead_A3_06", [[],[],[],["U_I_C_Soldier_Para_3_F",[]],["V_Rangemaster_belt",[]],[],"H_Cap_blk","G_Aviator",[],["","","","","",""]], [4633.59, 5884.61, 147.244], [0.761108, 0.648625, 0], [0, 0, 1]],
  31. ["Exile_Trader_Vehicle", ["InBaseMoves_repairVehicleKnl"], "Exile_Trader_Vehicle", "WhiteHead_03", [[],[],[],["U_I_C_Soldier_Para_4_F",[]],[],[],"","",[],["","","","","",""]], [4648.9, 5899.61, 147.997], [0.988225, 0.15301, 0], [0, 0, 1]],
  32. ["Exile_Guard_01", ["c4coming2cDf_genericstani1"], "", "WhiteHead_10", [["arifle_AKM_F","","","",["30Rnd_762x39_Mag_F",30],[],""],[],[],["U_I_C_Soldier_Para_2_F",[["30Rnd_762x39_Mag_F",30,2]]],["V_TacChestrig_oli_F",[["30Rnd_762x39_Mag_F",30,1]]],[],"H_Bandanna_khk_hs","",[],["","","","","",""]], [4647.3, 5912.11, 151.87], [0.612507, -0.790465, 0], [0, 0, 1]],
  33. ["Exile_Guard_02", ["HubSittingHighB_idle1"], "", "WhiteHead_08", [["arifle_Mk20_GL_F","","","",[],[],""],[],[],["U_BG_Guerilla1_1",[]],["V_PlateCarrierIA2_dgtl",[]],[],"H_Hat_camo","G_Tactical_Clear",[],["","","","","",""]], [4648.13, 5920.98, 148.97], [-0.211302, -0.977421, 0], [0, 0, 1]],
  34. ["Exile_Guard_03", ["InBaseMoves_patrolling1"], "", "GreekHead_A3_07", [["arifle_AKM_F","","","",["30Rnd_762x39_Mag_F",30],[],""],[],[],["U_I_C_Soldier_Para_2_F",[["30Rnd_762x39_Mag_F",30,2]]],["V_TacChestrig_oli_F",[["30Rnd_762x39_Mag_F",30,1]]],[],"H_Bandanna_camo","G_Bandanna_oli",[],["","","","","",""]], [4651.6, 5922.92, 148.662], [0.96321, 0.268752, 0], [0, 0, 1]],
  35. ["Exile_Guard_02", ["HubSittingHighA_idle1"], "", "WhiteHead_01", [["arifle_AKM_F","","","",["30Rnd_762x39_Mag_F",30],[],""],[],[],["U_I_C_Soldier_Para_3_F",[["30Rnd_762x39_Mag_F",30,3]]],["V_TacChestrig_oli_F",[]],[],"","G_Balaclava_oli",[],["","","","","",""]], [4649.18, 5916.65, 152.048], [-0.974874, 0.222757, 0], [0, 0, 1]],
  36. ["Exile_Trader_Vehicle", ["HubBriefing_loop"], "Exile_Trader_Vehicle", "WhiteHead_20", [[],[],[],["U_B_GEN_Commander_F",[]],[],[],"H_MilCap_gen_F","",[],["","","","","",""]], [10106.9, 4770.35, 8.01781], [-0.995813, 0.0914145, 0], [0, 0, 1]],
  37. ["Exile_Trader_VehicleCustoms", ["Acts_passenger_flatground_leanright"], "Exile_Trader_VehicleCustoms", "WhiteHead_13", [[],[],[],["U_I_C_Soldier_Bandit_3_F",[]],[],[],"","",[],["","","","","",""]], [10104.5, 4774.25, 8.02247], [-0.082843, -0.996563, 0], [0, 0, 1]],
  38. ["Exile_Trader_WasteDump", ["HubSittingHighB_idle1"], "Exile_Trader_WasteDump", "AfricanHead_01", [["arifle_SPAR_01_blk_F","","","",["30Rnd_556x45_Stanag",30],[],""],[],[],["U_I_G_Story_Protagonist_F",[["30Rnd_556x45_Stanag",30,3]]],["V_Rangemaster_belt",[]],[],"H_MilCap_gry","",[],["","","","","",""]], [10094.6, 4782.32, 8.73544], [-0.586261, 0.810122, 0], [0, 0, 1]],
  39. ["Exile_Trader_Hardware", ["HubSittingChairUA_idle1"], "Exile_Trader_Hardware", "WhiteHead_13", [[],[],[],["U_I_C_Soldier_Bandit_3_F",[]],["V_TacChestrig_oli_F",[]],[],"H_Cap_oli","",[],["","","","","",""]], [10097.7, 4754.84, 8.32324], [-0.823794, 0.566889, 0], [0, 0, 1]],
  40. ["Exile_Trader_Equipment", ["HubSittingHighA_idle1"], "Exile_Trader_Equipment", "GreekHead_A3_06", [["arifle_AK12_F","","","",["30Rnd_762x39_Mag_F",30],[],""],[],[],["U_BG_Guerilla2_3",[["30Rnd_762x39_Mag_F",30,2]]],["V_TacChestrig_oli_F",[["30Rnd_762x39_Mag_F",30,1]]],[],"H_Cap_khaki_specops_UK","",[],["","","","","",""]], [10097.4, 4753.15, 8.89417], [-0.0570153, 0.998373, 0], [0, 0, 1]],
  41. ["Exile_Trader_Armory", ["Acts_passenger_flatground_leanright"], "Exile_Trader_Armory", "WhiteHead_12", [["arifle_AK12_F","","","",["30Rnd_762x39_Mag_F",30],[],""],[],[],["U_I_C_Soldier_Bandit_4_F",[["30Rnd_762x39_Mag_F",30,2]]],[],[],"H_Cap_blu","G_Shades_Black",[],["","","","","",""]], [10097.4, 4749.32, 8.32367], [-0.99841, 0.0563618, 0], [0, 0, 1]],
  42. ["Exile_Trader_Food", ["InBaseMoves_table1"], "Exile_Trader_Food", "GreekHead_A3_08", [[],[],[],["U_I_G_resistanceLeader_F",[]],[],[],"H_Cap_tan","",[],["","","","","",""]], [10097.4, 4745.66, 8.32335], [-0.998107, 0.0615013, 0], [0, 0, 1]],
  43. ["Exile_Guard_01", ["Acts_InjuredLookingRifle05"], "", "AfricanHead_01", [[],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Tactical_Clear",[],["","","","","",""]], [10096.7, 4750.36, 8.70304], [-0.958066, -0.286547, 0], [0, 0, 1]],
  44. ["Exile_Trader_AircraftCustoms", ["Acts_passenger_flatground_leanright"], "Exile_Trader_AircraftCustoms", "WhiteHead_01", [[],[],[],["U_I_C_Soldier_Bandit_5_F",[]],[],[],"","G_Aviator",[],["","","","","",""]], [10069.1, 4761.18, 7.85849], [-0.975083, 0.22184, 0], [0, 0, 1]],
  45. ["Exile_Trader_Aircraft", ["HubStandingUC_idle1"], "Exile_Trader_Aircraft", "WhiteHead_16", [[],[],[],["U_B_GEN_Soldier_F",[]],[],[],"","",[],["","","","","",""]], [10068.9, 4758.95, 7.82687], [-0.953853, 0.300273, 0], [0, 0, 1]],
  46. ["Exile_Guard_01", ["HubStanding_idle1"], "", "WhiteHead_05", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Tactical_Black",[],["","","","","",""]], [10096.5, 4761.98, 8.01586], [0, 1, 0], [0, 0, 1]],
  47. ["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_15", [[],[],[],["U_B_T_Soldier_SL_F",[]],["V_PlateCarrier2_tna_F",[]],[],"H_HelmetB_Enh_tna_F","",[],["","","","","",""]], [1161.05, 10274.3, 150.074], [0.840131, -0.542383, 0], [0, 0, 1]]
  48. ];
  49.  
  50. {
  51. private _logic = "Logic" createVehicleLocal [0, 0, 0];
  52. private _trader = (_x select 0) createVehicleLocal [0, 0, 0];
  53. private _animations = _x select 1;
  54.  
  55. _logic setPosWorld (_x select 5);
  56. _logic setVectorDirAndUp [_x select 6, _x select 7];
  57.  
  58. _trader setVariable ["BIS_enableRandomization", false];
  59. _trader setVariable ["BIS_fnc_animalBehaviour_disable", true];
  60. _trader setVariable ["ExileAnimations", _animations];
  61. _trader setVariable ["ExileTraderType", _x select 2];
  62. _trader disableAI "ANIM";
  63. _trader disableAI "MOVE";
  64. _trader disableAI "FSM";
  65. _trader disableAI "AUTOTARGET";
  66. _trader disableAI "TARGET";
  67. _trader disableAI "CHECKVISIBLE";
  68. _trader allowDamage false;
  69. _trader setFace (_x select 3);
  70. _trader setUnitLoadOut (_x select 4);
  71. _trader setPosWorld (_x select 5);
  72. _trader setVectorDirAndUp [_x select 6, _x select 7];
  73. _trader reveal _logic;
  74. _trader attachTo [_logic, [0, 0, 0]];
  75. _trader switchMove (_animations select 0);
  76. _trader addEventHandler ["AnimDone", {_this call ExileClient_object_trader_event_onAnimationDone}];
  77. }
  78. forEach _npcs;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement