brujo22

Untitled

Oct 31st, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 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. // 11 NPCs
  9. private _npcs = [
  10. ["Exile_Trader_WasteDump", [], "Exile_Trader_WasteDump", "GreekHead_A3_08", [[],[],[],["U_I_G_Story_Protagonist_F",[]],["V_Rangemaster_belt",[]],[],"H_MilCap_gry","G_Tactical_Black",[],["","","","","",""]], [6298.34, 7830.91, 304.932], [-0.607082, -0.794639, 0], [0, 0, 1]],
  11. ["Exile_Trader_Vehicle", [], "Exile_Trader_Vehicle", "WhiteHead_08", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"H_RacingHelmet_4_F","G_Tactical_Black",[],["","","","","",""]], [6296.92, 7811.57, 305.007], [-0.993464, 0.114145, 0], [0, 0, 1]],
  12. ["Exile_Trader_VehicleCustoms", [], "Exile_Trader_VehicleCustoms", "WhiteHead_06", [[],[],[],["Exile_Uniform_ExileCustoms",[]],[],[],"","G_Tactical_Black",[],["","","","","",""]], [6290.67, 7803.78, 304.947], [-0.551425, 0.834224, 0], [0, 0, 1]],
  13. ["Exile_Trader_Office", [], "Exile_Trader_Office", "WhiteHead_13", [[],[],[],["U_I_G_resistanceLeader_F",[]],["V_Rangemaster_belt",[]],[],"H_Hat_brown","G_Tactical_Black",[],["","","","","",""]], [6362.89, 7779.13, 305.08], [0.533529, 0.845782, 0], [0, 0, 1]],
  14. ["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_Black",[],["","","","","",""]], [6319.31, 7808.55, 304.996], [-0.522391, -0.852706, 0], [0, 0, 1]],
  15. ["Exile_Trader_Food", [], "Exile_Trader_Food", "WhiteHead_20", [[],[],[],["U_C_Poloshirt_blue",[]],[],[],"H_Cap_tan","",[],["","","","","",""]], [6328.41, 7801.52, 304.999], [-0.537241, -0.843429, 0], [0, 0, 1]],
  16. ["Exile_Trader_Armory", [], "Exile_Trader_Armory", "WhiteHead_10", [["srifle_DMR_06_olive_F","","","",[],[],""],[],[],["U_Rangemaster",[]],["V_Rangemaster_belt",[]],[],"H_Cap_headphones","G_Shades_Black",[],["","","","","",""]], [6309.59, 7791.11, 305.074], [0.530836, 0.847475, 0], [0, 0, 1]],
  17. ["Exile_Trader_Equipment", [], "Exile_Trader_Equipment", "WhiteHead_17", [["arifle_MX_GL_Black_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_I_G_resistanceLeader_F",[]],[],"H_Watchcap_khk","G_Combat",[],["","","","","",""]], [6316.48, 7786.17, 305.088], [0.550588, 0.834777, 0], [0, 0, 1]],
  18. ["Exile_Guard_01", [], "", "GreekHead_A3_08", [["srifle_DMR_03_F","","","",[],[],""],[],[],["U_BG_Guerrilla_6_1",[]],["V_TacVest_khk",[]],[],"H_ShemagOpen_tan","G_Tactical_Clear",[],["","","","","",""]], [6306.52, 7818.33, 304.997], [-0.995771, 0.0918755, 0], [0, 0, 1]],
  19. ["Exile_Guard_02", [], "", "WhiteHead_14", [["arifle_Mk20_GL_F","","","",[],[],""],[],[],["U_BG_Guerilla1_1",[]],["V_PlateCarrierIA2_dgtl",[]],[],"H_Hat_camo","G_Combat",[],["","","","","",""]], [6343.22, 7810.6, 304.98], [0, 1, 0], [0, 0, 1]],
  20. ["Exile_Guard_03", [], "", "AfricanHead_03", [["SMG_02_F","","","",[],[],""],[],[],["U_BG_Guerilla2_3",[]],["V_TacVestIR_blk",[]],[],"H_Bandanna_camo","G_Squares_Tinted",[],["","","","","",""]], [6352, 7765.67, 305.038], [0.800028, -0.599963, 0], [0, 0, 1]]
  21. ];
  22.  
  23. {
  24. private _logic = "Logic" createVehicleLocal [0, 0, 0];
  25. private _trader = (_x select 0) createVehicleLocal [0, 0, 0];
  26. private _animations = _x select 1;
  27.  
  28. _logic setPosWorld (_x select 5);
  29. _logic setVectorDirAndUp [_x select 6, _x select 7];
  30.  
  31. _trader setVariable ["BIS_enableRandomization", false];
  32. _trader setVariable ["BIS_fnc_animalBehaviour_disable", true];
  33. _trader setVariable ["ExileAnimations", _animations];
  34. _trader setVariable ["ExileTraderType", _x select 2];
  35. _trader disableAI "ANIM";
  36. _trader disableAI "MOVE";
  37. _trader disableAI "FSM";
  38. _trader disableAI "AUTOTARGET";
  39. _trader disableAI "TARGET";
  40. _trader disableAI "CHECKVISIBLE";
  41. _trader allowDamage false;
  42. _trader setFace (_x select 3);
  43. _trader setUnitLoadOut (_x select 4);
  44. _trader setPosWorld (_x select 5);
  45. _trader setVectorDirAndUp [_x select 6, _x select 7];
  46. _trader reveal _logic;
  47. _trader attachTo [_logic, [0, 0, 0]];
  48. _trader switchMove (_animations select 0);
  49. _trader addEventHandler ["AnimDone", {_this call ExileClient_object_trader_event_onAnimationDone}];
  50. }
  51. forEach _npcs;
Advertisement
Add Comment
Please, Sign In to add comment