Guest User

Trying to add more gui buttons

a guest
Jan 10th, 2025
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.57 KB | Gaming | 0 0
  1. guiTypes = {
  2.  
  3. containerWindowType = {
  4. name = "plane_designer_view"
  5. position = { x=0 y=0 }
  6. size = { width = 1091 height = 542 }
  7. moveable = yes
  8. fade_time = 500
  9. fade_type = linear
  10. orientation = CENTER
  11. origo = center
  12. show_sound = "ui_tank_designer_panel_appear"
  13. clipping = no
  14.  
  15. background = {
  16. name = "Background"
  17. spriteType ="GFX_plane_designer_popup_bg"
  18. }
  19.  
  20. iconType ={
  21. name ="experience_bg"
  22. spriteType = "GFX_generic_box_smallest"
  23. position = { x = 298 y = 507 }
  24. alwaystransparent = yes
  25. }
  26.  
  27. instantTextboxType = {
  28. name = "experience"
  29. position = { x = 295 y = 510 }
  30. font = "hoi_18mbs"
  31. maxWidth = 70
  32. maxHeight = 20
  33. format = centre
  34. text = "DESIGNER_EXPERIENCE"
  35. pdx_tooltip = "CURRENT_EXPERIENCE"
  36. }
  37.  
  38. iconType = {
  39. name = "select_model"
  40. position = { x=403 y=137 }
  41. quadTextureSprite = "GFX_3d_view_placeholder"
  42. }
  43.  
  44. containerWindowType = {
  45. name = "border_container"
  46. position = { x=400 y=134 }
  47. size = { width = 111 height = 58 }
  48.  
  49. background = {
  50. name ="bg_tech_button"
  51. spriteType = "GFX_division_3d_bg"
  52. position = { x=0 y=0 }
  53. size = { x=100%% y=100%% }
  54. pdx_tooltip = "SELECT_3D_MODEL"
  55. }
  56. }
  57.  
  58. containerWindowType = {
  59. name = "icon_selection_container"
  60. position = { x=358 y=70 }
  61. size = { width = 154 height = 56 }
  62.  
  63. background = {
  64. name = "background"
  65. spriteType = "GFX_equipment_designer_equipment_icon_bg"
  66. pdx_tooltip = "SELECT_2D_ICON"
  67. }
  68.  
  69. buttonType = {
  70. name = "btn_equipment_icon"
  71. position = { x = 0 y = 0 }
  72. spriteType = "GFX_locked_icon"
  73. Orientation = "center"
  74. centerPosition = yes
  75. clicksound = "ui_tank_designer_equipment_icon"
  76. alwaystransparent = yes
  77. }
  78. }
  79.  
  80. instantTextboxType = {
  81. name = "designer_title"
  82. position = { x = 335 y = 6 }
  83. textureFile = ""
  84. font = "hoi_36header"
  85. borderSize = {x = 0 y = 0}
  86. text = "EQUIPMENT_DESIGNER_TITLE"
  87. maxWidth = 400
  88. maxHeight = 20
  89. format = centre
  90. }
  91.  
  92. # window with the equipment preview and the buttons to select the modules
  93. containerWindowType = {
  94. name = "equipment_modules"
  95. position = { x=13 y=146 }
  96. size = { width=512 height= 350}
  97.  
  98. background = {
  99. name = "background"
  100. spriteType = "GFX_tiled_window_transparent"
  101. alwaystransparent = yes
  102. }
  103.  
  104. containerWindowType = {
  105. name = "equipment_preview"
  106. position = { x=3 y=50 }
  107. size = { width=508 height=248 }
  108.  
  109. background = {
  110. name = "background"
  111. spriteType = "GFX_generic_plane_blueprint_background"
  112. }
  113.  
  114. # The window of the appropriate hull/chassis is inserted here by code
  115.  
  116. }
  117.  
  118. @fixed_btn_mod_col_0 = 1
  119. @fixed_btn_mod_col_1 = 74
  120. @fixed_btn_mod_col_2 = 147
  121. @fixed_btn_mod_col_3 = 220
  122. @fixed_btn_mod_col_4 = 293
  123. @fixed_btn_mod_col_5 = 366
  124. @fixed_btn_mod_col_6 = 439
  125.  
  126. @fixed_btn_mod_row_0 = 1
  127. @fixed_btn_mod_row_1 = 300
  128. @fixed_btn_mod_row_2 = 200
  129.  
  130. # Code checks this position to know if module is in upper or low row to
  131. # give the tooltip the correct anchor
  132. positionType = {
  133. name = "ypos_module_row_0"
  134. position = { x=0 y=@fixed_btn_mod_row_0 }
  135. }
  136.  
  137. # Weapon slots
  138.  
  139. positionType = {
  140. name = "pos_fixed_module_slot_window_0"
  141. position = { x=@fixed_btn_mod_col_0 y=@fixed_btn_mod_row_0 }
  142. }
  143.  
  144. positionType = {
  145. name = "pos_fixed_module_slot_window_1"
  146. position = { x=@fixed_btn_mod_col_1 y=@fixed_btn_mod_row_0 }
  147. }
  148.  
  149. positionType = {
  150. name = "pos_fixed_module_slot_window_2"
  151. position = { x=@fixed_btn_mod_col_2 y=@fixed_btn_mod_row_0 }
  152. }
  153.  
  154. positionType = {
  155. name = "pos_fixed_module_slot_window_3"
  156. position = { x=@fixed_btn_mod_col_3 y=@fixed_btn_mod_row_0 }
  157. }
  158.  
  159. positionType = {
  160. name = "pos_fixed_module_slot_window_4"
  161. position = { x=@fixed_btn_mod_col_4 y=@fixed_btn_mod_row_0 }
  162. }
  163.  
  164. positionType = {
  165. name = "pos_fixed_module_slot_window_5"
  166. position = { x=@fixed_btn_mod_col_5 y=@fixed_btn_mod_row_0 }
  167. }
  168.  
  169. # Special module slots
  170.  
  171. positionType = {
  172. name = "pos_custom_module_slot_window_0"
  173. position = { x=@fixed_btn_mod_col_0 y=@fixed_btn_mod_row_1 }
  174. }
  175.  
  176. positionType = {
  177. name = "pos_custom_module_slot_window_1"
  178. position = { x=@fixed_btn_mod_col_1 y=@fixed_btn_mod_row_1 }
  179. }
  180.  
  181. positionType = {
  182. name = "pos_custom_module_slot_window_2"
  183. position = { x=@fixed_btn_mod_col_2 y=@fixed_btn_mod_row_1 }
  184. }
  185.  
  186. positionType = {
  187. name = "pos_custom_module_slot_window_3"
  188. position = { x=@fixed_btn_mod_col_3 y=@fixed_btn_mod_row_1 }
  189. }
  190.  
  191. positionType = {
  192. name = "pos_custom_module_slot_window_4"
  193. position = { x=@fixed_btn_mod_col_4 y=@fixed_btn_mod_row_1 }
  194. }
  195.  
  196. positionType = {
  197. name = "pos_custom_module_slot_window_5"
  198. position = { x=@fixed_btn_mod_col_5 y=@fixed_btn_mod_row_1 }
  199. }
  200.  
  201. positionType = {
  202. name = "pos_custom_module_slot_window_6"
  203. position = { x=@fixed_btn_mod_col_6 y=@fixed_btn_mod_row_1 }
  204. }
  205.  
  206. positionType = {
  207. name = "pos_cust_module_slot_window_0"
  208. position = { x=@fixed_btn_mod_col_0 y=@fixed_btn_mod_row_2 }
  209. }
  210.  
  211. positionType = {
  212. name = "pos_cust_module_slot_window_1"
  213. position = { x=@fixed_btn_mod_col_1 y=@fixed_btn_mod_row_2 }
  214. }
  215.  
  216. positionType = {
  217. name = "pos_cust_module_slot_window_2"
  218. position = { x=@fixed_btn_mod_col_2 y=@fixed_btn_mod_row_2 }
  219. }
  220.  
  221. positionType = {
  222. name = "pos_cust_module_slot_window_3"
  223. position = { x=@fixed_btn_mod_col_3 y=@fixed_btn_mod_row_2 }
  224. }
  225.  
  226. positionType = {
  227. name = "pos_cust_module_slot_window_4"
  228. position = { x=@fixed_btn_mod_col_4 y=@fixed_btn_mod_row_2 }
  229. }
  230.  
  231. positionType = {
  232. name = "pos_cust_module_slot_window_5"
  233. position = { x=@fixed_btn_mod_col_5 y=@fixed_btn_mod_row_2 }
  234. }
  235.  
  236. positionType = {
  237. name = "pos_cust_module_slot_window_6"
  238. position = { x=@fixed_btn_mod_col_6 y=@fixed_btn_mod_row_2 }
  239. }
  240. }
  241.  
  242. iconType = {
  243. name = "nubbin"
  244. quadTextureSprite ="GFX_tank_designer_nubbin"
  245. position = { x=300 y =74 }
  246. scale = 1.0
  247. }
  248.  
  249. buttonType = {
  250. name = "dynamic_version_checkbox_button"
  251. position = { x=310 y=63 }
  252. quadTextureSprite ="GFX_generic_checkbox3"
  253. pdx_tooltip = "EQUIPMENT_DESIGNER_DYNAMIC_VERSION_CHECKBOX_BUTTON_DESC"
  254. clicksound = click_checkbox
  255. frame = 1
  256. }
  257.  
  258. iconType = {
  259. name = "tag_icon_bg"
  260. spriteType = "GFX_role_icon_bg"
  261. position = { x = 304 y = 88 }
  262. alwaystransparent = yes
  263. }
  264.  
  265. buttonType = {
  266. name = "niche_button"
  267. position = { x = 313 y = 96 }
  268. spriteType = "GFX_plane_niche_icon_strip"
  269. clicksound = "ui_tank_designer_company_icon"
  270. pdx_tooltip = "DESIGNER_SELECT_NICHE"
  271. pdx_tooltip_delayed = "DESIGNER_SELECT_NICHE_AIR_DELAYED"
  272. }
  273.  
  274. ButtonType = {
  275. name = "historical_design_button"
  276. position = { x=24 y=404 }
  277. quadTextureSprite ="GFX_button_123x34"
  278. buttonText = "HISTORICAL_PRESET"
  279. buttonFont = "hoi_18mbs"
  280. #clicksound = "ui_tank_designer_save"
  281. }
  282.  
  283. iconType = {
  284. name = "design_company_icon"
  285. spriteType = "GFX_idea_porsche"
  286. position = { x = 461 y = 382 }
  287. }
  288.  
  289. buttonType = {
  290. name = "upgrade_assigned_industrial_org"
  291. position = { x = 425 y = 397 }
  292. scale = 1.4
  293. spriteType = "GFX_prod_line_target_strip"
  294. frame = 2
  295. }
  296.  
  297. buttonType = {
  298. name = "design_team_button"
  299. spriteType = "GFX_idea_slot_aircraft_manufacturer"
  300. position = { x = 455 y = 382 }
  301. }
  302.  
  303. # right hand side, stats and mission adjusters
  304. containerWindowType = {
  305. name = "info"
  306. position = { x=536 y=13}
  307. size = { width=100% height=100%% }
  308.  
  309. instantTextboxType = {
  310. name = "base_stats_label"
  311. position = { x = 14 y = 34 }
  312. font = "hoi4_typewriter22"
  313. text = "DESIGNER_BASE_STATS_LABEL"
  314. maxWidth = 165
  315. maxHeight = 20
  316. format = left
  317. fixedsize = yes
  318. }
  319.  
  320. containerWindowType = {
  321. name = "base_stats"
  322. position = { x = 10 y = 55 }
  323. size = { width = 171 height = 166 }
  324. clipping = yes
  325.  
  326. background = {
  327. name = "Background"
  328. quadTextureSprite ="GFX_tiled_window_transparent"
  329. }
  330.  
  331. verticalScrollbar = "right_vertical_slider"
  332.  
  333. gridboxtype = {
  334. name = "stats_grid"
  335. position = { x = 5 y = 0 }
  336. size = { width = 155 height = 100%% }
  337. slotsize = { width = 155 height = 20 }
  338. max_slots_horizontal = 1
  339. format = "UPPER_LEFT"
  340. }
  341. }
  342.  
  343. instantTextboxType = {
  344. name = "combat_stats_label"
  345. position = { x = 187 y = 34 }
  346. font = "hoi4_typewriter22"
  347. text = "DESIGNER_COMBAT_STATS_LABEL"
  348. maxWidth = 165
  349. maxHeight = 20
  350. format = left
  351. fixedsize = yes
  352. }
  353.  
  354. containerWindowType = {
  355. name = "combat_stats"
  356. position = { x = 183 y = 55 }
  357. size = { width = 174 height = 166 }
  358. clipping = yes
  359.  
  360. background = {
  361. name = "Background"
  362. quadTextureSprite ="GFX_tiled_window_transparent"
  363. }
  364.  
  365. verticalScrollbar = "right_vertical_slider"
  366.  
  367. gridboxtype = {
  368. name = "stats_grid"
  369. position = { x = 5 y = 0 }
  370. size = { width = 155 height = 100%% }
  371. slotsize = { width = 155 height = 20 }
  372. max_slots_horizontal = 1
  373. format = "UPPER_LEFT"
  374. }
  375. }
  376.  
  377. instantTextboxType = {
  378. name = "misc_stats_label"
  379. position = { x = 362 y = 34 }
  380. font = "hoi4_typewriter22"
  381. text = "FE_MISC_STATS"
  382. maxWidth = 165
  383. maxHeight = 20
  384. format = left
  385. fixedsize = yes
  386. }
  387.  
  388. containerWindowType = {
  389. name = "misc_stats"
  390. position = { x = 356 y = 55 }
  391. size = { width = 172 height = 166 }
  392. clipping = yes
  393.  
  394. background = {
  395. name = "Background"
  396. quadTextureSprite ="GFX_tiled_window_transparent"
  397. }
  398.  
  399. verticalScrollbar = "right_vertical_slider"
  400.  
  401. gridboxtype = {
  402. name = "stats_grid"
  403. position = { x = 5 y = 0 }
  404. size = { width = 155 height = 100%% }
  405. slotsize = { width = 155 height = 20 }
  406. max_slots_horizontal = 1
  407. format = "UPPER_LEFT"
  408. }
  409. }
  410.  
  411. instantTextboxType = {
  412. name = "combat_adjuster_header_label"
  413. position = { x = 30 y = 236 }
  414. font = "hoi_18mbs"
  415. text = "PRODUCTION_ADJUSTERS_LABEL"
  416. maxWidth = 140
  417. maxHeight = 20
  418. format = left
  419. }
  420.  
  421. containerWindowType = {
  422. name = "adjuster_stats"
  423. position = { x = 15 y = 263 }
  424. size = { width = 515 height = 201 }
  425. clipping = yes
  426. verticalScrollbar = "right_vertical_slider"
  427. scroll_wheel_factor = 63
  428. smooth_scrolling = yes
  429.  
  430. background = {
  431. name = "Background"
  432. quadTextureSprite ="GFX_tiled_window_transparent"
  433. }
  434.  
  435. gridboxtype = {
  436. name = "stats_grid"
  437. position = { x = 0 y = 0 }
  438. size = { width = 100%% height = 100%% }
  439. slotsize = { width = 100 height = 63 }
  440. max_slots_horizontal = 5
  441. format = "UPPER_LEFT"
  442. }
  443. }
  444. }
  445.  
  446. containerWindowType = {
  447. name = "equipment_select_model"
  448. position = { x=538 y=40 }
  449. size = { width=567 height=460 }
  450.  
  451. background = {
  452. name = "Background"
  453. spriteType ="GFX_tiled_window"
  454. position = { x=-16 y=0 }
  455. }
  456.  
  457. containerWindowType = {
  458. name = "border_container"
  459. position = { x=5 y=13 }
  460. size = { width = 524 height = 222 }
  461.  
  462. background = {
  463. name ="bg_tech_button"
  464. spriteType = "GFX_division_3d_bg"
  465. position = { x=0 y=0 }
  466. size = { x=100%% y=100%%}
  467. }
  468. }
  469.  
  470. iconType = {
  471. name ="3d_view"
  472. quadTextureSprite = "GFX_3d_view_placeholder"
  473. position = { x= 12 y = 20 }
  474. }
  475.  
  476.  
  477. buttonType = {
  478. name = "back_button"
  479. position = { x=395 y=412 }
  480. size = { x=504 y=22 }
  481. font = "hoi_16mbs"
  482. buttontext = "BACK"
  483. quadTextureSprite = "GFX_button_123x34"
  484. clicksound = click_close
  485. }
  486.  
  487. containerWindowType = {
  488. name = "grid_container"
  489. position = { x=5 y=235}
  490. size = { width=533 height=176 }
  491. verticalScrollbar = "right_vertical_slider"
  492. scroll_wheel_factor = 42
  493. smooth_scrolling = yes
  494.  
  495. background = {
  496. name = "Background"
  497. spriteType ="GFX_tiled_window_transparent"
  498. }
  499.  
  500.  
  501. gridBoxType = {
  502. name = "buttons_grid"
  503. position = { x = 0 y = 0 }
  504. size = { width = 490 height = 100%% }
  505. slotsize = { width = 490 height = 42 }
  506. max_slots_horizontal = 1
  507. format = "UPPER_LEFT"
  508.  
  509. }
  510. }
  511. }
  512.  
  513.  
  514. containerWindowType = {
  515. name = "equipment_select_sprite"
  516. position = { x=538 y=40 }
  517. size = { width=567 height=460 }
  518.  
  519.  
  520. background = {
  521. name = "Background"
  522. spriteType ="GFX_tiled_window"
  523. position = { x=-16 y=0 }
  524. }
  525.  
  526. buttonType = {
  527. name = "back_button"
  528. position = { x=395 y=412 }
  529. size = { x=504 y=22 }
  530. font = "hoi_16mbs"
  531. buttontext = "BACK"
  532. quadTextureSprite = "GFX_button_123x34"
  533. clicksound = click_close
  534. }
  535.  
  536. containerWindowType = {
  537. name = "border_container"
  538. position = { x=20 y=20 }
  539. size = { width = 495 height = 380 }
  540.  
  541. background = {
  542. name ="bg_tech_button"
  543. spriteType = "GFX_division_3d_bg"
  544. position = { x=0 y=0 }
  545. size = { x=100%% y=100%%}
  546. }
  547. }
  548.  
  549. containerWindowType = {
  550. name = "grid_container"
  551. position = { x=65 y=30}
  552. size = { width=430 height=360 }
  553. verticalScrollbar = "right_vertical_slider"
  554. scroll_wheel_factor = 80
  555. smooth_scrolling = yes
  556.  
  557. background = {
  558. name = "Background"
  559. spriteType ="GFX_tiled_window_transparent"
  560. }
  561.  
  562.  
  563. gridBoxType = {
  564. name = "buttons_grid"
  565. position = { x = 0 y = 0 }
  566. size = { width = 460 height = 100%% }
  567. slotsize = { width = 430 height = 80 }
  568. max_slots_horizontal = 1
  569. format = "UPPER_LEFT"
  570.  
  571. }
  572. }
  573. }
  574.  
  575. containerWindowType = {
  576. name = "historical_select_design"
  577. position = { x=538 y=40 }
  578. size = { width=567 height=460 }
  579.  
  580.  
  581. background = {
  582. name = "Background"
  583. spriteType ="GFX_tiled_window"
  584. position = { x=-16 y=0 }
  585. }
  586.  
  587. buttonType = {
  588. name = "back_button"
  589. position = { x=395 y=406 }
  590. size = { x=504 y=22 }
  591. font = "hoi_16mbs"
  592. buttontext = "BACK"
  593. quadTextureSprite = "GFX_button_123x34"
  594. clicksound = click_close
  595. }
  596.  
  597. containerWindowType = {
  598. name = "border_container"
  599. position = { x=20 y=20 }
  600. size = { width = 495 height = 380 }
  601.  
  602. background = {
  603. name ="bg_tech_button"
  604. spriteType = "GFX_division_3d_bg"
  605. position = { x=0 y=0 }
  606. size = { x=100%% y=100%%}
  607. }
  608. }
  609.  
  610. containerWindowType = {
  611. name = "grid_container"
  612. position = { x=65 y=30}
  613. size = { width=430 height=360 }
  614. verticalScrollbar = "right_vertical_slider"
  615. scroll_wheel_factor = 80
  616. smooth_scrolling = yes
  617.  
  618. background = {
  619. name = "Background"
  620. spriteType ="GFX_tiled_window_transparent"
  621. }
  622.  
  623.  
  624. gridBoxType = {
  625. name = "buttons_grid"
  626. position = { x = 0 y = 0 }
  627. size = { width = 460 height = 100%% }
  628. slotsize = { width = 430 height = 80 }
  629. max_slots_horizontal = 1
  630. format = "UPPER_LEFT"
  631.  
  632. }
  633. }
  634. }
  635.  
  636. containerWindowType = {
  637. name = "niche_icon_selector"
  638. position = { x=515 y=70 }
  639. size = { width=315 height=55 }
  640.  
  641. background = {
  642. name = "Background"
  643. spriteType ="GFX_equipment_role_selector_tiled_window"
  644. position = { x=0 y=0 }
  645. }
  646.  
  647. containerWindowType = {
  648. name = "grid_container"
  649. position = { x=9 y=6 }
  650. size = { width=390 height=40 }
  651. verticalScrollbar = "right_vertical_slider"
  652.  
  653. background = {
  654. name = "Background"
  655. spriteType ="GFX_tiled_window_transparent"
  656. }
  657.  
  658. gridBoxType = {
  659. name = "buttons_grid"
  660. position = { x = 0 y = 0 }
  661. size = { width = 100%% height = 100%% }
  662. slotsize = { width = 37 height = 37 }
  663. max_slots_vertical = 1
  664. format = "UPPER_LEFT"
  665. }
  666. }
  667. }
  668.  
  669. ButtonType = {
  670. name = "reset_button"
  671. position = { x=10 y=502 }
  672. quadTextureSprite ="GFX_button_reset_123x34"
  673. buttonText = "EQUIPMENT_DESIGNER_RESET"
  674. pdx_tooltip = "EQUIPMENT_DESIGNER_RESET_DESC"
  675. buttonFont = "hoi_18mbs"
  676. clicksound = "ui_tank_designer_reset"
  677. }
  678.  
  679. ButtonType = {
  680. name = "duplicate_button"
  681. position = { x=145 y=504 }
  682. quadTextureSprite ="GFX_designer_button_duplicate_strip"
  683. pdx_tooltip = "EQUIPMENT_DESIGNER_DUPLICATE_DESC"
  684. clicksound = "ui_tank_designer_duplicate"
  685. }
  686.  
  687. ButtonType = {
  688. name = "auto_button"
  689. position = { x=175 y=504 }
  690. quadTextureSprite ="GFX_designer_button_auto_strip"
  691. clicksound = "ui_tank_designer_auto"
  692. }
  693.  
  694. ButtonType = {
  695. name = "auto_upgrade_button"
  696. position = { x=205 y=504 }
  697. quadTextureSprite ="GFX_designer_button_upgrade_strip"
  698. clicksound = "ui_tank_designer_auto_upgrade"
  699. }
  700.  
  701. buttonType = {
  702. name = "auto_upgraded_checkbox_button"
  703. position = { x=240 y =508 }
  704. quadTextureSprite ="GFX_generic_checkbox3"
  705. pdx_tooltip = "EQUIPMENT_DESIGNER_AUTO_UPGRADED_CHECKBOX_BUTTON_DESC"
  706. clicksound = click_checkbox
  707. frame = 1
  708. }
  709.  
  710. ButtonType = {
  711. name = "save_button"
  712. position = { x=400 y=502 }
  713. quadTextureSprite ="GFX_button_123x34"
  714. buttonText = "EQUIPMENT_DESIGNER_SAVE"
  715. buttonFont = "hoi_18mbs"
  716. clicksound = "ui_tank_designer_save"
  717. }
  718.  
  719. # drop down for equipment variants
  720. dropDownBoxType = {
  721. name = "equipments"
  722. position = { x = 20 y = 60 }
  723. size = { width = 280 height = 30 }
  724.  
  725. containerWindowType = {
  726. name = "equipment_name_bg"
  727. size = { width = 100% height = 100% }
  728.  
  729. background = {
  730. name = "name_bg"
  731. quadTextureSprite = "GFX_generic_background"
  732. position = { x = 0 y = 0 }
  733. }
  734. }
  735.  
  736. editBoxType = {
  737. name = "name"
  738. position = { x = 35 y = 5 }
  739. font = "hoi_18mbs"
  740. size = { x=178 y=20 }
  741. }
  742.  
  743. iconType = {
  744. name = "tank_design_icon"
  745. spriteType = "GFX_tank_design_icon"
  746. position = { x = 5 y = 1 }
  747. alwaystransparent = yes
  748. }
  749.  
  750. buttonType = {
  751. name = "name_reset"
  752. position = { x = 2 y = -1 }
  753. quadTextureSprite ="GFX_NV_btn_reset"
  754. clicksound = "ui_tank_designer_reset"
  755. orientation = "upper_left"
  756. }
  757.  
  758. expandedWindow = {
  759. name = "expanded_window"
  760. position = { x=10 y= -300 }
  761. show_position = { x = 10 y = 27 }
  762. show_animation_type = decelerated
  763. hide_animation_type = accelerated
  764. animation_time = 300
  765. size = { width=230 height=325 }
  766. verticalScrollbar = "right_vertical_slider"
  767. margin = { top = 7 bottom = 7 right = 6 }
  768. #clipping = no
  769.  
  770. background = {
  771. name = "Background"
  772. quadTextureSprite ="GFX_tiled_window_1b_thin_border"
  773. position = { x = 0 y = 0 }
  774. }
  775.  
  776. gridBoxType = {
  777. name = "equipments_grid"
  778. position = { x = 8 y = 0 }
  779. size = { width = 199 height = 100%% }
  780. slotsize = { width = 220 height = 60 }
  781. max_slots_horizontal = 1
  782. format = "UPPER_LEFT"
  783.  
  784. # contains designer_equipment_entry
  785.  
  786. }
  787. }
  788. }
  789.  
  790. instantTextboxType = {
  791. name = "position_version"
  792. position = { x = 220 y = 65 }
  793. font = "hoi_18mbs"
  794. text_color_code = g
  795. maxWidth = 71
  796. maxHeight = 20
  797. alwaystransparent = yes
  798. multiline = no
  799. format = right
  800. }
  801.  
  802. # chassi name
  803. instantTextboxType = {
  804. name = "blueprint_type_name"
  805. position = { x = 20 y = 206 }
  806. font = "hoi4_typewriter16"
  807. maxWidth = 500
  808. maxHeight = 16
  809. format = center
  810. }
  811.  
  812. # plane role field
  813. containerWindowType = {
  814. name = "plane_role"
  815. position = { x = 20 y = 95 }
  816. size = { width = 280 height = 40 }
  817.  
  818. containerWindowType = {
  819. name = "equipment_name_bg"
  820. size = { width = 100% height = 100% }
  821.  
  822. background = {
  823. name = "name_bg"
  824. quadTextureSprite = "GFX_generic_background"
  825. alwaystransparent = yes
  826. }
  827. }
  828.  
  829. iconType = {
  830. name = "role_icon"
  831. spriteType = "GFX_wing_types_map"
  832. position = { x = 8 y = 14 }
  833. alwaystransparent = yes
  834. }
  835.  
  836. instantTextboxType = {
  837. name = "role_text"
  838. position = { x = 48 y = 10 }
  839. font = "hoi_18mbs"
  840. maxWidth = 220
  841. maxHeight = 18
  842. alwaystransparent = yes
  843. }
  844. }
  845.  
  846. buttonType = {
  847. name = "toggle_comparison_button"
  848. position = {x=-97 y=4}
  849. spriteType = "GFX_equip_overview_button"
  850. orientation = "UPPER_RIGHT"
  851. clicksound = click_default
  852. pdx_tooltip = "EQUIPMENT_COMPARISON"
  853. }
  854.  
  855. buttonType = {
  856. name = "close_button"
  857. position = { x = -44 y = 6 }
  858. quadTextureSprite ="GFX_closebutton"
  859. buttonFont = "Main_14_black"
  860. shortcut = "ESCAPE"
  861. Orientation = "UPPER_RIGHT"
  862. clicksound = click_close
  863. pdx_tooltip = "CLOSE"
  864. }
  865.  
  866. iconType = {
  867. name = "resources_bg"
  868. position = { x = 540 y = 501 }
  869. SpriteType = "GFX_resources_bg"
  870. alwaystransparent = yes
  871. }
  872.  
  873. instantTextboxType = {
  874. name = "production_resources"
  875. position = { x= 548 y= 510 }
  876. font = "hoi_18mbs"
  877. maxWidth = 90
  878. maxHeight = 25
  879. format = left
  880. }
  881.  
  882. instantTextboxType = {
  883. name = "refit_cost"
  884. position = { x= 650 y=510 }
  885. font = "hoi_18mbs"
  886. maxWidth = 200
  887. maxHeight = 25
  888. format = center
  889. text = "Refit Cost: XXXX"
  890. }
  891.  
  892. instantTextboxType = {
  893. name = "production_value"
  894. position = { x= 850 y=510 }
  895. font = "hoi_18mbs"
  896. maxWidth = 210
  897. maxHeight = 25
  898. #pdx_tooltip = "EQUIPMENT_DESIGNER_PRODUCTION_COST_DESC"
  899. format = right
  900. }
  901.  
  902. # Module selection sub-window
  903. containerWindowType = {
  904. name = "module_selector_window"
  905. position = { x=2 y=40 }
  906. size = { width=538 height=464 }
  907. verticalScrollbar = "right_vertical_slider"
  908. scroll_wheel_factor = 40
  909. smooth_scrolling = yes
  910.  
  911. background = {
  912. name = "background"
  913. spriteType = "GFX_tiled_window_1b_border"
  914. }
  915.  
  916. iconType = {
  917. name = "icn_module_slot_frame"
  918. position = { x=17 y=18 }
  919. spriteType = "GFX_equipment_module_bg"
  920. }
  921.  
  922. iconType = {
  923. name = "icon_module_slot"
  924. position = { x=56 y=42 }
  925. #size = { width=76 height=47 }
  926. spriteType = "GFX_locked_icon"
  927. #Orientation = "CENTER"
  928. centerPosition = yes
  929. }
  930.  
  931. instantTextboxType = {
  932. name = "slot_name"
  933. position = { x=98 y=23 }
  934. maxWidth = 350
  935. maxHeight = 22
  936. font = "hoi_18mbs"
  937. text = "SHIP_DESIGNER_MODULE_SELECTION"
  938. }
  939.  
  940. buttonType = {
  941. name = "btn_back"
  942. position = { x=390 y=23 }
  943. spriteType = "GFX_button_123x34"
  944. buttonText = "REGIMENTS_SELECTION_CANCEL"
  945. buttonFont = "hoi_18mbs"
  946. clicksound = click_close
  947. }
  948.  
  949. gridBoxType = {
  950. name = "gb_modules"
  951. position = { x=17 y=70 }
  952. size = { width=510 height=10 }
  953. slotsize = { width = 247 height = 69 }
  954. max_slots_horizontal = 2
  955. format = UPPER_LEFT
  956.  
  957. # code inserts equipment_module_category_entry or equipment_module_entry here
  958. }
  959. }
  960.  
  961. containerWindowType = {
  962. name = "designer_intel_container"
  963. size = { width = 317 height = 540 }
  964. position = { x = 1088 y = 2 }
  965. clipping = no
  966.  
  967. background = {
  968. name = "background"
  969. quadTextureSprite ="GFX_tiled_window_1b_border"
  970. }
  971.  
  972.  
  973.  
  974. containerWindowType = {
  975. name = "our_filter_entry"
  976. position = { x = 12 y = 14 }
  977. size = { width = 168 height = 50 }
  978. clipping = no
  979.  
  980. background = {
  981. name = "Background"
  982. quadTextureSprite ="GFX_diplo_filter_entry"
  983. clicksound = click_scroll
  984. }
  985.  
  986. instantTextboxType = {
  987. name = "name"
  988. position = { x = 6 y = 7 }
  989. font = "hoi_16mbs"
  990. text = "OUR_EQUIPMENT"
  991. maxWidth = 110
  992. maxHeight = 18
  993. fixedsize = yes
  994. format = center
  995. alwaystransparent = yes
  996. }
  997. }
  998.  
  999. containerWindowType = {
  1000. name = "foreign_filter_entry"
  1001. position = { x = 132 y = 14 }
  1002. size = { width = 164 height = 50 }
  1003. clipping = no
  1004.  
  1005. background = {
  1006. name = "Background"
  1007. quadTextureSprite ="GFX_diplo_filter_entry"
  1008. clicksound = click_scroll
  1009. }
  1010.  
  1011. instantTextboxType = {
  1012. name = "name"
  1013. position = { x = 6 y = 7 }
  1014. font = "hoi_16mbs"
  1015. text = "FOREIGN_EQUIPMENT"
  1016. maxWidth = 110
  1017. maxHeight = 18
  1018. fixedsize = yes
  1019. format = center
  1020. alwaystransparent = yes
  1021. }
  1022. }
  1023.  
  1024. containerWindowType = {
  1025. name = "obsolete_filter_entry"
  1026. position = { x = 12 y = 46 }
  1027. size = { width = 164 height = 50 }
  1028. clipping = no
  1029.  
  1030. background = {
  1031. name = "Background"
  1032. quadTextureSprite ="GFX_diplo_filter_entry"
  1033. clicksound = click_scroll
  1034. }
  1035.  
  1036. instantTextboxType = {
  1037. name = "name"
  1038. position = { x = 6 y = 7 }
  1039. font = "hoi_16mbs"
  1040. text = "OBSOLETE_EQUIPMENT"
  1041. maxWidth = 110
  1042. maxHeight = 18
  1043. fixedsize = yes
  1044. format = center
  1045. alwaystransparent = yes
  1046. }
  1047. }
  1048.  
  1049. containerWindowType = {
  1050. name = "gridbox_container"
  1051. size = { width = 256 height = 440 }
  1052. position = { x = 0 y = 84 }
  1053. clipping = yes
  1054. #moveable = no
  1055. #autohide_scrollbars = no
  1056.  
  1057. verticalScrollbar = "right_vertical_slider"
  1058. scroll_wheel_factor = 42
  1059. smooth_scrolling = yes
  1060.  
  1061. background = {
  1062. name = "Background"
  1063. spriteType ="GFX_tiled_window_transparent"
  1064. }
  1065.  
  1066. gridBoxType = {
  1067. name = "acquired_variants_grid"
  1068. position = { x = 13 y = 0 }
  1069. size = { width = 260 height = 470 }
  1070. slotsize = { width = 260 height = 60 }
  1071. max_slots_horizontal = 1
  1072. format = UPPER_LEFT
  1073.  
  1074. # contains designer_equipment_entry
  1075.  
  1076. }
  1077. }
  1078.  
  1079. containerWindowType = {
  1080. name = "country_filter_container"
  1081. size = { width = 70 height = 509 }
  1082. position = { x = 247 y = 16 }
  1083. clipping = yes
  1084. #moveable = no
  1085. #autohide_scrollbars = no
  1086.  
  1087. verticalScrollbar = "right_vertical_slider"
  1088. scroll_wheel_factor = 42
  1089. smooth_scrolling = yes
  1090.  
  1091. background = {
  1092. name = "Background"
  1093. spriteType ="GFX_tiled_window_transparent"
  1094. }
  1095.  
  1096. gridBoxType = {
  1097. name = "variant_country_filter_gridbox"
  1098. position = { x = 13 y = 3 }
  1099. size = { width = 100 height = 502 }
  1100. slotsize = { width = 60 height = 34 }
  1101. max_slots_horizontal = 1
  1102. format = UPPER_LEFT
  1103.  
  1104. # contains designer_creator_entry
  1105.  
  1106. }
  1107. }
  1108.  
  1109. }
  1110.  
  1111. containerWindowType = {
  1112. name = "referenced_info"
  1113. position = { x=535 y=291}
  1114. size = { width=536 height=202 }
  1115.  
  1116. clipping = no
  1117.  
  1118. iconType = {
  1119. name ="stat_card_header"
  1120. spriteType = "GFX_tank_designer_stat_card_header"
  1121. position = { x = -1 y = -42 }
  1122. alwaystransparent = no
  1123. }
  1124.  
  1125. buttonType = {
  1126. name = "close_referenced_info"
  1127. position = { x = -38 y = -36 }
  1128. quadTextureSprite ="GFX_closebutton"
  1129. buttonFont = "Main_14_black"
  1130. shortcut = "ESCAPE"
  1131. Orientation = "UPPER_RIGHT"
  1132. clicksound = click_close
  1133. pdx_tooltip = "CLOSE"
  1134. }
  1135.  
  1136. instantTextboxType = {
  1137. name = "referenced_variant_name"
  1138. position = { x = 18 y = -34 }
  1139. textureFile = ""
  1140. font = "hoi_30header"
  1141. borderSize = {x = 0 y = 0}
  1142. text = "EQUIPMENT_DESIGNER_TITLE"
  1143. maxWidth = 460
  1144. maxHeight = 20
  1145. format = left
  1146. multiline = no
  1147. }
  1148.  
  1149. background = {
  1150. name = "background"
  1151. quadTextureSprite = "GFX_tank_designer_stat_card"
  1152. }
  1153.  
  1154. instantTextboxType = {
  1155. name = "base_stats_label"
  1156. position = { x = 15 y = 5 }
  1157. font = "hoi4_typewriter22"
  1158. text = "DESIGNER_BASE_STATS_LABEL"
  1159. maxWidth = 165
  1160. maxHeight = 20
  1161. format = left
  1162. fixedsize = yes
  1163. }
  1164.  
  1165. containerWindowType = {
  1166. name = "ref_base_stats"
  1167. position = { x = 10 y = 27 }
  1168. size = { width = 171 height = 224 }
  1169. clipping = yes
  1170.  
  1171. background = {
  1172. name = "Background"
  1173. quadTextureSprite ="GFX_tiled_window_transparent"
  1174. }
  1175.  
  1176. verticalScrollbar = "right_vertical_slider"
  1177.  
  1178. gridboxtype = {
  1179. name = "stats_grid"
  1180. position = { x = 5 y = 0 }
  1181. size = { width = 155 height = 100%% }
  1182. slotsize = { width = 155 height = 20 }
  1183. max_slots_horizontal = 1
  1184. format = "UPPER_LEFT"
  1185. }
  1186. }
  1187.  
  1188. instantTextboxType = {
  1189. name = "combat_stats_label"
  1190. position = { x = 188 y = 5 }
  1191. font = "hoi4_typewriter22"
  1192. text = "DESIGNER_COMBAT_STATS_LABEL"
  1193. maxWidth = 165
  1194. maxHeight = 20
  1195. format = left
  1196. fixedsize = yes
  1197. }
  1198.  
  1199. containerWindowType = {
  1200. name = "ref_combat_stats"
  1201. position = { x = 183 y = 27 }
  1202. size = { width = 174 height = 224 }
  1203. clipping = yes
  1204.  
  1205. background = {
  1206. name = "Background"
  1207. quadTextureSprite ="GFX_tiled_window_transparent"
  1208. }
  1209.  
  1210. verticalScrollbar = "right_vertical_slider"
  1211.  
  1212. gridboxtype = {
  1213. name = "stats_grid"
  1214. position = { x = 5 y = 0 }
  1215. size = { width = 155 height = 100%% }
  1216. slotsize = { width = 155 height = 20 }
  1217. max_slots_horizontal = 1
  1218. format = "UPPER_LEFT"
  1219. }
  1220. }
  1221.  
  1222. instantTextboxType = {
  1223. name = "misc_stats_label"
  1224. position = { x = 363 y = 5 }
  1225. font = "hoi4_typewriter22"
  1226. text = "FE_MISC_STATS"
  1227. maxWidth = 165
  1228. maxHeight = 20
  1229. format = left
  1230. fixedsize = yes
  1231. }
  1232.  
  1233. containerWindowType = {
  1234. name = "ref_misc_stats"
  1235. position = { x = 356 y = 27 }
  1236. size = { width = 172 height = 224 }
  1237. clipping = yes
  1238.  
  1239. background = {
  1240. name = "Background"
  1241. quadTextureSprite ="GFX_tiled_window_transparent"
  1242. }
  1243.  
  1244. verticalScrollbar = "right_vertical_slider"
  1245.  
  1246. gridboxtype = {
  1247. name = "stats_grid"
  1248. position = { x = 5 y = 0 }
  1249. size = { width = 155 height = 100%% }
  1250. slotsize = { width = 155 height = 20 }
  1251. max_slots_horizontal = 1
  1252. format = "UPPER_LEFT"
  1253. }
  1254. }
  1255. }
  1256.  
  1257. }
  1258.  
  1259. # tank role entry for the drop-down menu
  1260. containerWindowType = {
  1261. name = "plane_designer_role_entry"
  1262. size = { width = 277 height = 50 }
  1263. clipping = no
  1264.  
  1265. background = {
  1266. name = "background"
  1267. quadTextureSprite ="GFX_mini_tooltip"
  1268. clicksound = "ui_tank_designer_role_entry"
  1269. }
  1270.  
  1271. background_margin = {
  1272. top = 5
  1273. bottom = 5
  1274. }
  1275.  
  1276. iconType = {
  1277. name ="role"
  1278. spriteType = "GFX_land_equipment_role_icons"
  1279. position = { x = 4 y = 7 }
  1280. alwaystransparent = yes
  1281. }
  1282.  
  1283. instantTextboxType = {
  1284. name = "name"
  1285. position = { x = 44 y = 5 }
  1286. font = "hoi_18mbs"
  1287. maxWidth = 200
  1288. maxHeight = 38
  1289. fixedsize = yes
  1290. vertical_alignment = center
  1291. alwaystransparent = yes
  1292. }
  1293.  
  1294. iconType = {
  1295. name ="forbidden"
  1296. spriteType = "GFX_role_forbidden"
  1297. position = { x = 247 y = 17 }
  1298. alwaystransparent = yes
  1299. }
  1300. }
  1301. }
  1302.  
Add Comment
Please, Sign In to add comment