config.cpp 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #include "../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class RD501_patch_grenades
  5. {
  6. units[] = {};
  7. weapons[] = {};
  8. requiredVersion = 0.1;
  9. requiredAddons[] = {
  10. RD501_patch_weapons
  11. };
  12. author = "SWOP";
  13. magazines[] = {"RD501_BlueShadow_Grenade"};
  14. ammo[] = {"RD501_ShadowMag"};
  15. };
  16. };
  17. class CfgCloudlets
  18. {
  19. class Default;
  20. class DIOXIS_Fire;
  21. class Shadow_Fire: DIOXIS_Fire
  22. {
  23. damageType = "Fire";
  24. };
  25. class Dioxis_Smoke;
  26. class Shadow_Smoke: Dioxis_Smoke
  27. {
  28. color[] = {{0.2125,0.3,0.8,0.2},{0.2125,0.3,0.8,0.4},{0.2125,0.3,0.8,0.6}};
  29. };
  30. };
  31. class Shadow_Smoke
  32. {
  33. class Shadow_Smoke
  34. {
  35. simulation = "particles";
  36. type = "Shadow_Smoke";
  37. position[] = {0,0,0};
  38. intensity = 1;
  39. interval = 1;
  40. lifeTime = 20;
  41. };
  42. class Fire
  43. {
  44. simulation = "particles";
  45. type = "Shadow_Fire";
  46. position[] = {0,0,0};
  47. intensity = 1;
  48. interval = 1;
  49. start = 0.5;
  50. lifeTime = 25;
  51. };
  52. };
  53. class CfgWeapons
  54. {
  55. class Default;
  56. class GrenadeLauncher: Default
  57. {
  58. class ThrowMuzzle;
  59. };
  60. class Throw: GrenadeLauncher
  61. {
  62. muzzles[] += {"Shadow_Muzzle","Imploder_Muzzle","Thermaldet_Muzzle","Squad_Shield_Muzzle","Squad_Shield_Trench_Muzzle","Personal_Shield_Muzzle", "Throwable_C_Type_Muzzle","SuperSmoke_Muzzle","Dioxis_Muzzle","thermaldet_cis_Muzzle"};
  63. class Shadow_Muzzle: ThrowMuzzle
  64. {
  65. magazines[] = {macro_new_mag(blueshadow,1)};
  66. };
  67. class Imploder_Muzzle: ThrowMuzzle
  68. {
  69. magazines[] = {macro_new_mag(imploder,1)};
  70. };
  71. class Thermaldet_Muzzle: ThrowMuzzle
  72. {
  73. magazines[] = {macro_new_mag(thermaldet,1)};
  74. };
  75. class Squad_Shield_Muzzle: ThrowMuzzle
  76. {
  77. magazines[] = {macro_new_mag(squad_shield_sigma,1)};
  78. };
  79. class Squad_Shield_Trench_Muzzle: ThrowMuzzle
  80. {
  81. magazines[] = {macro_new_mag(squad_shield_alpha,1)};
  82. };
  83. class Personal_Shield_Muzzle: ThrowMuzzle
  84. {
  85. magazines[] = {macro_new_mag(personal_shield,1)};
  86. };
  87. class Throwable_C_Type_Muzzle: ThrowMuzzle
  88. {
  89. magazines[] = {macro_new_mag(throwable_c_type,1)};
  90. };
  91. class SuperSmoke_Muzzle: ThrowMuzzle
  92. {
  93. magazines[] = {macro_new_mag(super_smoke,1)};
  94. };
  95. class Dioxis_Muzzle: ThrowMuzzle
  96. {
  97. magazines[] = {macro_new_mag(dioxis,1)};
  98. };
  99. class thermaldet_cis_Muzzle: ThrowMuzzle
  100. {
  101. magazines[] = {macro_new_mag(thermaldet_cis,1)};
  102. };
  103. };
  104. };