Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. class CfgXM8
  2. {
  3. class settings
  4. {
  5. controlID = 4070;
  6. appID = "App01";
  7. title = "Settings";
  8. };
  9.  
  10. class healthScanner
  11. {
  12. controlID = 4120;
  13. appID = "App02";
  14. title = "Health Scanner";
  15. };
  16.  
  17. class slothMachine
  18. {
  19. controlID = 4140;
  20. appID = "App03";
  21. title = "Sloth Machine";
  22. };
  23.  
  24. extraApps[] = {"ExAd_SB"};
  25.  
  26. class ExAd_SB
  27. {
  28. title = "Statsbar Settings";
  29. controlID = 50400; //IDC:50400 -> 50475 || These need to be unique and out of range from each other
  30. logo = "exile_assets\texture\ui\xm8_app_settings_ca.paa";
  31. onLoad = "ExAdClient\XM8\Apps\SB_Settings\onLoad.sqf";
  32. };
  33.  
  34. };
  35.  
  36.  
  37. /*
  38. XM8 Extra apps, the Exile way of doing it
  39.  
  40. Here is an example app layout:
  41. class XM8_App01_Button: RscExileXM8AppButton1x1
  42. {
  43. textureNoShortcut = ""; // Path to picture. This can be via mission file or client side PBO
  44. text = ""; // The name of the app to be display on the button
  45. onButtonClick = ""; // The code to fire when the app is clicked
  46. resource = ""; // The name of the resource to load for the app, leave as an empty string if you just want to run code without a GUI, like BOOM or spawning a bike
  47. };
  48. */
  49.  
  50. class XM8_App01_Button: RscExileXM8AppButton1x1
  51. {
  52. textureNoShortcut = "\exile_assets\texture\ui\xm8_app_settings_ca.paa";
  53. text = "Settings";
  54. onButtonClick = "['settings', 0] call ExileClient_gui_xm8_slide";
  55. resource = "XM8SlideSettings";
  56. };
  57.  
  58. class XM8_App02_Button: RscExileXM8AppButton1x1
  59. {
  60. textureNoShortcut = "\exile_assets\texture\ui\xm8_app_health_scanner_ca.paa";
  61. text = "Health Scanner";
  62. onButtonClick = "['healthScanner', 0] call ExileClient_gui_xm8_slide";
  63. resource = "XM8SlideHealthScanner";
  64. };
  65.  
  66. class XM8_App03_Button: RscExileXM8AppButton1x1
  67. {
  68. textureNoShortcut = "\exile_assets\texture\ui\xm8_app_slothMachine_ca.paa";
  69. text = "Sloth Machine";
  70. onButtonClick = "['slothMachine', 0] call ExileClient_gui_xm8_slide";
  71. resource = "XM8SlideSlothMachine";
  72. };
  73.  
  74. class XM8_App04_Button: RscExileXM8AppButton1x1
  75. {
  76. textureNoShortcut = "\exile_assets\texture\ui\xm8_app_boom_ca.paa";
  77. text = "BOOM!";
  78. onButtonClick = "call ExileClient_system_breaching_detonate";
  79. resource = "";
  80. };
  81.  
  82.  
  83. class XM8_App06_Button: RscExileXM8AppButton1x1
  84. {
  85. textureNoShortcut = "";
  86. text = "";
  87. onButtonClick = "";
  88. resource = "";
  89. };
  90.  
  91. class XM8_App07_Button: RscExileXM8AppButton1x1
  92. {
  93. textureNoShortcut = "";
  94. text = "";
  95. onButtonClick = "";
  96. resource = "";
  97. };
  98.  
  99. class XM8_App08_Button: RscExileXM8AppButton1x1
  100. {
  101. textureNoShortcut = "";
  102. text = "";
  103. onButtonClick = "";
  104. resource = "";
  105. };
  106.  
  107. class XM8_App09_Button: RscExileXM8AppButton1x1
  108. {
  109. textureNoShortcut = "";
  110. text = "";
  111. onButtonClick = "";
  112. resource = "";
  113. };
  114.  
  115. class XM8_App10_Button: RscExileXM8AppButton1x1
  116. {
  117. textureNoShortcut = "";
  118. text = "";
  119. onButtonClick = "";
  120. resource = "";
  121. };
  122.  
  123. class XM8_App11_Button: RscExileXM8AppButton1x1
  124. {
  125. textureNoShortcut = "exile_assets\texture\ui\xm8_app_settings_ca.paa";
  126. text = "Status Bar Settings";
  127. onButtonClick = "['ExAd_SB', 0] call ExileClient_gui_xm8_slide";
  128. resource = "";
  129. };
  130.  
  131. class XM8_App12_Button: RscExileXM8AppButton1x1
  132. {
  133. textureNoShortcut = "";
  134. text = "";
  135. onButtonClick = "";
  136. resource = "";
  137. };
  138.  
  139. class XM8_App13_Button: RscExileXM8AppButton1x1
  140. {
  141. textureNoShortcut = "";
  142. text = "";
  143. onButtonClick = "";
  144. resource = "";
  145. };
  146.  
  147. class XM8_App14_Button: RscExileXM8AppButton1x1
  148. {
  149. textureNoShortcut = "";
  150. text = "";
  151. onButtonClick = "";
  152. resource = "";
  153. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement