Guest User

window_character_lifestyle.gui

a guest
Feb 17th, 2025
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.61 KB | None | 0 0
  1. ######################################################
  2. ################### LIFESTYLES #######################
  3. ######################################################
  4.  
  5. window = {
  6. name = "character_lifestyle_window"
  7. widgetid = "character_lifestyle_window"
  8. size = { 100% 100% }
  9. parentanchor = center|hcenter
  10. # position = { 80 20 }
  11. movable = no
  12. filter_mouse = all
  13. layer = middle
  14.  
  15. datacontext = "[CharacterLifestyleWindow.GetCharacter]"
  16. datacontext = "[CharacterLifestyleWindow.GetSelectedLifestyle]"
  17.  
  18. using = Window_Background_No_Edge
  19.  
  20. background = {
  21. texture = "gfx/interface/component_masks/mask_fade_corner.dds"
  22. color = { 0.12 0.12 0.12 1 }
  23. mirror = horizontal
  24. margin_right = -1200
  25. alpha = 0.6
  26. }
  27.  
  28. state = {
  29. name = _show
  30. using = Animation_FadeIn_Standard
  31. using = Sound_WindowShow_Standard
  32. using = Sound_Window_AmbienceMute_Snapshot
  33.  
  34. on_start = "[GetVariableSystem.Set( 'lifestyle_open', 'true' )]"
  35. }
  36.  
  37. state = {
  38. name = _hide
  39. using = Animation_FadeOut_Standard
  40. using = Sound_WindowHide_Standard
  41.  
  42. on_start = "[GetVariableSystem.Clear( 'lifestyle_open' )]"
  43. }
  44.  
  45.  
  46. ### Select Focus start screen
  47. vbox = {
  48. name = "lifestyle_selection"
  49. visible = "[Not( Lifestyle.IsValid )]"
  50.  
  51. margin_top = 10
  52.  
  53. state = {
  54. name = _show
  55. using = Animation_FadeIn_Quick
  56. }
  57.  
  58. state = {
  59. name = _hide
  60. using = Animation_FadeOut_Quick
  61. }
  62.  
  63. header_standard = {
  64. layoutpolicy_horizontal = expanding
  65.  
  66. blockoverride "header_text"
  67. {
  68. text = "CHARACTER_LIFESTYLE_HEADER"
  69. }
  70.  
  71. blockoverride "button_close"
  72. {
  73. onclick = "[CharacterLifestyleWindow.Close]"
  74. }
  75. }
  76.  
  77. background = {
  78. using = Background_Bottom_Fade
  79. }
  80.  
  81. background = {
  82. using = Background_Area_Dark
  83. margin = { 0 -100 }
  84. alpha = 0.3
  85. }
  86.  
  87. hbox = {
  88. name = "lifestyles"
  89. datamodel = "[CharacterLifestyleWindow.GetLifestyles]"
  90. layoutpolicy_horizontal = expanding
  91. layoutpolicy_vertical = expanding
  92. margin = { 0 150 }
  93. margin_left = 230
  94. margin_right = 80
  95. spacing = 10
  96. max_width = 2080
  97.  
  98. item = {
  99. button_normal = {
  100. layoutpolicy_vertical = expanding
  101. layoutpolicy_horizontal = expanding
  102. onclick = "[CharacterLifestyleWindow.OpenLifestyle( Lifestyle.Self )]"
  103. onclick = "[PlaySfxEvent( Concatenate( 'event:/SFX/UI/Character/Lifestyle/sfx_ui_character_lifestyle_', Lifestyle.GetKey ) )]"
  104. #clicksound =
  105. maximumsize = { -1 900 }
  106.  
  107. effectname = "NoHighlight"
  108. #gfxtype = propstretchedicongfx
  109. #shaderfile = "gfx/FX/pdxgui_default.shader"
  110.  
  111. texture = "[Lifestyle.GetBackground]"
  112.  
  113. modify_texture = {
  114. texture = "gfx/interface/window_lifestyles/lifestyles_illustration_mask.dds"
  115. blend_mode = alphamultiply
  116. spriteType = Corneredstretched
  117. spriteborder = { 30 30 }
  118. }
  119.  
  120. button = {
  121. size = { 100% 100% }
  122. alpha = 0
  123. onclick = "[CharacterLifestyleWindow.OpenLifestyle( Lifestyle.Self )]"
  124. onclick = "[PlaySfxEvent( Concatenate( 'event:/SFX/UI/Character/Lifestyle/sfx_ui_character_lifestyle_', Lifestyle.GetKey ) )]"
  125.  
  126. state = {
  127. name = _mouse_enter
  128. alpha = 1
  129. }
  130.  
  131. state = {
  132. name = _mouse_leave
  133. alpha = 0
  134. }
  135.  
  136. background = {
  137. texture = "gfx/interface/window_lifestyles/lifestyles_illustration_hover.dds"
  138. spriteType = Corneredtiled
  139. spriteborder = { 30 30 }
  140. alpha = 1
  141.  
  142. modify_texture = {
  143. texture = "gfx/interface/window_lifestyles/lifestyles_illustration_mask.dds"
  144. blend_mode = alphamultiply
  145. spriteType = Corneredtiled
  146. spriteborder = { 30 30 }
  147. }
  148. }
  149. }
  150.  
  151. icon = {
  152. size = { 100% 100% }
  153. using = Background_Bottom_Fade
  154. mirror = vertical
  155.  
  156. modify_texture = {
  157. texture = "gfx/interface/window_lifestyles/lifestyles_illustration_mask.dds"
  158. blend_mode = alphamultiply
  159. spriteType = Corneredtiled
  160. spriteborder = { 30 30 }
  161. }
  162. }
  163.  
  164. icon = {
  165. parentanchor = top|hcenter
  166. position = { 0 -50 }
  167. size = { 120 120 }
  168. texture = "[Lifestyle.GetIcon]"
  169. framesize = { 160 160 }
  170. }
  171.  
  172. text_multi = {
  173. parentanchor = top|right
  174. position = { -20 10 }
  175. visible = "[GreaterThan_int32( Character.GetPerkPointsUsed( Lifestyle.Self ), '(int32)0' )]"
  176.  
  177. text = "LIFESTYLE_POINTS_ALREADY_USED_TEXT"
  178. default_format = "#low"
  179. max_width = 60
  180. autoresize = yes
  181. align = center
  182.  
  183. background = {
  184. using = Background_Area_Dark
  185. margin = { 10 0 }
  186. margin_bottom = 5
  187. }
  188. }
  189.  
  190. vbox = {
  191. margin = { 10 30 }
  192. margin_top = 60
  193.  
  194. vbox = {
  195. layoutpolicy_horizontal = expanding
  196. margin_top = 15
  197. spacing = 20
  198.  
  199. text_single = {
  200. text = "[Lifestyle.GetNameNoTooltip]"
  201. default_format = "#high"
  202. using = Font_Type_Flavor
  203. fontsize = 25
  204. }
  205.  
  206. text_multi = {
  207. text = "[Lifestyle.GetDescription]"
  208. size = { 100 90 }
  209. align = top|hcenter
  210. layoutpolicy_horizontal = expanding
  211. margin = { 5 0 }
  212. }
  213.  
  214. text_multi = {
  215. visible = "[Lifestyle.IsHighlightedForCharacter( Character.Self )]"
  216. layoutpolicy_horizontal = expanding
  217. size = { 100 80 }
  218. margin = { 10 0 }
  219. text = "[Lifestyle.GetHighlightDescription]"
  220. align = center
  221.  
  222. background = {
  223. using = Background_Area_Dark
  224. }
  225. }
  226.  
  227. expand = {}
  228. }
  229.  
  230. vbox = {
  231. text_single = {
  232. visible = "[GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' )]"
  233. text = "LIFESTYLE_POINTS_TO_USE_TEXT"
  234. default_format = "#low"
  235. max_width = 280
  236.  
  237. # animation_attention = {}
  238.  
  239. background = {
  240. using = Background_Area_Dark
  241. margin = { 10 0 }
  242. margin_bottom = 5
  243. }
  244. }
  245. }
  246.  
  247. expand = {}
  248. }
  249. }
  250. }
  251. }
  252. }
  253.  
  254. hbox = {
  255. visible = "[Lifestyle.IsValid]"
  256.  
  257. state = {
  258. name = "lifestyle_tabs_refresh"
  259. next = a
  260. alpha = 0.5
  261. }
  262.  
  263. state = {
  264. name = "a"
  265. alpha = 1
  266. duration = 0.5
  267. using = Animation_Curve_Default
  268. }
  269.  
  270. vbox = {
  271. layoutpolicy_horizontal = expanding
  272. layoutpolicy_vertical = expanding
  273. layoutstretchfactor_horizontal = 3
  274.  
  275. background = {
  276. texture = "[Lifestyle.GetBackground]"
  277. alpha = 0.3
  278.  
  279. modify_texture = {
  280. texture = "gfx/interface/component_masks/mask_fade_horizontal_extended.dds"
  281. blend_mode = alphamultiply
  282. }
  283. }
  284. }
  285.  
  286. vbox = {
  287. layoutpolicy_horizontal = expanding
  288. layoutpolicy_vertical = expanding
  289. layoutstretchfactor_horizontal = 7
  290. }
  291. }
  292.  
  293. widget = {
  294. parentanchor = bottom|left
  295. size = { 270 560 }
  296. allow_outside = no
  297.  
  298. portrait_lifestyles = {
  299. alwaystransparent = "[Not(Lifestyle.IsValid)]"
  300. parentanchor = bottom|left
  301. position = { -200 0 }
  302. }
  303. }
  304.  
  305. ### Focus View
  306. vbox = {
  307. name = "focus_view"
  308. visible = "[Lifestyle.IsValid]"
  309.  
  310. using = Window_Margins
  311.  
  312. state = {
  313. name = _show
  314. using = Animation_FadeIn_Quick
  315. }
  316.  
  317. state = {
  318. name = _hide
  319. using = Animation_FadeOut_Quick
  320. }
  321.  
  322. background = {
  323. texture = "gfx/interface/component_masks/mask_fade_vertical.dds"
  324. margin_top = -500
  325. color = { 0 0 0 0.7 }
  326. alpha = 0.7
  327. mirror = vertical
  328. }
  329.  
  330. ### HEADER
  331. widget = {
  332. name = "header_bar"
  333. layoutpolicy_horizontal = expanding
  334. size = { 0 85 }
  335.  
  336. background = {
  337. texture = "gfx/interface/component_tiles/tile_background_window_header.dds"
  338. spriteType = Corneredtiled
  339. spriteborder = { 20 20 }
  340. margin = { 12 0 }
  341. }
  342.  
  343. text_single = {
  344. parentanchor = vcenter
  345. position = { 0 -8 }
  346. margin_left = 5
  347. text = "LIFESTYLE_WINDOW_TITLE"
  348. using = Font_Type_Flavor
  349. fontsize = 35
  350.  
  351. state = {
  352. name = "lifestyle_tabs_refresh"
  353. next = a
  354. alpha = 0.5
  355. }
  356.  
  357. state = {
  358. name = "a"
  359. alpha = 1
  360. duration = 0.5
  361. using = Animation_Curve_Default
  362. }
  363. }
  364.  
  365. hbox = {
  366. widget = {
  367. layoutpolicy_vertical = expanding
  368. size = { 450 0 }
  369.  
  370. background = {
  371. texture = "gfx/interface/window_lifestyles/lifestyles_tabs_bg.dds"
  372. margin = { 15 -10 }
  373. }
  374.  
  375. flowcontainer = {
  376. name = "lifestyles"
  377. datamodel = "[CharacterLifestyleWindow.GetLifestyles]"
  378. spacing = 10
  379. parentanchor = center
  380.  
  381. item = {
  382. container = {
  383. parentanchor = vcenter
  384.  
  385. button_normal = {
  386. visible = "[Not(EqualTo_string( Lifestyle.GetKey, CharacterLifestyleWindow.GetSelectedLifestyle.GetKey ))]"
  387. parentanchor = center
  388. size = { 70 70 }
  389. framesize = { 160 160 }
  390. onclick = "[CharacterLifestyleWindow.OpenLifestyle( Lifestyle.Self )]"
  391. onclick = "[PdxGuiTriggerAllAnimations('lifestyle_tabs_refresh')]"
  392. texture = "[Lifestyle.GetIcon]"
  393.  
  394. effectname = "NoHighlight"
  395. gfxtype = framedbuttongfx
  396. shaderfile = "gfx/FX/pdxgui_pushbutton.shader"
  397.  
  398. #Fade out if character has no perks in that lifestyle
  399. alpha = "[Select_float( GreaterThan_int32(Character.GetPerkPointsUsed( Lifestyle.Self ),'(int32)0'),'(float)1.0','(float)0.6')]"
  400.  
  401. tooltip = "LIFESTYLE_SELECT_TOOLTIP"
  402. using = tooltip_se
  403.  
  404. highlight_icon = {
  405. visible = "[EqualTo_string( Lifestyle.GetKey, Character.GetLifestyle.GetKey )]"
  406. size = { 100% 100%}
  407. texture = "gfx/interface/buttons/button_lifestyles_active_frame.dds"
  408. }
  409.  
  410. button_round = {
  411. visible = "[And(GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' ), Character.IsLocalPlayer)]"
  412. parentanchor = bottom|right
  413. size = { 28 28 }
  414. frame = 1
  415. upframe = 1
  416. alwaystransparent = yes
  417.  
  418. text_single = {
  419. parentanchor = center
  420. position = { 0 -3 }
  421. text = "[Character.GetPerkPoints( Lifestyle.Self )]"
  422. default_format = "#high"
  423. max_width = 180
  424. align = center
  425. }
  426. }
  427. }
  428.  
  429. button_normal = {
  430. visible = "[EqualTo_string( Lifestyle.GetKey, CharacterLifestyleWindow.GetSelectedLifestyle.GetKey )]"
  431. parentanchor = center
  432. size = { 70 70 }
  433. framesize = { 160 160 }
  434. texture = "[Lifestyle.GetIcon]"
  435.  
  436. effectname = "NoHighlight"
  437. gfxtype = framedbuttongfx
  438. shaderfile = "gfx/FX/pdxgui_pushbutton.shader"
  439.  
  440. tooltip = "LIFESTYLE_SELECT_TOOLTIP"
  441. using = tooltip_se
  442.  
  443.  
  444.  
  445. state = {
  446. name = _show
  447. size = { 90 90 }
  448. duration = 0.15
  449. using = Animation_Curve_Default
  450. }
  451.  
  452. state = {
  453. name = _hide
  454. size = { 70 70 }
  455. duration = 0.15
  456. using = Animation_Curve_Default
  457. }
  458.  
  459. icon = {
  460. visible = "[EqualTo_string( Lifestyle.GetKey, Character.GetLifestyle.GetKey )]"
  461. size = { 100% 100%}
  462. texture = "gfx/interface/buttons/button_lifestyles_active_frame.dds"
  463. }
  464.  
  465. button_round = {
  466. visible = "[And(GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' ), Character.IsLocalPlayer)]"
  467. parentanchor = bottom|right
  468. size = { 28 28 }
  469. frame = 2
  470. upframe = 2
  471. alwaystransparent = yes
  472.  
  473. text_single = {
  474. parentanchor = center
  475. position = { 0 -3 }
  476. text = "[Character.GetPerkPoints( Lifestyle.Self )]"
  477. default_format = "#high"
  478. max_width = 180
  479. align = center
  480. }
  481. }
  482. }
  483. }
  484. }
  485. }
  486. }
  487. }
  488.  
  489. flowcontainer = {
  490. parentanchor = right|vcenter
  491. position = { -10 0 }
  492. spacing = 25
  493.  
  494. button_tertiary = {
  495. visible = "[Character.IsLocalPlayer]"
  496. parentanchor = vcenter
  497. size = { 150 32 }
  498. onclick = "[CharacterLifestyleWindow.OpenRefundPerks]"
  499. enabled = "[CharacterLifestyleWindow.CanRefundPerks]"
  500.  
  501. text = "REFUND_PERKS"
  502. tooltip = "REFUND_PERKS_TOOLTIP"
  503. }
  504.  
  505. buttons_window_control = {
  506. blockoverride "button_close"
  507. {
  508. onclick = "[CharacterLifestyleWindow.Close]"
  509. }
  510. }
  511. }
  512. }
  513.  
  514. ### MAIN BODY
  515. hbox = {
  516. layoutpolicy_horizontal = expanding
  517. layoutpolicy_vertical = expanding
  518. spacing = 5
  519. margin_top = 10
  520.  
  521. ## LEFT BAR
  522. vbox = {
  523. layoutpolicy_vertical = expanding
  524. minimumsize = { 270 0 }
  525.  
  526. vbox = {
  527.  
  528. minimumsize = { 0 100 }
  529. spacing = 10
  530.  
  531. state = {
  532. name = "lifestyle_tabs_refresh"
  533. next = a
  534. alpha = 0.5
  535. }
  536.  
  537. state = {
  538. name = "a"
  539. alpha = 1
  540. duration = 0.5
  541. using = Animation_Curve_Default
  542. }
  543.  
  544. # background = {
  545. # texture = "gfx/interface/component_tiles/tile_background_window_header.dds"
  546. # spriteType = Corneredtiled
  547. # spriteborder = { 20 20 }
  548. # margin = { 10 27 }
  549. # margin_top = 54
  550. # }
  551.  
  552. vbox = {
  553. spacing = 10
  554. visible = "[Character.IsLocalPlayer]"
  555.  
  556.  
  557. text_multi = {
  558. layoutpolicy_horizontal = expanding
  559. text = "[Lifestyle.GetDescription]"
  560. using = Font_Size_Medium
  561. autoresize = yes
  562. max_width = 550
  563. min_width = 550
  564.  
  565. }
  566.  
  567. text_multi = {
  568. layoutpolicy_horizontal = expanding
  569. visible = "[Lifestyle.IsHighlightedForCharacter( Character.Self )]"
  570. text = "[Lifestyle.GetHighlightDescription]"
  571. default_format = "#high;italic"
  572. autoresize = yes
  573. max_width = 550
  574.  
  575. }
  576. }
  577.  
  578. spacer = {
  579. size = {550 10 }
  580. visible = "[Not(Character.IsLocalPlayer)]"
  581. }
  582.  
  583.  
  584.  
  585. expand = {}
  586. }
  587.  
  588. hbox = {
  589. layoutpolicy_horizontal = expanding
  590.  
  591. expand = {}
  592.  
  593. vbox = {
  594. name = "focus_area"
  595. datamodel = "[CharacterLifestyleWindow.GetFocuses]"
  596. margin = { 10 0 }
  597. spacing = 8
  598.  
  599. state = {
  600. name = "lifestyle_tabs_refresh"
  601. next = a
  602. alpha = 0.5
  603. }
  604.  
  605. state = {
  606. name = "a"
  607. alpha = 1
  608. duration = 0.5
  609. using = Animation_Curve_Default
  610. }
  611.  
  612. text_label_center = {
  613. text = "LIFESTYLE_FOCUS_HEADER"
  614. }
  615.  
  616. text_single = {
  617. visible = "[GetPlayer.GetLifestyle.IsValid]"
  618. text = "FOCUS_CANCHANGE"
  619. default_format = "#low"
  620. }
  621.  
  622. text_single = {
  623. visible = "[Not( GetPlayer.GetLifestyle.IsValid )]"
  624. text = "FOCUS_CANCHANGE_NO_FOCUS"
  625. default_format = "#low"
  626. # animation_attention_text = {}
  627. }
  628.  
  629. item = {
  630. button_standard_clean = {
  631. layoutpolicy_horizontal = expanding
  632. size = { 300 240 }
  633.  
  634. enabled = "[Or(CharacterLifestyleWindow.CanSelectFocus( FocusType.Self ), EqualTo_string( FocusType.GetKey, Character.GetFocus.GetKey ))]"
  635. down = "[EqualTo_string( FocusType.GetKey, Character.GetFocus.GetKey )]"
  636. onclick = "[CharacterLifestyleWindow.SelectFocus( FocusType.Self )]"
  637. alwaystransparent = "[EqualTo_string( FocusType.GetKey, Character.GetFocus.GetKey )]"
  638.  
  639.  
  640. blockoverride "disabled" {}
  641.  
  642. background = {
  643. using = Background_Area_Dark
  644. alpha = 0.9
  645. }
  646.  
  647. background = {
  648. visible = "[EqualTo_string( Lifestyle.GetKey, 'diplomacy_lifestyle' )]"
  649. texture = "gfx/interface/progressbars/progress_blue.dds"
  650. alpha = 0.4
  651. }
  652.  
  653. background = {
  654. visible = "[EqualTo_string( Lifestyle.GetKey, 'martial_lifestyle' )]"
  655. texture = "gfx/interface/progressbars/progress_red.dds"
  656. alpha = 0.4
  657. }
  658.  
  659.  
  660. background = {
  661. visible = "[EqualTo_string( Lifestyle.GetKey, 'stewardship_lifestyle' )]"
  662. texture = "gfx/interface/progressbars/progress_green.dds"
  663. alpha = 0.4
  664. }
  665.  
  666.  
  667. background = {
  668. visible = "[EqualTo_string( Lifestyle.GetKey, 'intrigue_lifestyle' )]"
  669. texture = "gfx/interface/progressbars/progress_purple.dds"
  670. alpha = 0.4
  671. }
  672.  
  673.  
  674. background = {
  675. visible = "[EqualTo_string( Lifestyle.GetKey, 'learning_lifestyle' )]"
  676. texture = "gfx/interface/progressbars/progress_gray.dds"
  677. alpha = 0.4
  678. }
  679.  
  680. background = {
  681. visible = "[EqualTo_string( Lifestyle.GetKey, 'wanderer_lifestyle' )]"
  682. texture = "gfx/interface/progressbars/progress_brown.dds"
  683. alpha = 0.2
  684. }
  685.  
  686. vbox = {
  687. margin = { 10 5 }
  688. margin_bottom = 10
  689. spacing = 10
  690.  
  691. hbox = {
  692. layoutpolicy_horizontal = expanding
  693. margin_top = 3
  694. spacing = 7
  695.  
  696. highlight_icon_lifestyle_focus = {
  697. texture = "[FocusType.GetIcon]"
  698. alwaystransparent = yes
  699. size = { 35 35 }
  700. }
  701.  
  702. text_single = {
  703. text = "[FocusType.GetNameNoTooltip]"
  704. layoutpolicy_horizontal = expanding
  705. default_format = "#high"
  706. using = Font_Size_Medium
  707. align = nobaseline
  708. autoresize = no
  709.  
  710. background = {
  711. margin_left = 15
  712. margin_right = 5
  713. margin_top = 0
  714.  
  715. texture = "gfx/interface/component_tiles/tile_title_bg_01.dds"
  716. spriteType = Corneredtiled
  717. spriteborder = { 40 8 }
  718. texture_density = 2
  719.  
  720. modify_texture = {
  721. name = "mask"
  722. texture = "gfx/interface/component_masks/mask_fade_horizontal.dds"
  723. spriteType = Corneredstretched
  724. spriteborder = { 0 0 }
  725. blend_mode = alphamultiply
  726. mirror = horizontal
  727. }
  728. }
  729. }
  730.  
  731. text_single = {
  732. visible = "[EqualTo_string( FocusType.GetKey, Character.GetFocus.GetKey )]"
  733. align = right|nobaseline
  734. text = "CURRENT_FOCUS"
  735. default_format = "#low;italic"
  736. margin_right = 5
  737. }
  738. }
  739.  
  740. text_multi = {
  741. layoutpolicy_horizontal = expanding
  742. layoutpolicy_vertical = expanding
  743. alwaystransparent = yes
  744. text = "LONG_FOCUS_TEXT"
  745. align = left
  746. }
  747. }
  748.  
  749. icon = {
  750. visible = "[Not(Or(CharacterLifestyleWindow.CanSelectFocus( FocusType.Self ), EqualTo_string( FocusType.GetKey, Character.GetFocus.GetKey )))]"
  751. size = { 100% 100% }
  752. using = Background_Area_Dark
  753. alpha = 0.5
  754. }
  755. }
  756. }
  757. }
  758. }
  759.  
  760. expand = {}
  761. }
  762.  
  763. ## CENTER AREA
  764. vbox = {
  765. layoutpolicy_horizontal = expanding
  766. layoutpolicy_vertical = expanding
  767.  
  768. vbox = {
  769. layoutpolicy_horizontal = expanding
  770. layoutpolicy_vertical = expanding
  771. margin = { 20 0 }
  772. margin_top = 15
  773.  
  774. background = {
  775. #using = Background_Area_Dark
  776. texture = "gfx/interface/window_lifestyles/lifestyles_tree_area_bg.dds"
  777. margin = { 5 5 }
  778. spriteType = Corneredtiled
  779. spriteborder = { 200 200 }
  780. # alpha = 0.8
  781.  
  782. # modify_texture = {
  783. # texture = "gfx/interface/window_lifestyles/lifestyles_dark_bg_mask.dds"
  784. # blend_mode = alphamultiply
  785. # }
  786. }
  787.  
  788. hbox = {
  789. layoutpolicy_horizontal = expanding
  790.  
  791. background = {
  792. using = Background_Frame
  793. margin_top = -5
  794. alpha = 0.5
  795. }
  796.  
  797. vbox = {
  798. visible = "[Character.IsLocalPlayer]"
  799. margin = { 0 20 }
  800.  
  801. state = {
  802. name = "lifestyle_tabs_refresh"
  803. next = a
  804. alpha = 0.5
  805. }
  806.  
  807. state = {
  808. name = "a"
  809. alpha = 1
  810. duration = 0.5
  811. using = Animation_Curve_Default
  812. }
  813.  
  814. widget = {
  815. size = { 550 30 }
  816.  
  817. progressbar_standard = {
  818. parentanchor = vcenter
  819. size = { 500 20 }
  820. visible = "[EqualTo_string( Lifestyle.GetKey, 'diplomacy_lifestyle' )]"
  821.  
  822. min = 0
  823. max = "[IntToFloat( Lifestyle.GetXpPerLevel )]"
  824. value = "[FixedPointToFloat( Character.GetLifestyleXp( Lifestyle.Self, '(bool)yes' ) )]"
  825.  
  826. progresstexture = "gfx/interface/progressbars/progress_blue.dds"
  827. noprogresstexture = "gfx/interface/progressbars/progress_blue_bg.dds"
  828.  
  829. tooltip = "LIFESTYLE_XP_TOOLTIP"
  830. using = tooltip_below
  831. }
  832.  
  833. progressbar_standard = {
  834. parentanchor = vcenter
  835. size = { 500 20 }
  836. visible = "[EqualTo_string( Lifestyle.GetKey, 'martial_lifestyle' )]"
  837.  
  838. min = 0
  839. max = "[IntToFloat( Lifestyle.GetXpPerLevel )]"
  840. value = "[FixedPointToFloat( Character.GetLifestyleXp( Lifestyle.Self, '(bool)yes' ) )]"
  841.  
  842. progresstexture = "gfx/interface/progressbars/progress_red.dds"
  843. noprogresstexture = "gfx/interface/progressbars/progress_red_bg.dds"
  844.  
  845. tooltip = "LIFESTYLE_XP_TOOLTIP"
  846. using = tooltip_below
  847. }
  848.  
  849. progressbar_standard = {
  850. parentanchor = vcenter
  851. size = { 500 20 }
  852. visible = "[EqualTo_string( Lifestyle.GetKey, 'stewardship_lifestyle' )]"
  853.  
  854. min = 0
  855. max = "[IntToFloat( Lifestyle.GetXpPerLevel )]"
  856. value = "[FixedPointToFloat( Character.GetLifestyleXp( Lifestyle.Self, '(bool)yes' ) )]"
  857.  
  858. progresstexture = "gfx/interface/progressbars/progress_green.dds"
  859. noprogresstexture = "gfx/interface/progressbars/progress_green_bg.dds"
  860.  
  861. tooltip = "LIFESTYLE_XP_TOOLTIP"
  862. using = tooltip_below
  863. }
  864.  
  865. progressbar_standard = {
  866. parentanchor = vcenter
  867. size = { 500 20 }
  868. visible = "[EqualTo_string( Lifestyle.GetKey, 'intrigue_lifestyle' )]"
  869.  
  870. min = 0
  871. max = "[IntToFloat( Lifestyle.GetXpPerLevel )]"
  872. value = "[FixedPointToFloat( Character.GetLifestyleXp( Lifestyle.Self, '(bool)yes' ) )]"
  873.  
  874. progresstexture = "gfx/interface/progressbars/progress_purple.dds"
  875. noprogresstexture = "gfx/interface/progressbars/progress_purple_bg.dds"
  876.  
  877. tooltip = "LIFESTYLE_XP_TOOLTIP"
  878. using = tooltip_below
  879. }
  880.  
  881. progressbar_standard = {
  882. parentanchor = vcenter
  883. size = { 500 20 }
  884. visible = "[EqualTo_string( Lifestyle.GetKey, 'learning_lifestyle' )]"
  885.  
  886. min = 0
  887. max = "[IntToFloat( Lifestyle.GetXpPerLevel )]"
  888. value = "[FixedPointToFloat( Character.GetLifestyleXp( Lifestyle.Self, '(bool)yes' ) )]"
  889.  
  890. progresstexture = "gfx/interface/progressbars/progress_gray.dds"
  891. noprogresstexture = "gfx/interface/progressbars/progress_gray_bg.dds"
  892.  
  893. tooltip = "LIFESTYLE_XP_TOOLTIP"
  894. using = tooltip_below
  895. }
  896.  
  897. progressbar_standard = {
  898. parentanchor = vcenter
  899. size = { 500 20 }
  900. visible = "[EqualTo_string( Lifestyle.GetKey, 'wanderer_lifestyle' )]"
  901.  
  902. min = 0
  903. max = "[IntToFloat( Lifestyle.GetXpPerLevel )]"
  904. value = "[FixedPointToFloat( Character.GetLifestyleXp( Lifestyle.Self, '(bool)yes' ) )]"
  905.  
  906. progresstexture = "gfx/interface/progressbars/progress_brown.dds"
  907. noprogresstexture = "gfx/interface/progressbars/progress_brown_bg.dds"
  908.  
  909. tooltip = "LIFESTYLE_XP_TOOLTIP"
  910. using = tooltip_below
  911. }
  912.  
  913. text_single = {
  914. parentanchor = right
  915. position = { -10 -6 }
  916. visible = "[GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' )]"
  917. text = "[Character.GetPerkPoints( Lifestyle.Self )]"
  918. default_format = "#low"
  919. max_width = 180
  920. using = Font_Size_Big
  921. tooltip = "LIFESTYLE_POINTS_TOOLTIP"
  922.  
  923. }
  924.  
  925. button_round = {
  926. parentanchor = right
  927. position = { 1 -6 }
  928. alwaystransparent = yes
  929.  
  930. tooltip = "LIFESTYLE_POINTS_TOOLTIP"
  931.  
  932. # debug_square = {
  933. # parentanchor = center
  934. # size = { 150% 150% }
  935. # color = { 0.2 1 0.2 1 }
  936.  
  937. # state = {
  938. # name = start
  939. # next = flash
  940. # #trigger_on_create = yes
  941.  
  942. # trigger_when = "[GetVariableSystem.Exists( 'perk_spent' )]"
  943.  
  944. # alpha = 0
  945. # }
  946.  
  947. # state = {
  948. # name = flash
  949. # next = dim
  950.  
  951. # using = Animation_Curve_Default
  952. # alpha = 1
  953. # duration = 0.5
  954. # }
  955.  
  956. # state = {
  957. # name = dim
  958. # alpha = 0
  959. # on_finish = "[GetVariableSystem.Clear( 'perk_spent' )]"
  960. # }
  961. # }
  962.  
  963. text_single = {
  964. parentanchor = center
  965. position = { 0 -4 }
  966. visible = "[GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' )]"
  967. text = "[Character.GetPerkPoints( Lifestyle.Self )]"
  968. default_format = "#high"
  969. max_width = 180
  970. using = Font_Size_Big
  971.  
  972. # animation_attention = {
  973. # visible = "[GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' )]"
  974. # }
  975. }
  976.  
  977. text_single = {
  978. parentanchor = center
  979. position = { 0 -4 }
  980. visible = "[Not(GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' ))]"
  981. text = "[Character.GetPerkPoints( Lifestyle.Self )]"
  982. default_format = "#low"
  983. max_width = 180
  984. using = Font_Size_Big
  985.  
  986. # animation_attention = {
  987. # visible = "[GreaterThan_int32( Character.GetPerkPoints( Lifestyle.Self ), '(int32)0' )]"
  988. # }
  989. }
  990. }
  991.  
  992. }
  993.  
  994. hbox = {
  995. layoutpolicy_horizontal = expanding
  996.  
  997. text_single = {
  998. text = "EXPERIENCE"
  999. }
  1000.  
  1001. text_single = {
  1002. text = "UNLOCKED_PERKS"
  1003. }
  1004. }
  1005. }
  1006. }
  1007.  
  1008. ## Trees
  1009. hbox = {
  1010. datamodel = "[CharacterLifestyleWindow.GetPerkTrees]"
  1011. layoutpolicy_horizontal = expanding
  1012. layoutpolicy_vertical = expanding
  1013. margin_bottom = 20
  1014. spacing = 10
  1015.  
  1016. state = {
  1017. name = "lifestyle_tabs_refresh"
  1018. next = a
  1019. alpha = 0.5
  1020. }
  1021.  
  1022. state = {
  1023. name = "a"
  1024. alpha = 1
  1025. duration = 0.5
  1026. using = Animation_Curve_Default
  1027. }
  1028.  
  1029. item = {
  1030. vbox = {
  1031. layoutpolicy_horizontal = expanding
  1032. layoutpolicy_vertical = expanding
  1033.  
  1034.  
  1035. vbox = {
  1036. layoutpolicy_horizontal = expanding
  1037. layoutpolicy_vertical = expanding
  1038.  
  1039. background = {
  1040. visible = "[Not(PerkGuiTree.IsCompleted)]"
  1041. texture = "[PerkGuiTree.GetBackground]"
  1042. alpha = 0.15
  1043.  
  1044. modify_texture = {
  1045. texture = "gfx/interface/window_lifestyles/lifestyles_perk_tree_bg.dds"
  1046. spriteType = Corneredtiled
  1047. spriteborder = { 200 200 }
  1048. blend_mode = alphamultiply
  1049. }
  1050. }
  1051.  
  1052. container = {
  1053. text_label_center = {
  1054. parentanchor = top|hcenter
  1055. position = { 0 25 }
  1056. text = "[PerkGuiTree.GetName]"
  1057. default_format = "#low"
  1058. using = Font_Size_Medium
  1059. }
  1060.  
  1061. divider_light = {
  1062. position = { 0 65 }
  1063. size = { 100% 3 }
  1064. alpha = 0.25
  1065. }
  1066.  
  1067. container = {
  1068. name = "perk_tree_item_line_area" # Name used in code do not change
  1069. datamodel = "[PerkGuiTree.GetItems]"
  1070. parentanchor = hcenter
  1071. position = { 0 85 }
  1072.  
  1073. widget = {
  1074. name = "connection_lines"
  1075. size = { 100% 100% }
  1076. datamodel = "[PerkGuiTree.GetConnections]"
  1077. visible = "[PerkGuiTree.SetupLinesContainer( PdxGuiWidget.Self )]"
  1078.  
  1079. item = {
  1080. container = {
  1081.  
  1082. # Perks that are unlocked
  1083. line = {
  1084. visible = "[PerkGuiTree.HasUnlockedPerk( PerkLineConnection.GetChild.GetItem )]"
  1085. using = Line_Lifestyles_Unlocked
  1086. from = "[PerkLineConnection.GetLineFrom]"
  1087. to = "[PerkLineConnection.GetLineTo]"
  1088. }
  1089.  
  1090. # Perks that can be chosen
  1091. line = {
  1092. visible = "[And( Not( PerkGuiTree.HasUnlockedPerk( PerkLineConnection.GetChild.GetItem ) ), CharacterLifestyleWindow.CanSelectPerkIgnoreCost( PerkLineConnection.GetChild.GetItem ) )]"
  1093. using = Line_Lifestyles_CanUnlock
  1094. from = "[PerkLineConnection.GetLineFrom]"
  1095. to = "[PerkLineConnection.GetLineTo]"
  1096. }
  1097.  
  1098. # Perks that are unavailable
  1099. line = {
  1100. visible = "[Not( Or( PerkGuiTree.HasUnlockedPerk( PerkLineConnection.GetChild.GetItem ), CharacterLifestyleWindow.CanSelectPerkIgnoreCost( PerkLineConnection.GetChild.GetItem ) ) )]"
  1101. using = Line_Lifestyles_Unavailable
  1102. from = "[PerkLineConnection.GetLineFrom]"
  1103. to = "[PerkLineConnection.GetLineTo]"
  1104. }
  1105. }
  1106. }
  1107. }
  1108.  
  1109. item = {
  1110. widget = {
  1111. size = { 100 100 }
  1112. datacontext = "[PerkLineItem.GetItem]"
  1113. position = "[PerkGuiTree.GetItemPosition( Perk.Self )]"
  1114.  
  1115. container = {
  1116. parentanchor = center
  1117.  
  1118. widget = {
  1119. name = "top_pin"
  1120. visible = "[PerkLineItem.SetupTopWidget( PdxGuiWidget.Self )]"
  1121. position = { 0 -20 }
  1122. }
  1123.  
  1124. widget = {
  1125. name = "bottom_pin"
  1126. visible = "[PerkLineItem.SetupBottomWidget( PdxGuiWidget.Self )]"
  1127. position = { 0 -15 }
  1128. }
  1129. }
  1130.  
  1131. flowcontainer = {
  1132. parentanchor = top|hcenter
  1133. direction = vertical
  1134. ignoreinvisible = yes
  1135.  
  1136. # Normal, non-chosen perks
  1137. button_normal = {
  1138. size = { 95 75 }
  1139. visible = "[And(And( Character.IsLocalPlayer, Not( Character.HasPerk( Perk.Self ) ) ), Not(Perk.HasUnlockTrait) )]"
  1140. onclick = "[CharacterLifestyleWindow.SelectPerk( Perk.Self )]"
  1141. enabled = "[And(CharacterLifestyleWindow.CanSelectPerk( Perk.Self ), Character.GetLifestyle.IsValid)]"
  1142.  
  1143. tooltipwidget = {
  1144. using = perk_tooltip_selection
  1145. }
  1146. using = tooltip_se
  1147. tooltip_offset = {30 0}
  1148.  
  1149. widget = {
  1150. size = { 50 50 }
  1151. parentanchor = center
  1152. alwaystransparent = yes
  1153. visible = "[And(CharacterLifestyleWindow.CanSelectPerk( Perk.Self ), Character.GetLifestyle.IsValid)]"
  1154.  
  1155. # animation_attention = {
  1156. # position = { 0 -22 }
  1157. # texture = "gfx/particles/glow.dds"
  1158. # }
  1159. }
  1160.  
  1161. highlight_icon = {
  1162. parentanchor = top|hcenter
  1163. texture = "[Perk.GetIcon]"
  1164. size = { 32 32 }
  1165. framesize = { 60 60 }
  1166.  
  1167. shaderfile = "gfx/FX/pdxgui_pushbutton.shader"
  1168. }
  1169.  
  1170. text_multi = {
  1171. visible = "[And(CharacterLifestyleWindow.CanSelectPerk( Perk.Self ), Character.GetLifestyle.IsValid)]"
  1172. parentanchor = top|hcenter
  1173. position = { 0 30 }
  1174. max_width = 115
  1175. autoresize = yes
  1176.  
  1177. text = "[Perk.GetNameNoTooltip( Character.Self )]"
  1178. default_format = "#high"
  1179. align = top|hcenter
  1180.  
  1181. background = {
  1182. using = Background_Area
  1183. margin = { 20 0 }
  1184. margin_bottom = 5
  1185. margin_top = 5
  1186. }
  1187. }
  1188.  
  1189. text_multi = {
  1190. visible = "[Not(And(CharacterLifestyleWindow.CanSelectPerk( Perk.Self ), Character.GetLifestyle.IsValid))]"
  1191. parentanchor = top|hcenter
  1192. position = { 0 30 }
  1193. max_width = 115
  1194. autoresize = yes
  1195.  
  1196. text = "[Perk.GetNameNoTooltip( Character.Self )]"
  1197. default_format = "#low"
  1198. align = top|hcenter
  1199.  
  1200. background = {
  1201. using = Background_Area
  1202. margin = { 20 0 }
  1203. margin_bottom = 5
  1204. margin_top = 5
  1205. }
  1206. }
  1207. }
  1208.  
  1209. # Normal chosen perks
  1210. widget = {
  1211. visible = "[And(Or( Not( Character.IsLocalPlayer ), Character.HasPerk( Perk.Self ) ), Not(Perk.HasUnlockTrait))]"
  1212. size = { 95 75 }
  1213.  
  1214. state = {
  1215. name = _show
  1216. on_start = "[GetVariableSystem.Set( 'perk_spent', 'true' )]"
  1217. }
  1218.  
  1219. tooltipwidget = {
  1220. using = perk_tooltip_contents
  1221. }
  1222. using = tooltip_se
  1223. tooltip_offset = {30 0}
  1224.  
  1225. icon = {
  1226. parentanchor = top|hcenter
  1227. enabled = "[Character.HasPerk( Perk.Self )]"
  1228. texture = "[Perk.GetIcon]"
  1229.  
  1230. size = { 32 32 }
  1231. framesize = { 60 60 }
  1232. frame = "[BoolTo1And2( Character.HasPerk( Perk.Self ) )]"
  1233. }
  1234.  
  1235. text_multi = {
  1236. parentanchor = top|hcenter
  1237. position = { 0 32 }
  1238. max_width = 115
  1239. autoresize = yes
  1240.  
  1241. text = "[Perk.GetNameNoTooltip( Character.Self )]"
  1242. align = top|hcenter
  1243.  
  1244. background = {
  1245. using = Background_Area_Dark
  1246. margin = { 20 0 }
  1247. margin_bottom = 5
  1248. margin_top = 5
  1249. }
  1250. }
  1251. }
  1252.  
  1253. # Non-chosen Trait perks
  1254. button_normal = {
  1255. datacontext = "[Perk.GetUnlockTrait]"
  1256. datacontext = "[Character.GetFaith]"
  1257. visible = "[And(And( Character.IsLocalPlayer, Not( Character.HasPerk( Perk.Self ) ) ), Perk.HasUnlockTrait )]"
  1258. size = { 100 100 }
  1259. onclick = "[CharacterLifestyleWindow.SelectPerk( Perk.Self )]"
  1260. enabled = "[And(CharacterLifestyleWindow.CanSelectPerk( Perk.Self ), Character.GetLifestyle.IsValid)]"
  1261.  
  1262. gfxtype = framedbuttongfx
  1263. shaderfile = "gfx/FX/pdxgui_pushbutton.shader"
  1264.  
  1265. tooltipwidget = {
  1266. using = character_trait_tooltip
  1267. }
  1268. using = tooltip_se
  1269. tooltip_offset = {30 0}
  1270.  
  1271. highlight_icon = {
  1272. parentanchor = top|hcenter
  1273. position = { 0 -10 }
  1274. texture = "[Perk.GetIcon]"
  1275.  
  1276. size = { 60 60 }
  1277.  
  1278. gfxtype = framedbuttongfx
  1279. shaderfile = "gfx/FX/pdxgui_pushbutton.shader"
  1280. }
  1281.  
  1282. text_multi = {
  1283. visible = "[And(CharacterLifestyleWindow.CanSelectPerk( Perk.Self ), Character.GetLifestyle.IsValid)]"
  1284. parentanchor = center
  1285. position = { 0 5 }
  1286. size = { 115 50 }
  1287.  
  1288. text = "[Perk.GetNameNoTooltip( Character.Self )]"
  1289. default_format = "#high"
  1290. align = center
  1291.  
  1292. background = {
  1293. using = Background_Area
  1294. margin_bottom = 3
  1295. margin = { 10 0 }
  1296. }
  1297. }
  1298.  
  1299. text_multi = {
  1300. visible = "[Not(And(CharacterLifestyleWindow.CanSelectPerk( Perk.Self ), Character.GetLifestyle.IsValid))]"
  1301. parentanchor = center
  1302. position = { 0 5 }
  1303. size = { 115 50 }
  1304.  
  1305. text = "[Perk.GetNameNoTooltip( Character.Self )]"
  1306. default_format = "#low"
  1307. align = center
  1308.  
  1309. background = {
  1310. using = Background_Area
  1311. margin_bottom = 3
  1312. margin = { 10 0 }
  1313. }
  1314. }
  1315. }
  1316.  
  1317. # Chosen Trait perks
  1318. widget = {
  1319. datacontext = "[Perk.GetUnlockTrait]"
  1320. datacontext = "[Character.GetFaith]"
  1321. visible = "[And(Or( Not( Character.IsLocalPlayer ), Character.HasPerk( Perk.Self ) ), Perk.HasUnlockTrait)]"
  1322. size = { 100 100 }
  1323.  
  1324. tooltipwidget = {
  1325. using = character_trait_tooltip
  1326. }
  1327. using = tooltip_se
  1328. tooltip_offset = {30 0}
  1329.  
  1330.  
  1331. icon = {
  1332. parentanchor = top|hcenter
  1333. position = { 0 -10 }
  1334. enabled = "[Character.HasPerk( Perk.Self )]"
  1335. texture = "[Perk.GetIcon]"
  1336.  
  1337. size = { 60 60 }
  1338. frame = "[BoolTo1And2( Character.HasPerk( Perk.Self ) )]"
  1339. }
  1340.  
  1341. text_multi = {
  1342. parentanchor = center
  1343. position = { 0 5 }
  1344. size = { 115 50 }
  1345.  
  1346. text = "[Perk.GetNameNoTooltip( Character.Self )]"
  1347. align = center
  1348.  
  1349. background = {
  1350. using = Background_Area
  1351. margin_bottom = 3
  1352. }
  1353. }
  1354. }
  1355. }
  1356. }
  1357. }
  1358. }
  1359. }
  1360.  
  1361. expand = {}
  1362. }
  1363. }
  1364. }
  1365. }
  1366. }
  1367. }
  1368. }
  1369. }
  1370.  
  1371. flowcontainer = {
  1372. parentanchor = bottom|left
  1373. position = { 20 -10 }
  1374. spacing = 10
  1375. direction = vertical
  1376.  
  1377. background = {
  1378. using = Background_Area_Dark
  1379. margin_top = 150
  1380. margin_bottom = 20
  1381. margin_right = 280
  1382. margin_left = 20
  1383. mirror = horizontal
  1384. modify_texture = {
  1385. texture = "gfx/interface/component_masks/mask_fade_corner.dds"
  1386. blend_mode = alphamultiply
  1387. }
  1388. }
  1389.  
  1390. # background = {
  1391. # texture = "gfx/interface/window_character/characterlist_skills_bg.dds"
  1392. # spriteType = Corneredstretched
  1393. # spriteborder = { 10 10 }
  1394. # margin = { 15 5 }
  1395. # }
  1396.  
  1397. # background = {
  1398. # using = Background_Area_Dark
  1399. # margin = { 10 5 }
  1400. # }
  1401.  
  1402. flowcontainer = {
  1403. spacing = 5
  1404. margin_left = 15
  1405. margin_right = 25
  1406.  
  1407. background = {
  1408. name = "skill_icon_bg"
  1409. texture = "gfx/interface/window_character/character_view_skills_bg.dds"
  1410. framesize = { 70 26 }
  1411. frame = 1
  1412. }
  1413.  
  1414. icon = {
  1415. name = "skill_icon"
  1416. size = { 35 35 }
  1417. framesize = { 60 60 }
  1418. frame = 1
  1419. texture = "gfx/interface/icons/icon_skills.dds"
  1420. }
  1421.  
  1422. text_single = {
  1423. name = "skill_value"
  1424. parentanchor = vcenter
  1425. text = "[Character.GetSkill( 'diplomacy' )]"
  1426. default_format = "#high"
  1427. using = Font_Size_Medium
  1428. align = nobaseline
  1429. }
  1430. }
  1431.  
  1432. flowcontainer = {
  1433. spacing = 5
  1434. margin_left = 15
  1435. margin_right = 25
  1436.  
  1437. background = {
  1438. name = "skill_icon_bg"
  1439. texture = "gfx/interface/window_character/character_view_skills_bg.dds"
  1440. framesize = { 70 26 }
  1441. frame = 2
  1442. }
  1443.  
  1444. icon = {
  1445. name = "skill_icon"
  1446. size = { 35 35 }
  1447. framesize = { 60 60 }
  1448. frame = 2
  1449. texture = "gfx/interface/icons/icon_skills.dds"
  1450. }
  1451.  
  1452. text_single = {
  1453. name = "skill_value"
  1454. parentanchor = vcenter
  1455. text = "[Character.GetSkill( 'martial' )]"
  1456. default_format = "#high"
  1457. using = Font_Size_Medium
  1458. align = nobaseline
  1459. }
  1460. }
  1461.  
  1462. flowcontainer = {
  1463. spacing = 5
  1464. margin_left = 15
  1465. margin_right = 25
  1466.  
  1467. background = {
  1468. name = "skill_icon_bg"
  1469. texture = "gfx/interface/window_character/character_view_skills_bg.dds"
  1470. framesize = { 70 26 }
  1471. frame = 3
  1472. }
  1473.  
  1474. icon = {
  1475. name = "skill_icon"
  1476. size = { 35 35 }
  1477. framesize = { 60 60 }
  1478. frame = 3
  1479. texture = "gfx/interface/icons/icon_skills.dds"
  1480. }
  1481.  
  1482. text_single = {
  1483. name = "skill_value"
  1484. parentanchor = vcenter
  1485. text = "[Character.GetSkill( 'stewardship' )]"
  1486. default_format = "#high"
  1487. using = Font_Size_Medium
  1488. align = nobaseline
  1489. }
  1490. }
  1491.  
  1492. flowcontainer = {
  1493. spacing = 5
  1494. margin_left = 15
  1495. margin_right = 25
  1496.  
  1497. background = {
  1498. name = "skill_icon_bg"
  1499. texture = "gfx/interface/window_character/character_view_skills_bg.dds"
  1500. framesize = { 70 26 }
  1501. frame = 4
  1502. }
  1503.  
  1504. icon = {
  1505. name = "skill_icon"
  1506. size = { 35 35 }
  1507. framesize = { 60 60 }
  1508. frame = 4
  1509. texture = "gfx/interface/icons/icon_skills.dds"
  1510. }
  1511.  
  1512. text_single = {
  1513. name = "skill_value"
  1514. parentanchor = vcenter
  1515. text = "[Character.GetSkill( 'intrigue' )]"
  1516. default_format = "#high"
  1517. using = Font_Size_Medium
  1518. align = nobaseline
  1519. }
  1520. }
  1521.  
  1522. flowcontainer = {
  1523. spacing = 5
  1524. margin_left = 15
  1525. margin_right = 25
  1526.  
  1527. background = {
  1528. name = "skill_icon_bg"
  1529. texture = "gfx/interface/window_character/character_view_skills_bg.dds"
  1530. framesize = { 70 26 }
  1531. frame = 5
  1532. }
  1533.  
  1534. icon = {
  1535. name = "skill_icon"
  1536. size = { 35 35 }
  1537. framesize = { 60 60 }
  1538. frame = 5
  1539. texture = "gfx/interface/icons/icon_skills.dds"
  1540. }
  1541.  
  1542. text_single = {
  1543. name = "skill_value"
  1544. parentanchor = vcenter
  1545. text = "[Character.GetSkill( 'learning' )]"
  1546. default_format = "#high"
  1547. using = Font_Size_Medium
  1548. align = nobaseline
  1549. }
  1550. }
  1551. }
  1552. }
  1553.  
Advertisement
Add Comment
Please, Sign In to add comment