XML:HPge: Difference between revisions
Jump to navigation
Jump to search
Paradox-01 (talk | contribs) (HPge + cat + temp) |
Paradox-01 (talk | contribs) m (HPge and IGHH becomes displayed at the same time.) |
||
Line 4: | Line 4: | ||
* HPge is '''global'''. (It can be found in edition/GameDataFolder/'''level0_'''... ) | * HPge is '''global'''. (It can be found in edition/GameDataFolder/'''level0_'''... ) | ||
* There's only one HPge. | * There's only one HPge. | ||
* The | * 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. | ||
Revision as of 14:37, 14 November 2012
HPge : Help Page | ||
---|---|---|
XML
FILM << Other file types >> IGHH |
general information
- HPge is global. (It can be found in edition/GameDataFolder/level0_... )
- 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 strcture
HPge | +-- IGPG | +-- TXMP +-- 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 |
|
<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..
|
<Image> | link | don't use .oni in the file 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 |
|
<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..
|
<Text> | char[384] | actual text; use <Text xml:space="preserve"> </Text> to create a new paragraph |