Advertisement
Deadlesszombie

Untitled

Sep 22nd, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.55 KB | None | 0 0
  1. //this is for a dayz redux but the part directly below this should help us with that picture we saw on paradise
  2.  
  3. class RscDisplayMultiplayerSetup : RscStandardDisplay {
  4. west = "ca\ui\data\flag_bluefor_ca.paa";
  5. east = "ca\ui\data\flag_opfor_ca.paa";
  6. guer = "ca\ui\data\flag_indep_ca.paa";
  7. civl = "ca\ui\data\flag_civil_ca.paa";
  8. none = "ca\ui\data\flag_civil_ca.paa";
  9. westUnlocked = "ca\ui\data\flag_bluefor_ca.paa";
  10. westLocked = "ca\ui\data\flag_bluefor_ca.paa";
  11. eastUnlocked = "ca\ui\data\flag_opfor_ca.paa";
  12. eastLocked = "ca\ui\data\flag_opfor_ca.paa";
  13. guerUnlocked = "ca\ui\data\flag_indep_ca.paa";
  14. guerLocked = "ca\ui\data\flag_indep_ca.paa";
  15. civlUnlocked = "ca\ui\data\flag_civil_ca.paa";
  16. civlLocked = "ca\ui\data\flag_civil_ca.paa";
  17. disabledAllAI = $STR_DISP_MULTI_ENABLE_AI;
  18. enabledAllAI = $STR_DISP_MULTI_DISABLE_AI;
  19. hostLocked = $STR_DISP_MULTI_UNLOCK;
  20. hostUnlocked = $STR_DISP_MULTI_LOCK;
  21. colorNotAssigned[] = {0.4, 0.4, 0.4, 1};
  22. colorAssigned[] = {0.78, 0.39, 0, 1};
  23. colorConfirmed[] = {0, 1, 0, 1};
  24.  
  25. class controlsbackground {
  26. class MP_roles_TitleBorder : RscText {
  27. style = 64;
  28. colorText[] = {0, 0, 0, 1};
  29. x = "(02/100) * SafeZoneW + SafeZoneX";
  30. y = "(02/100) * SafeZoneH + SafeZoneY";
  31. w = "(96/100) * SafeZoneW";
  32. h = "(06/100) * SafeZoneH";
  33. };
  34.  
  35. class TextBack : RscText {
  36. x = "(02/100) * SafeZoneW + SafeZoneX";
  37. y = "(9.5/100) * SafeZoneH + SafeZoneY";
  38. w = "(96/100) * SafeZoneW";
  39. h = "(6/100) * SafeZoneH";
  40. colorBackground[] = {0.1961, 0.1451, 0.0941, 0.42};
  41. };
  42.  
  43. class TextBorder : RscText {
  44. style = 64;
  45. colorText[] = {0, 0, 0, 1};
  46. x = "(02/100) * SafeZoneW + SafeZoneX";
  47. y = "(9.5/100) * SafeZoneH + SafeZoneY";
  48. w = "(96/100) * SafeZoneW";
  49. h = "(6/100) * SafeZoneH";
  50. };
  51.  
  52. class SidesBack : RscText {
  53. x = "(2/100) * SafeZoneW + SafeZoneX";
  54. y = "(20/100) * SafeZoneH + SafeZoneY";
  55. w = "(16/100) * SafeZoneW";
  56. h = "(73/100) * SafeZoneH";
  57. colorBackground[] = {0.1961, 0.1451, 0.0941, 0.42};
  58. };
  59.  
  60. class SidesBorder : RscText {
  61. style = 64;
  62. colorText[] = {0, 0, 0, 1};
  63. x = "(2/100) * SafeZoneW + SafeZoneX";
  64. y = "(20/100) * SafeZoneH + SafeZoneY";
  65. w = "(16/100) * SafeZoneW";
  66. h = "(73/100) * SafeZoneH";
  67. };
  68.  
  69. class ValueRolesBack : RscText {
  70. x = "(20/100) * SafeZoneW + SafeZoneX";
  71. y = "(20/100) * SafeZoneH + SafeZoneY";
  72. w = "(38/100) * SafeZoneW";
  73. h = "(73/100) * SafeZoneH";
  74. colorBackground[] = {0.1961, 0.1451, 0.0941, 0.42};
  75. };
  76.  
  77. class ValueRolesBorder : RscText {
  78. style = 64;
  79. colorText[] = {0, 0, 0, 1};
  80. x = "(20/100) * SafeZoneW + SafeZoneX";
  81. y = "(20/100) * SafeZoneH + SafeZoneY";
  82. w = "(38/100) * SafeZoneW";
  83. h = "(73/100) * SafeZoneH";
  84. };
  85.  
  86. class ValuePoolBack : RscText {
  87. x = "(60/100) * SafeZoneW + SafeZoneX";
  88. y = "(20/100) * SafeZoneH + SafeZoneY";
  89. w = "(38/100) * SafeZoneW";
  90. h = "(73/100) * SafeZoneH";
  91. colorBackground[] = {0.1961, 0.1451, 0.0941, 0.42};
  92. };
  93.  
  94. class ValuePoolBorder : RscText {
  95. style = 64;
  96. colorText[] = {0, 0, 0, 1};
  97. x = "(60/100) * SafeZoneW + SafeZoneX";
  98. y = "(20/100) * SafeZoneH + SafeZoneY";
  99. w = "(38/100) * SafeZoneW";
  100. h = "(73/100) * SafeZoneH";
  101. };
  102. };
  103.  
  104. class controls {
  105. class B_Civilian {};
  106. class B_Guerrila {};
  107. class B_East {};
  108. class B_West {};
  109. class B_Side {};
  110. class B_OK {};
  111. class B_Cancel {};
  112. class B_Kick {};
  113. class B_EnableAll {};
  114. class B_Lock {};
  115. class TextDescription {};
  116. class ValueDescription {};
  117. class TextMessage {};
  118. class ValueRoles {};
  119. class TextParam1 {};
  120. class TextParam2 {};
  121. class ValueParam1 {};
  122. class ValueParam2 {};
  123. class ValuePool {};
  124. class B_Params {};
  125. class Title {};
  126.  
  127. class CA_MP_roles_Title : CA_Title {
  128. idc = 1001;
  129. style = 2;
  130. x = "(02/100) * SafeZoneW + SafeZoneX";
  131. y = "(02/100) * SafeZoneH + SafeZoneY";
  132. w = "(96/100) * SafeZoneW";
  133. h = "(06/100) * SafeZoneH";
  134. colorBackground[] = {49/255, 36/255, 25/255, 173/255};
  135. text = $STR_DISP_MPSETUP_TITLE;
  136. };
  137.  
  138. class CA_TextVotingTimeLeft : CA_MP_roles_Title {
  139. idc = 121;
  140. style = 1;
  141. x = "(50/100) * SafeZoneW + SafeZoneX";
  142. y = "(02/100) * SafeZoneH + SafeZoneY";
  143. w = "(45/100) * SafeZoneW";
  144. colorBackground[] = {0, 0, 0, 0};
  145. };
  146.  
  147. class TextMission : RscText {
  148. idc = 1002;
  149. x = "(02/100) * SafeZoneW + SafeZoneX";
  150. y = "(9.5/100) * SafeZoneH + SafeZoneY";
  151. w = "(18/100) * SafeZoneW";
  152. h = "(3/100) * SafeZoneH";
  153. SizeEx = 0.03;
  154. text = $STR_DISP_SRVSETUP_NAME;
  155. };
  156.  
  157. class ValueMission : RscText {
  158. idc = 101;
  159. x = "(20/100) * SafeZoneW + SafeZoneX";
  160. y = "(9.5/100) * SafeZoneH + SafeZoneY";
  161. w = "(40/100) * SafeZoneW";
  162. h = "(3/100) * SafeZoneH";
  163. SizeEx = 0.03;
  164. };
  165.  
  166. class CA_TextDescription : RscText {
  167. idc = 1004;
  168. x = "(02/100) * SafeZoneW + SafeZoneX";
  169. y = "(12.5/100) * SafeZoneH + SafeZoneY";
  170. w = "(18/100) * SafeZoneW";
  171. h = "(3/100) * SafeZoneH";
  172. SizeEx = 0.03;
  173. text = $STR_DISP_SRVSETUP_DESC;
  174. };
  175.  
  176. class CA_ValueDescription : RscText {
  177. idc = 103;
  178. x = "(20/100) * SafeZoneW + SafeZoneX";
  179. y = "(12.5/100) * SafeZoneH + SafeZoneY";
  180. w = "(78/100) * SafeZoneW";
  181. h = "(3/100) * SafeZoneH";
  182. SizeEx = 0.03;
  183. };
  184.  
  185. class TextIsland : RscText {
  186. idc = 1003;
  187. x = "(60/100) * SafeZoneW + SafeZoneX";
  188. y = "(9.5/100) * SafeZoneH + SafeZoneY";
  189. w = "(5/100) * SafeZoneW";
  190. h = "(3/100) * SafeZoneH";
  191. SizeEx = 0.03;
  192. text = $STR_DISP_SRVSETUP_ISLAND;
  193. };
  194.  
  195. class ValueIsland : RscText {
  196. idc = 102;
  197. x = "(65/100) * SafeZoneW + SafeZoneX";
  198. y = "(9.5/100) * SafeZoneH + SafeZoneY";
  199. w = "(33/100) * SafeZoneW";
  200. h = "(3/100) * SafeZoneH";
  201. SizeEx = 0.03;
  202. };
  203.  
  204. class TextSide : RscText {
  205. idc = 1005;
  206. style = 2;
  207. x = "(02/100) * SafeZoneW + SafeZoneX";
  208. y = "(16.5/100) * SafeZoneH + SafeZoneY";
  209. w = "(16/100) * SafeZoneW";
  210. h = "(3/100) * SafeZoneH";
  211. SizeEx = 0.03921;
  212. text = $STR_DISP_MPSETUP_SIDE;
  213. };
  214.  
  215. class TextRoles : RscText {
  216. style = 2;
  217. x = "(20/100) * SafeZoneW + SafeZoneX";
  218. y = "(16.5/100) * SafeZoneH + SafeZoneY";
  219. w = "(38/100) * SafeZoneW";
  220. h = "(3/100) * SafeZoneH";
  221. SizeEx = 0.03921;
  222. text = $STR_DISP_MPSETUP_SIDE;
  223. };
  224.  
  225. class CA_B_West : RscActiveText {
  226. x = "(4.15/100) * SafeZoneW + SafeZoneX";
  227. y = "(21/100) * SafeZoneH + SafeZoneY";
  228. w = "(11.7/100) * SafeZoneW";
  229. h = "(7/100) * SafeZoneH";
  230. style = 0x02 + 0x100 + 0x40;
  231. type = 11;
  232. colorActive[] = {1, 1, 1, 1};
  233. colorDisabled[] = {1, 1, 1, 0.15};
  234. colorShade[] = {1, 1, 1, 1};
  235. colorText[] = {1, 1, 1, 1};
  236. pictureWidth = 1;
  237. pictureHeight = 1;
  238. textHeight = 0.38;
  239. sideDisabled = "ca\ui\data\flag_none_ca.paa";
  240. sideToggle = "ca\ui\data\flag_side_toggle_ca.paa";
  241. idc = 104;
  242. color[] = {1, 1, 1, 0.55};
  243. text = $STR_WEST;
  244. picture = "\ca\ui\data\flag_bluefor_ca.paa";
  245. };
  246.  
  247. class CA_B_East : CA_B_West {
  248. idc = 105;
  249. y = "(31/100) * SafeZoneH + SafeZoneY";
  250. text = $STR_EAST;
  251. picture = "\ca\ui\data\flag_opfor_ca.paa";
  252. };
  253.  
  254. class CA_B_Guerrila : CA_B_West {
  255. idc = 106;
  256. y = "(41/100) * SafeZoneH + SafeZoneY";
  257. text = $STR_GUERRILA;
  258. picture = "\ca\ui\data\flag_indep_ca.paa";
  259. };
  260.  
  261. class CA_B_Civilian : CA_B_West {
  262. idc = 107;
  263. y = "(51/100) * SafeZoneH + SafeZoneY";
  264. text = $STR_CIVILIAN;
  265. picture = "\ca\ui\data\flag_civil_ca.paa";
  266. };
  267.  
  268. class CA_ValueRoles : RscIGUIListBox {
  269. idc = 109;
  270. style = 16;
  271. x = "(20/100) * SafeZoneW + SafeZoneX";
  272. y = "(20.5/100) * SafeZoneH + SafeZoneY";
  273. w = "(38/100) * SafeZoneW";
  274. h = "(72/100) * SafeZoneH";
  275. color[] = {1, 1, 1, 1};
  276. colorSelect[] = {1, 1, 0, 1};
  277. colorSelectBackground[] = {0.2, 0.2, 0.2, 1};
  278. colorSelectBackground2[] = {0.1, 0.1, 0.1, 1};
  279. rowHeight = 0.05;
  280. colorText[] = {0.95, 0.95, 0.95, 1};
  281. colorPlayer[] = {1, 1, 0, 1};
  282. colorAI[] = {1, 0, 0, 1};
  283. colorNobody[] = {0.4, 0.4, 0.4, 1};
  284. enabledAI = "ca\ui\textures\ai2_on.paa";
  285. disabledAI = "ca\ui\textures\ai2_off.paa";
  286. };
  287.  
  288. class TextPool : RscText {
  289. idc = 1006;
  290. style = 2;
  291. x = "(60/100) * SafeZoneW + SafeZoneX";
  292. y = "(16.5/100) * SafeZoneH + SafeZoneY";
  293. w = "(38/100) * SafeZoneW";
  294. h = "(3/100) * SafeZoneH";
  295. SizeEx = 0.03921;
  296. text = $STR_DISP_SRVSIDE_POOL;
  297. };
  298.  
  299. class CA_ValuePool : RscIGUIListBox {
  300. idc = 114;
  301. style = 16;
  302. x = "(60/100) * SafeZoneW + SafeZoneX";
  303. y = "(20/100) * SafeZoneH + SafeZoneY";
  304. w = "(38/100) * SafeZoneW";
  305. h = "(72/100) * SafeZoneH";
  306. color[] = {1, 1, 1, 1};
  307. colorSelect[] = {1, 1, 0, 1};
  308. colorSelectBackground[] = {0.2, 0.2, 0.2, 1};
  309. colorSelectBackground2[] = {0.1, 0.1, 0.1, 1};
  310. rows = 25;
  311. canDrag = 1;
  312. };
  313.  
  314. class CA_B_EnableAll : RscShortcutButton {
  315. idc = 117;
  316. x = "(22/100) * SafeZoneW + SafeZoneX";
  317. y = "(93/100) * SafeZoneH + SafeZoneY";
  318. w = 0.223825;
  319.  
  320. class TextPos {
  321. left = 0.035;
  322. top = 0.034;
  323. right = 0.005;
  324. bottom = 0.005;
  325. };
  326. default = 0;
  327. };
  328.  
  329. class CA_B_Lock : RscShortcutButton {
  330. idc = 118;
  331. x = "(39/100) * SafeZoneW + SafeZoneX";
  332. y = "(93/100) * SafeZoneH + SafeZoneY";
  333. w = 0.183825;
  334. };
  335.  
  336. class CA_B_Params : RscShortcutButton {
  337. idc = 128;
  338. x = "(53/100) * SafeZoneW + SafeZoneX";
  339. y = "(93/100) * SafeZoneH + SafeZoneY";
  340. w = 0.203825;
  341. text = $STR_DISP_XBOX_EDITOR_WIZARD_PARAMS;
  342. };
  343.  
  344. /*
  345. class CA_B_DSinterface : RscShortcutButton {
  346. idc = 1012;
  347. default = 0;
  348. onButtonClick = "openDSInterface;";
  349. shortcuts[] = {};
  350. x = "(2.75/100) * SafeZoneW + SafeZoneX";
  351. y = "(93/100) * SafeZoneH + SafeZoneY";
  352. w = 0.26;
  353. text = "Set Cat on Fire";
  354. };
  355. */
  356. delete CA_B_DSinterface;
  357.  
  358. class CA_B_Kick : RscShortcutButton {
  359. idc = 116;
  360. default = 0;
  361. shortcuts[] = {0x00050000 + 2};
  362. x = "(83/100) * SafeZoneW + SafeZoneX";
  363. y = "(14/100) * SafeZoneH + SafeZoneY";
  364. text = $STR_DISP_MP_KICKOFF;
  365. };
  366.  
  367. class CA_ButtonContinue : RscShortcutButton {
  368. idc = 1;
  369. default = 1;
  370. shortcuts[] = {0x00050000 + 0, 28, 57, 156};
  371. x = "(83/100) * SafeZoneW + SafeZoneX";
  372. y = "(93/100) * SafeZoneH + SafeZoneY";
  373. text = $STR_DISP_OK;
  374. };
  375.  
  376. class CA_ButtonCancel : RscShortcutButton {
  377. idc = 2;
  378. default = 0;
  379. shortcuts[] = {0x00050000 + 1};
  380. x = "(68/100) * SafeZoneW + SafeZoneX";
  381. y = "(93/100) * SafeZoneH + SafeZoneY";
  382. w = 0.203825;
  383. text = $STR_DISP_BACK;
  384. };
  385. };
  386. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement