XML:WMCL: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Iritscen moved page OBD talk:WMCL to XML:WMCL without leaving a redirect)
m (copy-edit)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:XMLModdingHints}}
{{XML_File_Header | prev=TxtC | type=WMCL | next=WMDD | name=WM Cursor List}}
{| border=0 cellspacing=20 cellpadding=0 align=center
| The xml code on this page is compatible with onisplit '''v0.9.61.0'''
|}


==General information==
* The XML on this page was extracted with OniSplit version '''v0.9.61.0'''.
*"WM" stands for "Window Manager".
* The WMCL is stored globally, in level0_Final.dat.
* There is just one of these resources, and it provides the link to Oni's mouse cursor (PSpc -> TXMP).
* Oni always loads the cursor with ID 1.


'''general information'''
==Example==
* WMCL is stored globally (edition\GameDataFolder\level0_Final)
WMCLcursor_list.xml:
* the file links to Oni's mouse icon (cursor) (PSpc -> TXMP)
* Oni always looks for a cursor with id 1
 
 
'''XML'''
 
WMCLcursor_list.xml
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni>
  <Oni>
Line 25: Line 21:
     </WMCL>
     </WMCL>
  </Oni>
  </Oni>
{{XML}}

Latest revision as of 23:55, 31 March 2021

WMCL : WM Cursor 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.
XML.png
XML

TxtC << Other file types >> WMDD

switch to OBD page

General information

  • The XML on this page was extracted with OniSplit version v0.9.61.0.
  • "WM" stands for "Window Manager".
  • The WMCL is stored globally, in level0_Final.dat.
  • There is just one of these resources, and it provides the link to Oni's mouse cursor (PSpc -> TXMP).
  • Oni always loads the cursor with ID 1.

Example

WMCLcursor_list.xml:

<?xml version="1.0" encoding="utf-8"?>
<Oni>
   <WMCL id="0">
       <Cursors>
           <WMCLCursor>
               <Id>1</Id>
               <Part>PSpcps_cursor_arrow</Part>
           </WMCLCursor>
       </Cursors>
   </WMCL>
</Oni>