Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Language File Help
smapho123 Offline
Junior Member

Posts: 17
Threads: 1
Joined: Jun 2011
Reputation: 0
#1
Language File Help

I can't get any text in my language file to show in my custom story. I've linked everything in the level editor, and I'm pretty sure the script works, but the text doesn't show. What's wrong with it?

Here's the file:
Spoiler below!
<LANGUAGE>
<CATEGORY Name="Messages">
<Entry Name="PBb_CellLocked">It's locked.</Entry>
<Entry Name="PBe_UseKey">Use the key on the door.</Entry>
<Entry Name="PBg_CellDoorBlocked">Something is blocking the door.</Entry>
<Entry Name="IRa_InterrogationRoomLocked">The door is locked.</Entry>
<Entry Name="IRe_HaveKey">Use the key on the door.</Entry>
<Entry Name="TUa_Ledge">The ledge is too high to reach.</Entry>
<Entry Name="BHd_DoorLocked">Locked.</Entry>
<Entry Name="BHe_KeyFail">The key broke while being used.</Entry>
<Entry Name="BHl_NeedPaste">Something is needed to hold the objects together.</Entry>
<Entry Name="BHm_NoSurfaceArea">The bread roller doesn't have enough surface area to stick to the pot.</Entry>
<Entry Name="MHb_Inaccesable">The door won't open.</Entry>
<Entry Name="CTa_Skiddy">Do you really want to go back there?</Entry>
<Entry Name="WCa_Fish">The fish are swarming the door. It won't open.</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Quest_PBc_CellDoorLocked_Text">The door is locked. It will probably need a key.</Entry>
<Entry Name="Quest_PHb_Rocks_Text">These rocks seem to be blocking a door. Is there any way to get rid of them?</Entry>
<Entry Name="Quest_PHc_BrokenPickaxe_Text">The pickaxe broke. The remaining rocks could probably be moved.</Entry>
<Entry Name="Quest_IRb_InterrogationRoomEntry_Text">There should be a key nearby.</Entry>
<Entry Name="Quest_TUd_Blocked_Text">There is no way to get through these rocks. Is there a way around?</Entry>
<Entry Name="Quest_BHf_Improvise_Text">I'll have to get through the door another way.</Entry>
<Entry Name="Quest_BHk_Substance_Text">There is a sticky substance here. It might be able to bond objects.</Entry>
<Entry Name="Quest_SCa_DanialIsFat_Text">The stairs broke while being used.</Entry>
<Entry Name="Note_PBa_Awakening_Name">Awakening</Entry>
<Entry Name="Note_PBa_Awakening_Text">He awoke and looked around the room. It wasn't long before he realized it was a cell.</Entry>
<Entry Name="Note_PBf_PrisonerJournal_Name">Prisoner's Journal</Entry>
<Entry Name="Note_PBf_PrisonerJournal_Text">I write, because it makes me forget all of the horrible things that have happened. It makes me feel calm, sedated even. I don't like this place. I want to be free, flying. It doesn't make sense why I'm here. I asked Javier too many questions, I guess. But the worst part is the warden. He constantly taunts me with the key. He says the key is under the bed, or on the other side of the door. One time he kille (The note abruptly ends).</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_PBd_CellKey">Cell Key</Entry>
<Entry Name="ItemName_IRc_InterrogationRoomKey">Interrogation Room Key</Entry>
<Entry Name="ItemName_IRg_PickaxeShaft">Strange Stick</Entry>
<Entry Name="ItemName_TUb_PickaxeHead">Pickaxe Head</Entry>
<Entry Name="ItemName_TUe_Pickaxe">Pickaxe</Entry>
<Entry Name="ItemName_BHb_BanquetHallKey">Banquet Hall Key</Entry>
<Entry Name="ItemName_BHg_Pot">Pot</Entry>
<Entry Name="ItemName_BHi_BreadRoller">Bread Roller</Entry>
<Entry Name="ItemName_BHn_BrokenBreadRoller">Broken Bread Roller</Entry>
<Entry Name="ItemName_BHp_StickyBreadRoller">Sticky Bread Roller</Entry>
<Entry Name="ItemName_BHr_DoorBreaker">Makeshift Door Breaker</Entry>
<Entry Name="ItemName_SCb_Cement">Bag of Cement</Entry>
<Entry Name="ItemName_TS_Hammer">Hammer</Entry>
<Entry Name="ItemName_TS_Nails">Nails</Entry>
<Entry Name="ItemName_TS_Bucket">Bucket</Entry>
<Entry Name="ItemName_TS_BucketNails">Bucket of Nails</Entry>
<Entry Name="ItemName_GQ_Plank">Wooden Plank</Entry>
<Entry Name="ItemName_MB_BridgeKey">Bridge Key</Entry>
<Entry Name="ItemDesc_PBd_CellKey">A key.</Entry>
<Entry Name="ItemDesc_IRd_InterrogationRoomKey">A key.</Entry>
<Entry Name="ItemDesc_IRh_PickaxeShaft">A strangly shaped stick. It looks as if something could attach to the top of it.</Entry>
<Entry Name="ItemDesc_TUc_PickaxeHead">A head of a pickaxe. It needs to attach to something.</Entry>
<Entry Name="ItemDesc_TUf_Pickaxe">A fully usable pickaxe.</Entry>
<Entry Name="ItemDesc_BHc_BanquetHallKey">A fragile key.</Entry>
<Entry Name="ItemDesc_BHh_Pot">A pot used for cooking.</Entry>
<Entry Name="ItemDesc_BHj_BreadRoller">Can flatten bread, among other things.</Entry>
<Entry Name="ItemDesc_BHo_BrokenBreadRoller">One of the handles of the bread roller has broken off.</Entry>
<Entry Name="ItemDesc_BHq_StickyBreadRoller">One end is now covered in the sticky substance.</Entry>
<Entry Name="ItemDesc_BHs_DoorBreaker">If used correctly, it should be able to break the door.</Entry>
<Entry Name="ItemDesc_SCc_Cement">A bag of wet cement.</Entry>
</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="Prison">Prison Block</Entry>
<Entry Name="PrisonHall">Prison Hall</Entry>
<Entry Name="Interrogation">Interrogation Rooms</Entry>
<Entry Name="Tunnels">Tunnels</Entry>
<Entry Name="Balcony">Balcony</Entry>
<Entry Name="Banquet">Banquet Hall</Entry>
<Entry Name="Main">Main Hall</Entry>
<Entry Name="Storage">Storage Cellar</Entry>
<Entry Name="Cellar">Cellar Tunnels</Entry>
<Entry Name="Wine">Wine Cellar</Entry>
<Entry Name="Tools">Tool Storage</Entry>
<Entry Name="Quarters">Guest Quarters</Entry>
<Entry Name="Bedroom">Master Bedroom</Entry>
<Entry Name="Bridge">Bridge</Entry>
</CATEGORY>
</LANGUAGE>

Death is the final unknown.
06-13-2011, 04:01 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Language File Help

Pretty sure you need to add in your CustomStoryMain category for the lang file to work.

Toss this in at the top (or anywhere you like, really)

<CATEGORY Name="CustomStoryMain">
      <Entry Name="Description">
         Description of your story :)
      </Entry>
   </CATEGORY>

06-13-2011, 10:44 PM
Find
smapho123 Offline
Junior Member

Posts: 17
Threads: 1
Joined: Jun 2011
Reputation: 0
#3
RE: Language File Help

Nope. Still doesn't work. Thanks anyways.

Death is the final unknown.
06-13-2011, 11:22 PM
Find




Users browsing this thread: 1 Guest(s)