XML:PSUI

From OniGalore
Revision as of 22:00, 25 March 2021 by Iritscen (talk | contribs) (Created page with "{{XML_File_Header | type=PSUI | prev=PSpL | next=StNA | name=Part Specification UI}} ==General information== *PSUI is a global type (level0_Final.dat) and only two of them ex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
PSUI : Part Specification UI
XML modding tips
  • See HERE to start learning about XML modding.
  • See HERE if you are searching for information on how to handle object coordinates.
  • See HERE for some typical modding errors and their causes.
XML.png
XML

PSpL << Other file types >> StNA

switch to OBD page

General information

  • PSUI is a global type (level0_Final.dat) and only two of them exist in vanilla Oni: PSUIpsui_g206 and PSUIpsui_oniUI.
  • Only PSUIpsui_oniUI is called upon in Oni. It contains a list of PSpcs that should be used to draw the game's interface, but in-game and out-of-game.

Example

PSUIpsui_oniUI:

<?xml version="1.0" encoding="utf-8"?>
<Oni>
   <PSUI id="0">
       <Background>PSpcps_oniUI_background</Background>
       <Border>PSpcps_g206_border</Border>
       <Title>PSpcps_g206_title</Title>
       <Grow>PSpcps_g206_grow</Grow>
       <CloseIdle>PSpcps_g206_close_idle</CloseIdle>
       <ClosePressed>PSpcps_g206_close_pressed</ClosePressed>
       <ZoomIdle>PSpcps_g206_zoom_idle</ZoomIdle>
       <ZoomPressed>PSpcps_g206_zoom_pressed</ZoomPressed>
       <FlattenIdle>PSpcps_g206_flatten_idle</FlattenIdle>
       <FlattenPressed>PSpcps_g206_flatten_pressed</FlattenPressed>
       <TextCaret>PSpcps_g206_text_caret</TextCaret>
       <Outline>PSpcps_oniUI_outline</Outline>
       <Button>PSpcps_oniUI_button_off</Button>
       <ButtonOff>PSpcps_oniUI_button_off</ButtonOff>
       <ButtonOn>PSpcps_oniUI_button_on</ButtonOn>
       <CheckBoxOn>PSpcps_oniUI_checkbox_on</CheckBoxOn>
       <CheckBoxOff>PSpcps_oniUI_checkbox_off</CheckBoxOff>
       <EditField>PSpcps_oniUI_background</EditField>
       <EditFieldFocused>PSpcps_g206_ef_hasfocus</EditFieldFocused>
       <EditFieldHighlighted>PSpcps_oniUI_hilite</EditFieldHighlighted>
       <Divider>PSpcps_oniUI_divider</Divider>
       <Check>PSpcps_g206_check</Check>
       <PopupMenu>PSpcps_oniUI_popup_menu</PopupMenu>
       <ProgressBarTrack>PSpcps_oniUI_progressbar_track</ProgressBarTrack>
       <ProgressBarFill>PSpcps_oniUI_progressbar_fill</ProgressBarFill>
       <RadioButtonOn>PSpcps_g206_radio_button_on</RadioButtonOn>
       <RadioButtonOff>PSpcps_g206_radio_button_off</RadioButtonOff>
       <ScrollBarArrowUpIdle>PSpcps_oniUI_arrow_up_idle</ScrollBarArrowUpIdle>
       <ScrollBarArrowUpPressed>PSpcps_oniUI_arrow_up_pressed</ScrollBarArrowUpPressed>
       <ScrollBarArrowDownIdle>PSpcps_oniUI_arrow_dn_idle</ScrollBarArrowDownIdle>
       <ScrollBarArrowDownPressed>PSpcps_oniUI_arrow_dn_pressed</ScrollBarArrowDownPressed>
       <ScrollBarVerticalTrack>PSpcps_oniUI_sb_v_track</ScrollBarVerticalTrack>
       <ScrollBarArrowLeftIdle>PSpcps_g206_arrow_lt_idle</ScrollBarArrowLeftIdle>
       <ScrollBarArrowLeftPressed>PSpcps_g206_arrow_lt_pressed</ScrollBarArrowLeftPressed>
       <ScrollBarArrowRightIdle>PSpcps_g206_arrow_rt_idle</ScrollBarArrowRightIdle>
       <ScrollBarArrorRightPressed>PSpcps_g206_arrow_rt_pressed</ScrollBarArrorRightPressed>
       <ScrollBarHorizontalTrack>PSpcps_g206_sb_h_track</ScrollBarHorizontalTrack>
       <ScrollBarThumb>PSpcps_oniUI_thumb</ScrollBarThumb>
       <SliderThumb>PSpcps_oniUI_sl_thumb</SliderThumb>
       <SliderTrack>PSpcps_oniUI_sl_track</SliderTrack>
       <Background2>PSpcps_g206_background</Background2>
       <Background3>PSpcps_g206_background</Background3>
       <File>PSpcps_g206_file</File>
       <Folder>PSpcps_g206_folder</Folder>
   </PSUI>
</Oni>

The references in this PSUI to PSpcs starting with "ps_g206" are probably development relics and represent elements that are never drawn in Oni's in-game or out-of-game GUI. The "ps_oniUI" PSpcs all link to TXMPnavi, which they slice up in order to draw the UI controls.