From OniGalore
Jump to navigation Jump to search
PSpL : Part Specification List
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.

PSpc << Other file types >> PSUI

switch to OBD page

General information

  • This type is global (level0_Final.dat) and there is only one resource of this type, PSpLpartspec_list.
  • The only purpose of the PSpL is to define different background colors that can be called upon for the UI.



<?xml version="1.0" encoding="utf-8"?>
   <PSpL id="0">

Ignore the placeholder elements of Type 2, 3, 4 and 1298. The only three types that Oni uses are element 0, "transparent background", element 1, "black background", and element 5, "blue background".

You should also ignore the labels "OutOfGameBackground" and "InGameBackground", because OniSplit unfortunately labels them backwards in its XML. The transparent background at position 0 is actually used for the in-game UI such as the Data Comlink (which is why you can see the game world anywhere that the UI is not being drawn). The black background at position 1 is used for Oni's out-of-game UI (such as the Main Menu and Options screen), which is why the whole window is black wherever the UI is not being drawn. The blue background is used only for the panel that appears onscreen when sound_show_debug=1 is set.