Hellstyrant

Exile Stratis Initplayerlocal

Apr 21st, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 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. // 13 NPCs
  9. private _npcs = [
  10. ["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_03", [["srifle_DMR_06_olive_F","","","",[],[],""],[],[],["U_Rangemaster",[]],["V_Rangemaster_belt",[]],[],"H_Cap_headphones","G_Shades_Black",[],["","","","","",""]], [4161.42, 3281.92, 156.205], [0, 1, 0], [0, 0, 1]],
  11. ["Exile_Trader_Equipment", [], "Exile_Trader_Equipment", "WhiteHead_01", [["arifle_MX_GL_Black_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_I_G_resistanceLeader_F",[]],[],"H_Watchcap_khk","G_Tactical_Black",[],["","","","","",""]], [4157.26, 3282.88, 156.419], [0, 1, 0], [0, 0, 1]],
  12. ["Exile_Trader_Food", [], "Exile_Trader_Food", "WhiteHead_12", [[],[],[],["U_C_Poloshirt_blue",[]],[],[],"H_Cap_tan","G_Tactical_Clear",[],["","","","","",""]], [4153.63, 3284.06, 156.696], [0, 1, 0], [0, 0, 1]],
  13. ["Exile_Trader_Hardware", [], "Exile_Trader_Hardware", "WhiteHead_05", [[],[],[],["U_C_WorkerCoveralls",[]],["V_BandollierB_rgr",[]],["B_UAV_01_backpack_F",[]],"H_Booniehat_khk_hs","G_Tactical_Clear",[],["","","","","",""]], [4150, 3285.16, 156.892], [0, 1, 0], [0, 0, 1]],
  14. ["Exile_Trader_SpecialOperations", [], "Exile_Trader_SpecialOperations", "GreekHead_A3_06", [["arifle_MX_Black_F","","","",[],[],""],[],[],["U_B_CTRG_1",[]],["V_PlateCarrierGL_blk",[]],["B_Parachute",[]],"H_HelmetB_light_black","G_Balaclava_lowprofile",[],["","","","","","NVGoggles_OPFOR"]], [4145.02, 3285.33, 156.969], [0, 1, 0], [0, 0, 1]],
  15. ["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "WhiteHead_17", [[],[],[],["U_I_G_Story_Protagonist_F",[]],["V_Rangemaster_belt",[]],[],"H_MilCap_gry","",[],["","","","","",""]], [4143.3, 3294.77, 157.54], [0.999903, 0.013929, 0], [0, 0, 1]],
  16. ["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_18", [[],[],[],["U_I_G_resistanceLeader_F",[]],["V_Rangemaster_belt",[]],[],"H_Hat_brown","G_Combat",[],["","","","","",""]], [4179.71, 3263.1, 152.084], [0, 1, 0], [0, 0, 1]],
  17. ["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "WhiteHead_02", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"H_RacingHelmet_4_F","G_Tactical_Black",[],["","","","","",""]], [4160.02, 3264.23, 153.397], [0, 1, 0], [0, 0, 1]],
  18. ["Exile_Trader_VehicleCustoms", [], "Exile_Trader_VehicleCustoms", "WhiteHead_21", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"","G_Combat",[],["","","","","",""]], [4150.43, 3275.15, 155.169], [0.943665, -0.330902, 0], [0, 0, 1]],
  19. ["Exile_Trader_AircraftCustoms", [], "Exile_Trader_AircraftCustoms", "GreekHead_A3_05", [[],[],[],["Exile_Uniform_ExileCustoms",[]],["V_RebreatherB",[]],[],"H_PilotHelmetFighter_B","",[],["","","","","",""]], [1692.6, 5062.96, 5.50144], [-0.999835, -0.0181579, 0], [0, 0, 1]],
  20. ["Exile_Trader_Aircraft", [], "Exile_Trader_Aircraft", "WhiteHead_14", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_PilotHelmetHeli_O","",[],["","","","","",""]], [1687.82, 5048.3, 5.50144], [-0.851493, 0.524367, 0], [0, 0, 1]],
  21. ["Exile_Trader_Boat", [], "Exile_Trader_Boat", "WhiteHead_18", [[],[],[],["U_OrestesBody",[]],[],[],"H_Cap_surfer","G_Tactical_Clear",[],["","","","","",""]], [2390.28, 1115.28, 0.666472], [0.924759, 0.380553, 0], [0, 0, 1]],
  22. ["Exile_Trader_BoatCustoms", [], "Exile_Trader_BoatCustoms", "WhiteHead_16", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"","G_Tactical_Black",[],["","","","","",""]], [2390.21, 1118.36, 0.589665], [0.998668, -0.0515918, 0], [0, 0, 1]]
  23. ];
  24.  
  25. {
  26. private _logic = "Logic" createVehicleLocal [0, 0, 0];
  27. private _trader = (_x select 0) createVehicleLocal [0, 0, 0];
  28. private _animations = _x select 1;
  29.  
  30. _logic setPosWorld (_x select 5);
  31. _logic setVectorDirAndUp [_x select 6, _x select 7];
  32.  
  33. _trader setVariable ["BIS_enableRandomization", false];
  34. _trader setVariable ["BIS_fnc_animalBehaviour_disable", true];
  35. _trader setVariable ["ExileAnimations", _animations];
  36. _trader setVariable ["ExileTraderType", _x select 2];
  37. _trader disableAI "ANIM";
  38. _trader disableAI "MOVE";
  39. _trader disableAI "FSM";
  40. _trader disableAI "AUTOTARGET";
  41. _trader disableAI "TARGET";
  42. _trader disableAI "CHECKVISIBLE";
  43. _trader allowDamage false;
  44. _trader setFace (_x select 3);
  45. _trader setUnitLoadOut (_x select 4);
  46. _trader setPosWorld (_x select 5);
  47. _trader setVectorDirAndUp [_x select 6, _x select 7];
  48. _trader reveal _logic;
  49. _trader attachTo [_logic, [0, 0, 0]];
  50. _trader switchMove (_animations select 0);
  51. _trader addEventHandler ["AnimDone", {_this call ExileClient_object_trader_event_onAnimationDone}];
  52. }
  53. forEach _npcs;
Advertisement
Add Comment
Please, Sign In to add comment