40mm_flare.hpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. class macro_new_ammo(40mm_white): FlareBase
  2. {
  3. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  4. lightColor[] = {1, 1, 1 ,1};
  5. useFlare = 1;
  6. deflecting = 30;
  7. smokeColor[] = {1, 1, 1, 1};
  8. brightness = 1200;
  9. size = 3;//1
  10. triggerTime = 3;
  11. triggerSpeedCoef = 1;
  12. audibleFire = 20;
  13. intensity = 1000000;
  14. flareSize = 3;//1
  15. timeToLive = 120;
  16. flareMaxDistance = 300;
  17. };
  18. class macro_new_ammo(40mm_green): macro_new_ammo(40mm_white)
  19. {
  20. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  21. lightColor[] = {0, 1, 0, 0};
  22. };
  23. class macro_new_ammo(40mm_red): macro_new_ammo(40mm_white)
  24. {
  25. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  26. lightColor[] = {1, 0, 0, 0};
  27. };
  28. class macro_new_ammo(40mm_yellow): macro_new_ammo(40mm_white)
  29. {
  30. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  31. lightColor[] = {1, 1, 0, 0};
  32. };
  33. class macro_new_ammo(40mm_CIR): macro_new_ammo(40mm_white)
  34. {
  35. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  36. lightColor[] = {0.5, 0.5, 0.25, 0};
  37. };
  38. class macro_new_ammo(40mm_blue): macro_new_ammo(40mm_white)
  39. {
  40. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  41. lightColor[] = {0, 0, 1, 0};
  42. };
  43. class macro_new_ammo(40mm_cyan): macro_new_ammo(40mm_white)
  44. {
  45. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  46. lightColor[] = {0, 1, 1, 0};
  47. };
  48. class macro_new_ammo(40mm_purple): macro_new_ammo(40mm_white)
  49. {
  50. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  51. lightColor[] = {.7, 0, 1, 0};
  52. };