The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Item Names
DaAinGame Offline
Member

Posts: 90
Threads: 11
Joined: Mar 2012
Reputation: 4
#1
Item Names

Well, I've spent the last 5 hours trying to get my .lang file to work correctly. All I'm simply trying to do is giving a key a name and a description. What really confuses me is that it worked just fine yesterday, but when I got on today it no longer worked. I'm almost 99.99% positive I never changed anything. Well otherwise, here's the file.

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
All you rememeber is that your name is Zanzibar. As you explore a familiar place, secrects become unraveled, and an even darker truth is revealed...
</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_bedroom_key">Bedroom Key</Entry>
<Entry Name="ItemDesc_bedroom_key">The word BEDROOM is inscribed in its side.</Entry>
<Entry Name="ItemName_storage_key">Storage Room Key</Entry>
<Entry Name="ItemDesc_storage_key">The word STORAGE is inscribed in its side.</Entry>
<Entry Name="ItemName_study_key">Study Room Key</Entry>
<Entry Name="ItemDesc_study_key">The word STUDY is inscribed in its side.</Entry>


I'm still really new to this so look for common mistakes =P. No point in posting my .hps seeing as how it works flawlessly.

***EDIT*** Fixed it. was missing a </CATEGORY> Below the Entry names, above the last <Language>

Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
(This post was last modified: 03-10-2012, 12:10 AM by DaAinGame.)
03-09-2012, 11:32 PM
Find


Messages In This Thread
Item Names - by DaAinGame - 03-09-2012, 11:32 PM
RE: Item Names - by Apjjm - 03-09-2012, 11:48 PM
RE: Item Names - by DaAinGame - 03-10-2012, 12:00 AM
RE: Item Names - by JenniferOrange - 03-10-2012, 01:10 AM



Users browsing this thread: 1 Guest(s)