XML:HPge: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
m (AE7 path)
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
===general information===
===general information===
* The xml code on this page is compatible with onisplit '''v0.9.61.0'''
* The xml code on this page is compatible with onisplit '''v0.9.61.0'''
* HPge is '''global'''. (It can be found in edition/GameDataFolder/'''level0_'''... )  
* HPge is '''global'''. (It can be found in AE/AEInstaller/vanilla/level0_Final.dat)  
* There's only one HPge.
* There's only one HPge.
* The explanation of the left and right HUD elements (e.g. compass and health) comes from '''IGHH'''hud_help_info. HPge and IGHH becomes displayed at the same time.
* The explanation of the left and right HUD elements (e.g. compass and health) comes from '''IGHH'''hud_help_info. HPge and IGHH becomes displayed at the same time.
Line 9: Line 9:


===file structure===
===file structure===
{| border=0 cellspacing=20 cellpadding=0 style="float:right"
[[Image:HPge.png|thumb|200px|right|help page plus [[XML:IGHH|IGHH]] illustration]]
| [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/HPge.jpg http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/HPge_tn.jpg]
|}


  HPge
  HPge
Line 17: Line 15:
   +-- IGPG
   +-- IGPG
       |
       |
       +-- TXMP
      +-- TSFF (link)
       +-- TXMP/PSpc (link)
       +-- IGSA
       +-- IGSA
             |
             |

Revision as of 13:11, 18 April 2013

HPge : Help Page
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

FILM << Other file types >> IGHH

switch to OBD page

general information

  • The xml code on this page is compatible with onisplit v0.9.61.0
  • HPge is global. (It can be found in AE/AEInstaller/vanilla/level0_Final.dat)
  • There's only one HPge.
  • The explanation of the left and right HUD elements (e.g. compass and health) comes from IGHHhud_help_info. HPge and IGHH becomes displayed at the same time.


file structure

help page plus IGHH illustration
HPge
 |
 +-- IGPG
      |
      +-- TSFF (link)
      +-- TXMP/PSpc (link)
      +-- IGSA
           |
           +-- IGSt


XML tags

HPge instance

XML tag content type description
<HPge id="..."> integer instance id, should be 0
<Page> link # + instance id, links to IGPG


IGPG instance

XML tag content type description
<IGPG id="..."> integer instance id
<Font> -
<Family> link TSFFfile_name.oni (without file suffix .oni)
<Style> flag
Normal
Bold
Italic
<Color> integer ABGR range (Alpha is optional)) , e.g. <Color>0 0 255 0</Color> for green
<Size> integer font size
<Flags> flag Every IGSt can use own properties. The <Flags> tag let you enable these. Add "Size" when you want to get a new font size, add "Color" when you want to get a new font color, etc..
Family
Style
Color
Size
<Image> link don't use .oni in the file name
TXMPfile_name
PSpcfile_name
<Text1> integer # + instance id, links to IGSA instance
<Text2> integer # + instance id, links to IGSA instance, <Text2> isn't used for HPge


IGSA instance

XML tag content type description
<IGSA id="..."> integer instance id
<Strings> -
<Link> link # + instance id, links to IGSt


IGSt instance

XML tag content type description
<IGSt id="..."> integer instance id
<Font> -
<Family> link TSFFfile_name.oni (without file suffix .oni)
<Style> flag
Normal
Bold
Italic
<Color> integer ABGR range (Alpha is optional)) , e.g. <Color>0 0 255 0</Color> for green
<Size> integer font size
<Flags> flag Every IGSt can use own properties. The <Flags> tag let you enable these. Add "Size" when you want to get a new font size, add "Color" when you want to get a new font color, etc..
Family
Style
Color
Size
<Text> char[384] actual text; use <Text xml:space="preserve"> </Text> to create a new paragraph