8,046
edits
Paradox-01 (talk | contribs) m (fixing a confusion + removing talk; @ "digest wisdom" : a new structure will take some time to develope ...) |
Paradox-01 (talk | contribs) m (no more file name inside needed) |
||
Line 3: | Line 3: | ||
* See [[XML basic tutorial|HERE]] if you don't know how to convert an oni file into XML and vice versa. | * See [[XML basic tutorial|HERE]] if you don't know how to convert an oni file into XML and vice versa. | ||
* Console text pages can be called via BSL command "text_console". In fact they don't need a console, you can call up a page in any function you like. | * Console text pages can be called via BSL command "text_console". In fact they don't need a console, you can call up a page in any function you like. | ||
* TxtC's are normally level specific, but could be made global. | * TxtC's are normally level specific (levelX_...), but could be made global (level0_...). | ||
Line 104: | Line 104: | ||
::: Color | ::: Color | ||
::: Size | ::: Size | ||
:: <Text> ( | :: <Text> (Contains the actual text but can also create a bare paragraph (see example at instance #46). You can use <code>&gt;</code> to produce <code>></code> and <code>&lt;</code> to produce <code><</code>.) | ||
Line 115: | Line 115: | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni Version="0.9. | <Oni Version="0.9.38.0"> | ||
<Instance id="0" type="TxtC | <Instance id="0" type="TxtC"> | ||
<Pages>#1</Pages> | <Pages>#1</Pages> | ||
</Instance> | </Instance> | ||
Line 145: | Line 145: | ||
</Instance> | </Instance> | ||
Instance number 46 has a space between the text tags (<Text> </Text>) to produce a new paragraph. The import doesn't care about that | Instance number 46 has a space between the text tags (<Text> </Text>) to produce a new paragraph. The import doesn't care about that but you can fix that by writing "<Text xml:space="preserve"> </Text>". | ||
<Instance '''id="44"''' type="IGSA"> | <Instance '''id="44"''' type="IGSA"> |
edits