Difference between revisions of "TextDatabase.xml"

From BotF2-Wiki
Jump to: navigation, search
(Created page with "Folder: \Data bitbucket: https://bitbucket.org/mstrobel/BotF2/src/4bd3c04bb439e29cb543e1f020819b8df2e70bf4/Mainline/BotF2Client/Resources/Data/TextDatabase.xml?at=def...")
 
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
=== Intro ===
 +
 
Folder: \Data
 
Folder: \Data
  
bitbucket: https://bitbucket.org/mstrobel/BotF2/src/4bd3c04bb439e29cb543e1f020819b8df2e70bf4/Mainline/BotF2Client/Resources/Data/TextDatabase.xml?at=default
+
see also [http://botf2.square7.ch/b2_db/TextDatabase.php BotF2-Database]
 +
 
 +
bitbucket: https://bitbucket.org/kflanagan/section-31/src/f41145009d5f0ff88f52c3b860ad89b5dfc0f49b/Resources/Data/TextDatabase.xml?at=default
 +
 
 +
=== Adding new items ===
 +
 
 +
make always sure you have the same keys in
 +
*[[TechObjectDatabase.xml]]
 +
*[[TextDatabase.xml]]
 +
*[[TechTrees.xml]]
 +
 
 +
=== Fields ===
 +
*Key
 +
*Language
 +
*Name
 +
*Description
 +
*Custom1
 +
*Custom2
 +
 
 +
===Structure ===
 +
 
 +
        <Entry Key="FED_STRIKE_CRUISER_I">
 +
          <LocalizedEntries>
 +
            <LocalizedEntry Language="en">
 +
              <Name><![CDATA[Strike Cruiser I]]></Name>
 +
              <Description><![CDATA[The Niagara class ...]]></Description>
 +
              <Custom1><![CDATA[Phaser Banks]]></Custom1>
 +
              <Custom2><![CDATA[Photon Torpedoes]]></Custom2>
 +
            </LocalizedEntry>
 +
          </LocalizedEntries>
 +
        </Entry>
  
 
[[Category:XML-files]]
 
[[Category:XML-files]]

Latest revision as of 17:23, 6 November 2016

Intro

Folder: \Data

see also BotF2-Database

bitbucket: https://bitbucket.org/kflanagan/section-31/src/f41145009d5f0ff88f52c3b860ad89b5dfc0f49b/Resources/Data/TextDatabase.xml?at=default

Adding new items

make always sure you have the same keys in

Fields

  • Key
  • Language
  • Name
  • Description
  • Custom1
  • Custom2

Structure

       <Entry Key="FED_STRIKE_CRUISER_I">
         <LocalizedEntries>
           <LocalizedEntry Language="en">
             <Name><![CDATA[Strike Cruiser I]]></Name>
             <Description><![CDATA[The Niagara class ...]]></Description>
             <Custom1><![CDATA[Phaser Banks]]></Custom1>
             <Custom2><![CDATA[Photon Torpedoes]]></Custom2>
           </LocalizedEntry>
         </LocalizedEntries>
       </Entry>