Jump to content

XML:DPge: Difference between revisions

118 bytes removed ,  6 April 2012
m
no edit summary
mNo edit summary
mNo edit summary
Line 2: Line 2:


{{Template:XMLModdingHints}}
{{Template:XMLModdingHints}}
{| border=0 cellspacing=20 cellpadding=0 align=center
| The xml code on this page is based on onisplit '''v0.9.61.0'''
|}


===general notes===
===general notes===
Line 83: Line 86:


  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni Version="0.9.34.0">
  <Oni>
     <Instance id="0" type="DPge">
     <DPge id="0">
         <LevelNumber>19</LevelNumber>
         <LevelNumber>19</LevelNumber>
         <PageNumber>1</PageNumber>
         <PageNumber>1</PageNumber>
         <IsLearnedMove>1</IsLearnedMove>
         <IsLearnedMove>1</IsLearnedMove>
         <Page>#1</Page>
         <Page>#1</Page>
     </Instance>
     </DPge>


You can display a little image if you use the image tag in the IGPG instance. (Either non-animated TXMP or [[PSpc]].)
You can display a little image if you use the image tag in the IGPG instance. (Either non-animated TXMP or [[PSpc]].)


     <Instance id="1" type="IGPG">
     <IGPG id="1">
         <nowiki><Font></nowiki>
         <Font>
             <Family>TSFFTahoma</Family>
             <Family>TSFFTahoma</Family>
             <Style>Bold</Style>
             <Style>Bold</Style>
Line 100: Line 103:
             <Size>12</Size>
             <Size>12</Size>
             <Flags>Family Style Color Size</Flags>
             <Flags>Family Style Color Size</Flags>
         <nowiki></Font></nowiki>
         </Font>
         <Image>TXMPLevel19move</Image>
         <Image>TXMPLevel19move</Image>
         <Text1>#4</Text1>
         <Text1>#4</Text1>
         <Text2>#5</Text2>
         <Text2>#5</Text2>
     </Instance>
     </IGPG>
     <Instance id="4" type="IGSA">
     <IGSA id="4">
         <Strings>
         <Strings>
             <Link>#7</Link>
             <Link>#7</Link>
         </Strings>
         </Strings>
     </Instance>
     </IGSA>
     <Instance id="5" type="IGSA">
     <IGSA id="5">
         <Strings>
         <Strings>
             <Link>#6</Link>
             <Link>#6</Link>
         </Strings>
         </Strings>
     </Instance>
     </IGSA>


A space between the text tags (<Text> </Text>) can produce a new paragraph. The import ignores that so far but you can fix it by writing "<Text xml:space="preserve"> </Text>". (Not used in this example.)
A space between the text tags (<Text> </Text>) can produce a new paragraph. The import ignores that so far but you can fix it by writing "<Text xml:space="preserve"> </Text>". (Not used in this example.)


     <Instance id="6" type="IGSt">
     <IGSt id="7">
        <nowiki><Font></nowiki>
         <Font>
            <Family>TSFFTahoma</Family>
            <Style>Bold</Style>
            <Color>191 191 191</Color>
            <Size>10</Size>
            <Flags>Family Style Color Size</Flags>
        <nowiki></Font></nowiki>
        <Text>When standing in front of an armed opponent, press FORWARD + KICK. Disarm your opponent with a kick to the face!!</Text>
    </Instance>
    <Instance id="7" type="IGSt">
         <nowiki><Font></nowiki>
             <Family></Family>
             <Family></Family>
             <Style>Normal</Style>
             <Style>Normal</Style>
Line 135: Line 128:
             <Size>0</Size>
             <Size>0</Size>
             <Flags></Flags>
             <Flags></Flags>
         <nowiki></Font></nowiki>
         </Font>
         <Text>Stepping Disarm</Text>
         <Text>Stepping Disarm</Text>
     </Instance>
     </IGSt>
    <IGSt id="6">
        <Font>
            <Family>TSFFTahoma</Family>
            <Style>Bold</Style>
            <Color>191 191 191</Color>
            <Size>10</Size>
            <Flags>Family Style Color Size</Flags>
        </Font>
        <Text>When standing in front of an armed opponent, press FORWARD + KICK.  Disarm your opponent with a kick to the face!!</Text>
    </IGSt>
  </Oni>
  </Oni>
8,189

edits