TechOFreak

Episode 27 XML Entries

Jan 15th, 2021
704
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //From my Amnesia Rebirth Tutorial Series
  2. //Episode 27 Notes Pt.1! Readable Notes!
  3. //https://www.youtube.com/playlist?list=PL4KkjlmOwLwwMVqedCNpi6caUxhgyf8Qr
  4. //-----------------------------------------------------------
  5.  
  6. ///////////////////////////////////
  7. // readables.cfg file
  8. ///////////////////////////////////
  9.  
  10. <?xml version="1.0"?>
  11. <Readables>
  12.     <!--
  13.         Category:
  14.             CategoryID: The category where the Name, FrontEntry and BackEntry are defined in the .lang files.
  15.             Name: The name of the map defined in the "Levels" category in the .lang files.
  16.         Note:
  17.             ID: Readable's ID. It must be unique.
  18.             VoiceSubject: The audio voice file that will be played while reading the physical version of the note.
  19.             FrontEntry: Readable's front side text as defined in .lang files.
  20.             BackEntry: Readable's back side text as defined in .lang files.
  21.             ImageEntry: An image file to show alongside text in the sketchbook.
  22.             AddToSketchbook: Whether this entry should be added into the sketchbook or not.
  23.         Memory Cylinder:
  24.             ID: Memory Cylinder's ID. It must be unique.
  25.             FrontEntry: Memory Cylinder's fronmt text entry.
  26.             IsMemoryCylinder: Whether this is a memory cylinder.
  27.             MemoryCylinderLinesCount: The number of voices the referenced cylinder subject holds.
  28.     -->
  29.     <Categories>
  30.    
  31.         <Category ID="starting_room" Name="starting_room">
  32.             <Notes>
  33.                 <Note ID="Note_Room_1" VoiceSubject="" FrontEntry="Note_Room_1" BackEntry="" ImageEntry="" />
  34.             </Notes>
  35.         </Category>
  36.        
  37.     </Categories>
  38. </Readables>
  39.  
  40. ///////////////////////////////////
  41. // english.lang file
  42. ///////////////////////////////////
  43.  
  44. <LANGUAGE>
  45.  
  46.  <CATEGORY Name="starting_room">
  47.    <Entry Name="Note_Room_1">To whoever finds this, I am tired of being trapped in this room. The door isn't locked but he's always on the lookout. If you leave he will find you. At this point I'm willing to talk my chances. I'm going to run for it.</Entry>
  48.    <Entry Name="Note_Room_1_Name">Unknown Person</Entry>
  49.  </CATEGORY>
  50.  
  51.  <CATEGORY Name="Hints">
  52.    <Entry Name="HintStorageDoor">Explore around to locate a way to open this door.</Entry>
  53.  </CATEGORY>
  54.  
  55.  <CATEGORY Name="Inventory">
  56.    <Entry Name="StorageKey">Storage Room Key</Entry>
  57.    <Entry Name="StorageKey_Desc">This is the key to open the storage room.</Entry>
  58.    
  59.    <Entry Name="Matchbook">Custom Matchbook</Entry>
  60.    <Entry Name="Matchbook_Desc">A custom desc of matchbook...</Entry>
  61.  </CATEGORY>
  62.  
  63. </LANGUAGE>
RAW Paste Data