liberation_notifications.hpp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. class CfgNotifications
  2. {
  3. class lib_default_notification {
  4. duration = 10;
  5. soundClose = "defaultNotificationClose";
  6. colorIconPicture[] = {1,1,1,1};
  7. colorIconText[] = {1,1,1,1};
  8. priority = 5;
  9. };
  10. class lib_sector_captured : lib_default_notification
  11. {
  12. title = $STR_NOTIFICATION_SECTORCAPTURED_TITLE;
  13. description = $STR_NOTIFICATION_SECTORCAPTURED_TEXT;
  14. iconPicture = "res\notif\ui_notif_sec_cap.paa";
  15. color[] = {0,1,0,1};
  16. sound = "taskSucceeded";
  17. };
  18. class lib_sector_attacked : lib_default_notification
  19. {
  20. title = $STR_NOTIFICATION_SECTORATTACKED_TITLE;
  21. description = $STR_NOTIFICATION_SECTORATTACKED_TEXT;
  22. iconPicture = "res\notif\ui_notif_sec_una.paa";
  23. color[] = {1,1,0,1};
  24. sound = "taskCanceled";
  25. };
  26. class lib_sector_lost : lib_default_notification
  27. {
  28. title = $STR_NOTIFICATION_SECTORLOST_TITLE;
  29. description = $STR_NOTIFICATION_SECTORLOST_TEXT;
  30. iconPicture = "res\notif\ui_notif_sec_los.paa";
  31. color[] = {1,0,0,1};
  32. sound = "taskFailed";
  33. };
  34. class lib_sector_safe : lib_default_notification
  35. {
  36. title = $STR_NOTIFICATION_SECTORSAFE_TITLE;
  37. description = $STR_NOTIFICATION_SECTORSAFE_TEXT;
  38. iconPicture = "res\notif\ui_notif_sec_saf.paa";
  39. color[] = {0,0.35,1,1};
  40. sound = "taskUpdated";
  41. priority = 3;
  42. };
  43. class lib_fob_built : lib_default_notification
  44. {
  45. title = $STR_NOTIFICATION_FOBBUILT_TITLE;
  46. description = $STR_NOTIFICATION_FOBBUILT_TEXT;
  47. iconPicture = "res\notif\ui_notif_fob_new.paa";
  48. color[] = {0,0.35,1,1};
  49. sound = "taskUpdated";
  50. };
  51. class lib_fob_safe : lib_default_notification
  52. {
  53. title = $STR_NOTIFICATION_FOBSAFE_TITLE;
  54. description = $STR_NOTIFICATION_FOBSAFE_TEXT;
  55. iconPicture = "res\notif\ui_notif_fob_sec.paa";
  56. color[] = {0,0.35,1,1};
  57. sound = "taskUpdated";
  58. priority = 3;
  59. };
  60. class lib_fob_attacked : lib_default_notification
  61. {
  62. title = $STR_NOTIFICATION_FOBATTACKED_TITLE;
  63. description = $STR_NOTIFICATION_FOBATTACKED_TEXT;
  64. iconPicture = "res\notif\ui_notif_fob_und.paa";
  65. color[] = {1,1,0,1};
  66. sound = "taskCanceled";
  67. };
  68. class lib_fob_lost : lib_default_notification
  69. {
  70. title = $STR_NOTIFICATION_FOBLOST_TITLE;
  71. description = $STR_NOTIFICATION_FOBLOST_TEXT;
  72. iconPicture = "res\notif\ui_notif_fob_los.paa";
  73. color[] = {1,0,0,1};
  74. sound = "taskFailed";
  75. };
  76. class lib_battlegroup : lib_default_notification
  77. {
  78. title = $STR_NOTIFICATION_BATTLEGROUP_TITLE;
  79. description = $STR_NOTIFICATION_BATTLEGROUP_TEXT;
  80. iconPicture = "res\notif\ui_notif_bgp.paa";
  81. color[] = {1,0,0,1};
  82. sound = "taskFailed";
  83. };
  84. class lib_incoming : lib_battlegroup
  85. {
  86. description = $STR_NOTIFICATION_INCOMING_TEXT;
  87. };
  88. class lib_intel : lib_default_notification
  89. {
  90. title = $STR_NOTIFICATION_INTEL_TITLE;
  91. iconPicture = "res\notif\ui_notif_int.paa";
  92. color[] = {0,0.35,1,1};
  93. sound = "taskUpdated";
  94. };
  95. class lib_intel_prisoner : lib_intel
  96. {
  97. description = $STR_NOTIFICATION_PRISONER_TEXT;
  98. };
  99. class lib_intel_document : lib_intel
  100. {
  101. description = $STR_NOTIFICATION_DOCUMENT_TEXT;
  102. };
  103. class lib_intel_fob : lib_intel
  104. {
  105. description = $STR_NOTIFICATION_FOB_TEXT;
  106. };
  107. class lib_intel_convoy : lib_intel
  108. {
  109. description = $STR_NOTIFICATION_CONVOY_SPOTTED_TEXT;
  110. };
  111. class lib_secondary_fob_destroyed : lib_default_notification
  112. {
  113. title = $STR_NOTIFICATION_SECONDARY_TITLE;
  114. description = $STR_NOTIFICATION_SECONDARY_TEXT;
  115. iconPicture = "res\notif\ui_notif_sob.paa";
  116. color[] = {0,1,0,1};
  117. sound = "taskSucceeded";
  118. };
  119. class lib_secondary_convoy_destroyed : lib_secondary_fob_destroyed
  120. {
  121. description = $STR_NOTIFICATION_CONVOY_DESTROYED_TEXT;
  122. };
  123. class lib_reinforcements : lib_default_notification
  124. {
  125. title = $STR_NOTIFICATION_REINFORCEMENTS_TITLE;
  126. description = $STR_NOTIFICATION_REINFORCEMENTS_TEXT;
  127. iconPicture = "res\notif\ui_notif_ref.paa";
  128. color[] = {1,1,0,1};
  129. sound = "taskCanceled";
  130. };
  131. class lib_intel_sar : lib_intel
  132. {
  133. description = $STR_NOTIFICATION_SAR_STARTED;
  134. };
  135. class lib_intel_sar_failed : lib_secondary_fob_destroyed
  136. {
  137. description = $STR_NOTIFICATION_SAR_FAILED;
  138. color[] = {1,0,0,1};
  139. sound = "taskFailed";
  140. };
  141. class lib_intel_sar_succeeded : lib_secondary_fob_destroyed
  142. {
  143. description = $STR_NOTIFICATION_SAR_SUCCESS;
  144. };
  145. };