Advertisement
flyby7

Untitled

Mar 14th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. this setObjectTextureGlobal [0, "#(argb,8,8,3)color(0.33,0.35,0.24,0.3)"];
  2. [this,["olive",1]] call BIS_fnc_initVehicle;
  3. this setObjectTextureGlobal [0,'#(argb,8,8,3)color(0.33,0.35,0.24,0.3)'];
  4. this setObjectTextureGlobal [3,'#(argb,8,8,3)color(0.33,0.35,0.24,0.3)'];
  5. this setObjectTextureGlobal [4,'#(argb,8,8,3)color(0.33,0.35,0.24,0.3)'];
  6. this setObjectTextureGlobal [2,'\A3\soft_f_exp\LSV_01\Data\NATO_LSV_03_black_CO.paa'];
  7. this setObjectTextureGlobal [1, "\A3\Characters_F\Common\Data\basicbody_black_co.paa"];
  8. this RemoveWeaponTurret ["LMG_M200", [0]];
  9. this RemoveWeaponTurret ["LMG_M200_body", [0]];
  10. this RemoveMagazineTurret ["200Rnd_65x39_Belt", [0]];
  11. this RemoveMagazineTurret ["500Rnd_65x39_Belt", [0]];
  12. this RemoveMagazineTurret ["1000Rnd_65x39_Belt", [0]];
  13. this RemoveMagazineTurret ["2000Rnd_65x39_Belt", [0]];
  14. this RemoveWeaponTurret ["autocannon_30mm_CTWS", [0]];
  15. this RemoveMagazineTurret ["60Rnd_30mm_APFSDS_shells", [0]];
  16. this RemoveMagazineTurret ["140Rnd_30mm_MP_shells", [0]];
  17. this RemoveWeaponTurret ["missiles_titan", [0]];
  18. this RemoveMagazineTurret ["2Rnd_GAT_missiles", [0]];
  19. this addWeaponTurret ["missiles_SCALPEL", [0]];
  20. this addMagazineTurret ["2Rnd_LG_scalpel", [0]];
  21. this addWeaponTurret ["HMG_127_APC", [0]];
  22. this addMagazineTurret ["500Rnd_127x99_mag", [0]];
  23. this addMagazineTurret ["500Rnd_127x99_mag", [0]];
  24. this addWeaponTurret ["Laserdesignator_mounted", [1]];
  25. this addWeaponTurret ["Laserdesignator_pilotCamera", [1]];
  26. this addMagazineTurret ["Laserbatteries", [1]];
  27. this forceFlagTexture "\A3\Data_F\Flags\Flag_us_CO.paa";
  28. this removeeventhandler["fired", FEH_missile];
  29. FEH_missile = this addeventhandler ["fired", {
  30. _bullet = nearestObject [_this select 0,_this select 4];
  31. _bulletpos = getPosASL _bullet;
  32. _o = "B_40mm_APFSDS" createVehicle _bulletpos;
  33. _weapdir = this weaponDirection currentWeapon player;
  34. _dist = 11;
  35. _o setPosASL [
  36. (_bulletpos select 0) + (_weapdir select 0)*_dist,
  37. (_bulletpos select 1) + (_weapdir select 1)*_dist,
  38. (_bulletpos select 2) + (_weapdir select 2)*_dist
  39. ];
  40. _up = vectorUp _bullet;
  41. _o setVectorDirAndUp[_weapdir,_up];
  42. _o setVelocity velocity _bullet;
  43. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement