common.hpp 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. /*
  2. ArmA 3 Wasteland
  3. Code extracted and adapted by Sa-Matra
  4. Using this code without Sa-Matra's direct permission is forbidden
  5. */
  6. class VAS_RscControlsGroup {
  7. type = 15;
  8. idc = -1;
  9. x = 0;
  10. y = 0;
  11. w = 1;
  12. h = 1;
  13. shadow = 0;
  14. style = 16;
  15. class VScrollbar {
  16. width = 0.021;
  17. autoScrollSpeed = -1;
  18. autoScrollDelay = 5;
  19. autoScrollRewind = 0;
  20. shadow = 0;
  21. };
  22. class HScrollbar {
  23. height = 0.028;
  24. shadow = 0;
  25. };
  26. class ScrollBar {
  27. color[] = {1, 1, 1, 0.6};
  28. colorActive[] = {1, 1, 1, 1};
  29. colorDisabled[] = {1, 1, 1, 0.3};
  30. thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  31. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  32. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  33. border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  34. };
  35. class Controls {};
  36. };
  37. class VAS_RscControlsGroupNoScrollbars : VAS_RscControlsGroup {
  38. class VScrollbar : VScrollbar {
  39. width = 0;
  40. };
  41. class HScrollbar : HScrollbar {
  42. height = 0;
  43. };
  44. };
  45. class VAS_RscListNBox {
  46. style = 16;
  47. type=102;
  48. shadow = 0;
  49. font = "PuristaMedium";
  50. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  51. color[] = {0.95, 0.95, 0.95, 1};
  52. colorText[] = {1, 1, 1, 1.0};
  53. colorDisabled[] = {1, 1, 1, 0.25};
  54. colorScrollbar[] = {0.95, 0.95, 0.95, 1};
  55. colorSelect[] = {0, 0, 0, 1};
  56. colorSelect2[] = {0, 0, 0, 1};
  57. colorSelectBackground[] = {0.95, 0.95, 0.95, 1};
  58. colorSelectBackground2[] = {1, 1, 1, 0.5};
  59. period = 1.2;
  60. class ScrollBar {
  61. color[] = {1, 1, 1, 0.6};
  62. colorActive[] = {1, 1, 1, 1};
  63. colorDisabled[] = {1, 1, 1, 0.3};
  64. thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  65. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  66. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  67. border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  68. };
  69. };
  70. class VAS_RscText {
  71. x = 0;
  72. y = 0;
  73. h = 0.037;
  74. w = 0.3;
  75. type = 0;
  76. style = 0;
  77. shadow = 1;
  78. colorShadow[] = {0, 0, 0, 0.5};
  79. font = "PuristaMedium";
  80. SizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  81. text = "";
  82. colorText[] = {1, 1, 1, 1.0};
  83. colorBackground[] = {0, 0, 0, 0};
  84. linespacing = 1;
  85. };
  86. class VAS_RscLine : VAS_RscText {
  87. idc = -1;
  88. style = 176;
  89. x = 0.17;
  90. y = 0.48;
  91. w = 0.66;
  92. h = 0;
  93. text = "";
  94. colorBackground[] = {0, 0, 0, 0};
  95. colorText[] = {1, 1, 1, 1.0};
  96. };
  97. class VAS_RscTree {
  98. style = 2;
  99. font = "PuristaMedium";
  100. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  101. expandedTexture = "A3\ui_f\data\gui\Rsccommon\Rsctree\expandedTexture_ca.paa";
  102. hiddenTexture = "A3\ui_f\data\gui\Rsccommon\Rsctree\hiddenTexture_ca.paa";
  103. rowHeight = 0.0439091;
  104. color[] = {1, 1, 1, 1};
  105. colorSelect[] = {0.7, 0.7, 0.7, 1};
  106. colorBackground[] = {0, 0, 0, 0};
  107. colorSelectBackground[] = {0, 0, 0, 0.5};
  108. colorBorder[] = {0, 0, 0, 0};
  109. borderSize = 0;
  110. };
  111. class VAS_RscTitle : VAS_RscText {
  112. style = 0;
  113. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  114. colorText[] = {0.95, 0.95, 0.95, 1};
  115. };
  116. class VAS_RscPicture {
  117. shadow = 0;
  118. colorText[] = {1, 1, 1, 1};
  119. x = 0;
  120. y = 0;
  121. w = 0.2;
  122. h = 0.15;
  123. };
  124. class VAS_RscPictureKeepAspect : VAS_RscPicture {
  125. style = 0x30 + 0x800;
  126. };
  127. class VAS_RscStructuredText {
  128. type = 13;
  129. style = 0;
  130. x = 0;
  131. y = 0;
  132. h = 0.035;
  133. w = 0.1;
  134. text = "";
  135. size = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  136. colorText[] = {1, 1, 1, 1.0};
  137. shadow = 1;
  138. class Attributes {
  139. font = "PuristaMedium";
  140. color = "#ffffff";
  141. align = "left";
  142. shadow = 1;
  143. };
  144. };
  145. class VAS_RscActiveText {
  146. idc = -1;
  147. type = 11;
  148. style = 0;
  149. x = 0;
  150. y = 0;
  151. h = 0.037;
  152. w = 0.3;
  153. sizeEx = 0.040;
  154. font = "PuristaLight";
  155. color[] = {1, 1, 1, 1};
  156. colorActive[] = {1, 0.2, 0.2, 1};
  157. soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1};
  158. soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0};
  159. soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1};
  160. soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1};
  161. action = "";
  162. text = "";
  163. };
  164. class VAS_RscButton {
  165. style = 2;
  166. x = 0;
  167. y = 0;
  168. w = 0.095589;
  169. h = 0.039216;
  170. shadow = 2;
  171. font = "PuristaMedium";
  172. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  173. colorText[] = {1, 1, 1, 1.0};
  174. colorDisabled[] = {0.4, 0.4, 0.4, 1};
  175. colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.7};
  176. colorBackgroundActive[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
  177. colorBackgroundDisabled[] = {0.95, 0.95, 0.95, 1};
  178. offsetX = 0.003;
  179. offsetY = 0.003;
  180. offsetPressedX = 0.002;
  181. offsetPressedY = 0.002;
  182. colorFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
  183. colorShadow[] = {0, 0, 0, 1};
  184. colorBorder[] = {0, 0, 0, 1};
  185. borderSize = 0.0;
  186. soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1};
  187. soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0};
  188. soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1};
  189. soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1};
  190. };
  191. class VAS_RscButtonTextOnly : VAS_RscButton {
  192. SizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  193. colorBackground[] = {1, 1, 1, 0};
  194. colorBackgroundActive[] = {1, 1, 1, 0};
  195. colorBackgroundDisabled[] = {1, 1, 1, 0};
  196. colorFocused[] = {1, 1, 1, 0};
  197. colorShadow[] = {1, 1, 1, 0};
  198. borderSize = 0.0;
  199. };
  200. class VAS_RscShortcutButton {
  201. idc = -1;
  202. style = 0;
  203. default = 0;
  204. shadow = 1;
  205. w = 0.183825;
  206. h = "( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 20)";
  207. color[] = {1, 1, 1, 1.0};
  208. color2[] = {0.95, 0.95, 0.95, 1};
  209. colorDisabled[] = {1, 1, 1, 0.25};
  210. colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
  211. colorBackground2[] = {1, 1, 1, 1};
  212. animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  213. animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  214. animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa";
  215. animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\over_ca.paa";
  216. animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\focus_ca.paa";
  217. animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\down_ca.paa";
  218. textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
  219. periodFocus = 1.2;
  220. periodOver = 0.8;
  221. class HitZone {
  222. left = 0.0;
  223. top = 0.0;
  224. right = 0.0;
  225. bottom = 0.0;
  226. };
  227. class ShortcutPos {
  228. left = 0;
  229. top = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - ( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  230. w = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
  231. h = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  232. };
  233. class TextPos {
  234. left = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)";
  235. top = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - ( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  236. right = 0.005;
  237. bottom = 0.0;
  238. };
  239. period = 0.4;
  240. font = "PuristaMedium";
  241. size = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  242. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  243. text = "";
  244. soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1};
  245. soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0};
  246. soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1};
  247. soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1};
  248. action = "";
  249. class Attributes {
  250. font = "PuristaMedium";
  251. color = "#E5E5E5";
  252. align = "left";
  253. shadow = "true";
  254. };
  255. class AttributesImage {
  256. font = "PuristaMedium";
  257. color = "#E5E5E5";
  258. align = "left";
  259. };
  260. };
  261. class VAS_RscButtonMenu : VAS_RscShortcutButton {
  262. idc = -1;
  263. type = 16;
  264. style = "0x02 + 0xC0";
  265. default = 0;
  266. shadow = 0;
  267. x = 0;
  268. y = 0;
  269. w = 0.095589;
  270. h = 0.039216;
  271. animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
  272. animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
  273. animTextureOver = "#(argb,8,8,3)color(1,1,1,0.5)";
  274. animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
  275. animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
  276. animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
  277. colorBackground[] = {0, 0, 0, 0.8};
  278. colorBackground2[] = {1, 1, 1, 0.5};
  279. color[] = {1, 1, 1, 1};
  280. color2[] = {1, 1, 1, 1};
  281. colorText[] = {1, 1, 1, 1};
  282. colorDisabled[] = {1, 1, 1, 0.25};
  283. period = 1.2;
  284. periodFocus = 1.2;
  285. periodOver = 1.2;
  286. size = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  287. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  288. class TextPos {
  289. left = "0.25 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
  290. top = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - ( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2";
  291. right = 0.005;
  292. bottom = 0.0;
  293. };
  294. class Attributes {
  295. font = "PuristaLight";
  296. color = "#E5E5E5";
  297. align = "left";
  298. shadow = "false";
  299. };
  300. class ShortcutPos {
  301. left = "(6.25 * ( ((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005";
  302. top = 0.005;
  303. w = 0.0225;
  304. h = 0.03;
  305. };
  306. };
  307. class VAS_RscShortcutButtonMain : VAS_RscShortcutButton {
  308. idc = -1;
  309. style = 0;
  310. default = 0;
  311. w = 0.313726;
  312. h = 0.104575;
  313. color[] = {1, 1, 1, 1.0};
  314. colorDisabled[] = {1, 1, 1, 0.25};
  315. class HitZone {
  316. left = 0.0;
  317. top = 0.0;
  318. right = 0.0;
  319. bottom = 0.0;
  320. };
  321. class ShortcutPos {
  322. left = 0.0145;
  323. top = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - ( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
  324. w = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2) * (3/4)";
  325. h = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  326. };
  327. class TextPos {
  328. left = "( ((safezoneW / safezoneH) min 1.2) / 32) * 1.5";
  329. top = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 20)*2 - ( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2";
  330. right = 0.005;
  331. bottom = 0.0;
  332. };
  333. animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";
  334. animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\disabled_ca.paa";
  335. animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\over_ca.paa";
  336. animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\focus_ca.paa";
  337. animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\down_ca.paa";
  338. animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa";
  339. period = 0.5;
  340. font = "PuristaMedium";
  341. size = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  342. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  343. text = "";
  344. soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1};
  345. soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0};
  346. soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1};
  347. soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1};
  348. action = "";
  349. class Attributes {
  350. font = "PuristaMedium";
  351. color = "#E5E5E5";
  352. align = "left";
  353. shadow = "false";
  354. };
  355. class AttributesImage {
  356. font = "PuristaMedium";
  357. color = "#E5E5E5";
  358. align = "false";
  359. };
  360. };
  361. class VAS_RscCheckbox {
  362. idc = -1;
  363. type = 7;
  364. style = 0;
  365. x = "LINE_X(XVAL)";
  366. y = LINE_Y;
  367. w = "LINE_W(WVAL)";
  368. h = 0.029412;
  369. colorText[] = {1, 0, 0, 1};
  370. color[] = {0, 0, 0, 0};
  371. colorBackground[] = {0, 0, 1, 1};
  372. colorTextSelect[] = {0, 0.8, 0, 1};
  373. colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
  374. colorSelect[] = {0, 0, 0, 1};
  375. colorTextDisable[] = {0.4, 0.4, 0.4, 1};
  376. colorDisable[] = {0.4, 0.4, 0.4, 1};
  377. font = "PuristaMedium";
  378. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  379. rows = 1;
  380. columns = 1;
  381. strings[] = {UNCHECKED};
  382. checked_strings[] = {CHECKED};
  383. };
  384. class VAS_RscProgress {
  385. x = 0.344;
  386. y = 0.619;
  387. w = 0.313726;
  388. h = 0.0261438;
  389. shadow = 2;
  390. texture = "\A3\ui_f\data\GUI\RscCommon\RscProgress\progressbar_ca.paa";
  391. colorFrame[] = {0, 0, 0, 0};
  392. colorBar[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
  393. };
  394. class VAS_RscListBox {
  395. style = 16;
  396. idc = -1;
  397. type = 5;
  398. w = 0.275;
  399. h = 0.04;
  400. font = "PuristaMedium";
  401. colorSelect[] = {1, 1, 1, 1};
  402. colorText[] = {1, 1, 1, 1};
  403. colorBackground[] = {0.28,0.28,0.28,0.28};
  404. colorSelect2[] = {1, 1, 1, 1};
  405. colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5};
  406. colorSelectBackground2[] = {1, 1, 1, 0.5};
  407. colorScrollbar[] = {0.2, 0.2, 0.2, 1};
  408. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  409. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  410. wholeHeight = 0.45;
  411. rowHeight = 0.04;
  412. color[] = {0.7, 0.7, 0.7, 1};
  413. colorActive[] = {0,0,0,1};
  414. colorDisabled[] = {0,0,0,0.3};
  415. sizeEx = 0.023;
  416. soundSelect[] = {"",0.1,1};
  417. soundExpand[] = {"",0.1,1};
  418. soundCollapse[] = {"",0.1,1};
  419. maxHistoryDelay = 1;
  420. autoScrollSpeed = -1;
  421. autoScrollDelay = 5;
  422. autoScrollRewind = 0;
  423. class ScrollBar {
  424. color[] = {1, 1, 1, 0.6};
  425. colorActive[] = {1, 1, 1, 1};
  426. colorDisabled[] = {1, 1, 1, 0.3};
  427. thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  428. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  429. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  430. border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  431. };
  432. };
  433. class VAS_RscEdit {
  434. type = 2;
  435. style = 0x00 + 0x40;
  436. font = "PuristaMedium";
  437. shadow = 2;
  438. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  439. colorBackground[] = {0, 0, 0, 1};
  440. colorText[] = {0.95, 0.95, 0.95, 1};
  441. colorDisabled[] = {1, 1, 1, 0.25};
  442. autocomplete = false;
  443. colorSelection[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1};
  444. canModify = 1;
  445. };
  446. class VAS_RscSlider {
  447. h = 0.025;
  448. color[] = {1, 1, 1, 0.8};
  449. colorActive[] = {1, 1, 1, 1};
  450. };
  451. class VAS_RscFrame {
  452. type = 0;
  453. idc = -1;
  454. style = 64;
  455. shadow = 2;
  456. colorBackground[] = {0, 0, 0, 0};
  457. colorText[] = {1, 1, 1, 1};
  458. font = "PuristaMedium";
  459. sizeEx = 0.02;
  460. text = "";
  461. };
  462. class VAS_RscBackground : VAS_RscText {
  463. type = 0;
  464. IDC = -1;
  465. style = 512;
  466. shadow = 0;
  467. x = 0.0;
  468. y = 0.0;
  469. w = 1.0;
  470. h = 1.0;
  471. text = "";
  472. ColorBackground[] = {0.48, 0.5, 0.35, 1};
  473. ColorText[] = {0.1, 0.1, 0.1, 1};
  474. font = "PuristaMedium";
  475. SizeEx = 1;
  476. };
  477. class VAS_RscHTML {
  478. colorText[] = {1, 1, 1, 1.0};
  479. colorBold[] = {1, 1, 1, 1.0};
  480. colorLink[] = {1, 1, 1, 0.75};
  481. colorLinkActive[] = {1, 1, 1, 1.0};
  482. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  483. prevPage = "\A3\ui_f\data\gui\Rsccommon\Rschtml\arrow_left_ca.paa";
  484. nextPage = "\A3\ui_f\data\gui\Rsccommon\Rschtml\arrow_right_ca.paa";
  485. shadow = 2;
  486. class H1 {
  487. font = "PuristaMedium";
  488. fontBold = "PuristaSemibold";
  489. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)";
  490. align = "left";
  491. };
  492. class H2 {
  493. font = "PuristaMedium";
  494. fontBold = "PuristaSemibold";
  495. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  496. align = "right";
  497. };
  498. class H3 {
  499. font = "PuristaMedium";
  500. fontBold = "PuristaSemibold";
  501. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  502. align = "left";
  503. };
  504. class H4 {
  505. font = "PuristaMedium";
  506. fontBold = "PuristaSemibold";
  507. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  508. align = "left";
  509. };
  510. class H5 {
  511. font = "PuristaMedium";
  512. fontBold = "PuristaSemibold";
  513. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  514. align = "left";
  515. };
  516. class H6 {
  517. font = "PuristaMedium";
  518. fontBold = "PuristaSemibold";
  519. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  520. align = "left";
  521. };
  522. class P {
  523. font = "PuristaMedium";
  524. fontBold = "PuristaSemibold";
  525. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  526. align = "left";
  527. };
  528. };
  529. class VAS_RscHitZones {
  530. x = 0;
  531. y = 0;
  532. w = 0.1;
  533. h = 0.1;
  534. xCount = 1;
  535. yCount = 1;
  536. xSpace = 0;
  537. ySpace = 0;
  538. };
  539. class VAS_RscMapControl {
  540. moveOnEdges = 1;
  541. x = "SafeZoneXAbs";
  542. y = "SafeZoneY + 1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  543. w = "SafeZoneWAbs";
  544. h = "SafeZoneH - 1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  545. shadow = 0;
  546. ptsPerSquareSea = 5;
  547. ptsPerSquareTxt = 3;
  548. ptsPerSquareCLn = 10;
  549. ptsPerSquareExp = 10;
  550. ptsPerSquareCost = 10;
  551. ptsPerSquareFor = 9;
  552. ptsPerSquareForEdge = 9;
  553. ptsPerSquareRoad = 6;
  554. ptsPerSquareObj = 9;
  555. showCountourInterval = 0;
  556. scaleMin = 0.001;
  557. scaleMax = 1.0;
  558. scaleDefault = 0.16;
  559. maxSatelliteAlpha = 0.85;
  560. alphaFadeStartScale = 0.35;
  561. alphaFadeEndScale = 0.4;
  562. colorBackground[] = {0.969, 0.957, 0.949, 1.0};
  563. colorSea[] = {0.467, 0.631, 0.851, 0.5};
  564. colorForest[] = {0.624, 0.78, 0.388, 0.5};
  565. colorForestBorder[] = {0.0, 0.0, 0.0, 0.0};
  566. colorRocks[] = {0.0, 0.0, 0.0, 0.3};
  567. colorRocksBorder[] = {0.0, 0.0, 0.0, 0.0};
  568. colorLevels[] = {0.286, 0.177, 0.094, 0.5};
  569. colorMainCountlines[] = {0.572, 0.354, 0.188, 0.5};
  570. colorCountlines[] = {0.572, 0.354, 0.188, 0.25};
  571. colorMainCountlinesWater[] = {0.491, 0.577, 0.702, 0.6};
  572. colorCountlinesWater[] = {0.491, 0.577, 0.702, 0.3};
  573. colorPowerLines[] = {0.1, 0.1, 0.1, 1.0};
  574. colorRailWay[] = {0.8, 0.2, 0.0, 1.0};
  575. colorNames[] = {0.1, 0.1, 0.1, 0.9};
  576. colorInactive[] = {1.0, 1.0, 1.0, 0.5};
  577. colorOutside[] = {0.0, 0.0, 0.0, 1.0};
  578. colorTracks[] = {0.84, 0.76, 0.65, 0.15};
  579. colorTracksFill[] = {0.84, 0.76, 0.65, 1.0};
  580. colorRoads[] = {0.7, 0.7, 0.7, 1.0};
  581. colorRoadsFill[] = {1.0, 1.0, 1.0, 1.0};
  582. colorMainRoads[] = {0.9, 0.5, 0.3, 1.0};
  583. colorMainRoadsFill[] = {1.0, 0.6, 0.4, 1.0};
  584. colorGrid[] = {0.1, 0.1, 0.1, 0.6};
  585. colorGridMap[] = {0.1, 0.1, 0.1, 0.6};
  586. fontLabel = "PuristaMedium";
  587. sizeExLabel = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  588. fontGrid = "TahomaB";
  589. sizeExGrid = 0.02;
  590. fontUnits = "TahomaB";
  591. sizeExUnits = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  592. fontNames = "PuristaMedium";
  593. sizeExNames = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8) * 2";
  594. fontInfo = "PuristaMedium";
  595. sizeExInfo = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  596. fontLevel = "TahomaB";
  597. sizeExLevel = 0.02;
  598. text = "#(argb,8,8,3)color(1,1,1,1)";
  599. class Legend {
  600. x = "SafeZoneX + ( ((safezoneW / safezoneH) min 1.2) / 40)";
  601. y = "SafeZoneY + safezoneH - 4.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  602. w = "10 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
  603. h = "3.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
  604. font = "PuristaMedium";
  605. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  606. colorBackground[] = {1, 1, 1, 0.5};
  607. color[] = {0, 0, 0, 1};
  608. };
  609. class ActiveMarker
  610. {
  611. color[] =
  612. {
  613. 0.3,
  614. 0.1,
  615. 0.9,
  616. 1
  617. };
  618. size = 50;
  619. };
  620. class Task {
  621. icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa";
  622. iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa";
  623. iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa";
  624. iconDone = "\A3\ui_f\data\map\mapcontrol\taskIconDone_CA.paa";
  625. iconFailed = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_CA.paa";
  626. color[] = {"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])", "(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])", "(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])", "(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"};
  627. colorCreated[] = {1, 1, 1, 1};
  628. colorCanceled[] = {0.7, 0.7, 0.7, 1};
  629. colorDone[] = {0.7, 1, 0.3, 1};
  630. colorFailed[] = {1, 0.3, 0.2, 1};
  631. size = 27;
  632. importance = 1;
  633. coefMin = 1;
  634. coefMax = 1;
  635. };
  636. class Waypoint {
  637. icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
  638. color[] = {0, 0, 0, 1};
  639. };
  640. class WaypointCompleted {
  641. icon = "\A3\ui_f\data\map\mapcontrol\waypointCompleted_ca.paa";
  642. color[] = {0, 0, 0, 1};
  643. };
  644. class CustomMark {
  645. icon = "\A3\ui_f\data\map\mapcontrol\custommark_ca.paa";
  646. size = 24;
  647. importance = 1;
  648. coefMin = 1;
  649. coefMax = 1;
  650. color[] = {0, 0, 0, 1};
  651. };
  652. class Command {
  653. icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
  654. size = 18;
  655. importance = 1;
  656. coefMin = 1;
  657. coefMax = 1;
  658. color[] = {1, 1, 1, 1};
  659. };
  660. class Bush {
  661. icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
  662. color[] = {0.45, 0.64, 0.33, 0.4};
  663. size = 14/2;
  664. importance = 0.2 * 14 * 0.05 * 0.05;
  665. coefMin = 0.25;
  666. coefMax = 4;
  667. };
  668. class Rock {
  669. icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa";
  670. color[] = {0.1, 0.1, 0.1, 0.8};
  671. size = 12;
  672. importance = 0.5 * 12 * 0.05;
  673. coefMin = 0.25;
  674. coefMax = 4;
  675. };
  676. class SmallTree {
  677. icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
  678. color[] = {0.45, 0.64, 0.33, 0.4};
  679. size = 12;
  680. importance = 0.6 * 12 * 0.05;
  681. coefMin = 0.25;
  682. coefMax = 4;
  683. };
  684. class Tree {
  685. icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
  686. color[] = {0.45, 0.64, 0.33, 0.4};
  687. size = 12;
  688. importance = 0.9 * 16 * 0.05;
  689. coefMin = 0.25;
  690. coefMax = 4;
  691. };
  692. class busstop {
  693. icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa";
  694. size = 24;
  695. importance = 1;
  696. coefMin = 0.85;
  697. coefMax = 1.0;
  698. color[] = {1, 1, 1, 1};
  699. };
  700. class fuelstation {
  701. icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa";
  702. size = 24;
  703. importance = 1;
  704. coefMin = 0.85;
  705. coefMax = 1.0;
  706. color[] = {1, 1, 1, 1};
  707. };
  708. class hospital {
  709. icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa";
  710. size = 24;
  711. importance = 1;
  712. coefMin = 0.85;
  713. coefMax = 1.0;
  714. color[] = {1, 1, 1, 1};
  715. };
  716. class church {
  717. icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa";
  718. size = 24;
  719. importance = 1;
  720. coefMin = 0.85;
  721. coefMax = 1.0;
  722. color[] = {1, 1, 1, 1};
  723. };
  724. class lighthouse {
  725. icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa";
  726. size = 24;
  727. importance = 1;
  728. coefMin = 0.85;
  729. coefMax = 1.0;
  730. color[] = {1, 1, 1, 1};
  731. };
  732. class power {
  733. icon = "\A3\ui_f\data\map\mapcontrol\power_CA.paa";
  734. size = 24;
  735. importance = 1;
  736. coefMin = 0.85;
  737. coefMax = 1.0;
  738. color[] = {1, 1, 1, 1};
  739. };
  740. class powersolar {
  741. icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa";
  742. size = 24;
  743. importance = 1;
  744. coefMin = 0.85;
  745. coefMax = 1.0;
  746. color[] = {1, 1, 1, 1};
  747. };
  748. class powerwave {
  749. icon = "\A3\ui_f\data\map\mapcontrol\powerwave_CA.paa";
  750. size = 24;
  751. importance = 1;
  752. coefMin = 0.85;
  753. coefMax = 1.0;
  754. color[] = {1, 1, 1, 1};
  755. };
  756. class powerwind {
  757. icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa";
  758. size = 24;
  759. importance = 1;
  760. coefMin = 0.85;
  761. coefMax = 1.0;
  762. color[] = {1, 1, 1, 1};
  763. };
  764. class quay {
  765. icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa";
  766. size = 24;
  767. importance = 1;
  768. coefMin = 0.85;
  769. coefMax = 1.0;
  770. color[] = {1, 1, 1, 1};
  771. };
  772. class shipwreck {
  773. icon = "\A3\ui_f\data\map\mapcontrol\shipwreck_CA.paa";
  774. size = 24;
  775. importance = 1;
  776. coefMin = 0.85;
  777. coefMax = 1.0;
  778. color[] = {1, 1, 1, 1};
  779. };
  780. class transmitter {
  781. icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa";
  782. size = 24;
  783. importance = 1;
  784. coefMin = 0.85;
  785. coefMax = 1.0;
  786. color[] = {1, 1, 1, 1};
  787. };
  788. class watertower {
  789. icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa";
  790. size = 24;
  791. importance = 1;
  792. coefMin = 0.85;
  793. coefMax = 1.0;
  794. color[] = {1, 1, 1, 1};
  795. };
  796. class Cross {
  797. icon = "\A3\ui_f\data\map\mapcontrol\Cross_CA.paa";
  798. size = 24;
  799. importance = 1;
  800. coefMin = 0.85;
  801. coefMax = 1.0;
  802. color[] = {0, 0, 0, 1};
  803. };
  804. class Chapel {
  805. icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa";
  806. size = 24;
  807. importance = 1;
  808. coefMin = 0.85;
  809. coefMax = 1.0;
  810. color[] = {0, 0, 0, 1};
  811. };
  812. class Bunker {
  813. icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
  814. size = 14;
  815. importance = 1.5 * 14 * 0.05;
  816. coefMin = 0.25;
  817. coefMax = 4;
  818. color[] = {0, 0, 0, 1};
  819. };
  820. class Fortress {
  821. icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
  822. size = 16;
  823. importance = 2 * 16 * 0.05;
  824. coefMin = 0.25;
  825. coefMax = 4;
  826. color[] = {0, 0, 0, 1};
  827. };
  828. class Fountain {
  829. icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa";
  830. size = 11;
  831. importance = 1 * 12 * 0.05;
  832. coefMin = 0.25;
  833. coefMax = 4;
  834. color[] = {0, 0, 0, 1};
  835. };
  836. class Ruin {
  837. icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa";
  838. size = 16;
  839. importance = 1.2 * 16 * 0.05;
  840. coefMin = 1;
  841. coefMax = 4;
  842. color[] = {0, 0, 0, 1};
  843. };
  844. class Stack {
  845. icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa";
  846. size = 20;
  847. importance = 2 * 16 * 0.05;
  848. coefMin = 0.9;
  849. coefMax = 4;
  850. color[] = {0, 0, 0, 1};
  851. };
  852. class Tourism {
  853. icon = "\A3\ui_f\data\map\mapcontrol\tourism_ca.paa";
  854. size = 16;
  855. importance = 1 * 16 * 0.05;
  856. coefMin = 0.7;
  857. coefMax = 4;
  858. color[] = {0, 0, 0, 1};
  859. };
  860. class ViewTower {
  861. icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa";
  862. size = 16;
  863. importance = 2.5 * 16 * 0.05;
  864. coefMin = 0.5;
  865. coefMax = 4;
  866. color[] = {0, 0, 0, 1};
  867. };
  868. };
  869. class VAS_RscCombo {
  870. style = 16;
  871. type = 4;
  872. x = 0;
  873. y = 0;
  874. w = 0.12;
  875. h = 0.035;
  876. shadow = 0;
  877. colorSelect[] = {0, 0, 0, 1};
  878. colorText[] = {0.95, 0.95, 0.95, 1};
  879. colorBackground[] = {0.4,0.4,0.4,0.4};
  880. colorSelectBackground[] = {1, 1, 1, 0.7};
  881. colorScrollbar[] = {1, 0, 0, 1};
  882. soundSelect[] = {
  883. "", 0.000000, 1
  884. };
  885. arrowEmpty = "\A3\ui_f\data\GUI\RscCommon\Rsccombo\arrow_combo_ca.paa";
  886. arrowFull = "\A3\ui_f\data\GUI\RscCommon\Rsccombo\arrow_combo_active_ca.paa";
  887. wholeHeight = 0.45;
  888. color[] = {1, 1, 1, 1};
  889. colorActive[] = {1, 0, 0, 1};
  890. colorDisabled[] = {1, 1, 1, 0.25};
  891. font = "PuristaMedium";
  892. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
  893. class ScrollBar {
  894. color[] = {1, 1, 1, 0.6};
  895. colorActive[] = {1, 1, 1, 1};
  896. colorDisabled[] = {1, 1, 1, 0.3};
  897. thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
  898. arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
  899. arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
  900. border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
  901. };
  902. };
  903. class VAS_RscToolbox {
  904. colorText[] = {0.95, 0.95, 0.95, 1};
  905. color[] = {0.95, 0.95, 0.95, 1};
  906. colorTextSelect[] = {0.95, 0.95, 0.95, 1};
  907. colorSelect[] = {0.95, 0.95, 0.95, 1};
  908. colorTextDisable[] = {0.4, 0.4, 0.4, 1};
  909. colorDisable[] = {0.4, 0.4, 0.4, 1};
  910. colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
  911. font = "PuristaMedium";
  912. sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
  913. };