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
extra_english.lang problem
madifier Offline
Junior Member

Posts: 17
Threads: 3
Joined: Jun 2012
Reputation: 0
#5
RE: extra_english.lang problem

(06-06-2012, 07:45 PM)Larvidsson Wrote: Nothing in my extra_english.lang file works. It did before. I don't know what happened.
Im new at programming so having plenty of problems. Wink

Code:


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You wake up in your cellar. Your wife have druged you and locked you there. But she didn't know about the extra key...</Entry>
</CATEGORY>

<CATEGORY Name="Journal">

<Entry Name="Note_wifeone_Name">Letter From Wife</Entry>
<Entry Name="Note_wifeone_Text">
Hello love.[br]
I had to lock you in her. I can't say why.[br]
Just that I had to do it.[br]
I'm so sorry.[br][br]
//Stella</Entry>

<Entry Name="Note_diaryone_Name">Stella's Diary One</Entry>
<Entry Name="Note_diaryone_Text">
15th August 1871[br][br]
Today when I looked out the window I saw something. A pink light coming from the eagle statue. It felt like the eagle was talking to me. That he was telling me to go out and speek with him.[br]I tried to not worrie about it and went to bed.</Entry>

<Entry Name="Note_noteone_Name">Key Reciept</Entry>
<Entry Name="Note_noteone_text">
Cole's Keys[br][br]
Date: 28 June 1871[br]
Items:[br]
Iron Key copy 20 £[br][br]
Total 20£[br][br]
Buyer: Marcus Bayne</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_cellarkey">Cellar Key</Entry>
<Entry Name="ItemDesc_cellarkey">The extra key to the cellar.</Entry>
<Entry Name="ItemName_housekey">House Key</Entry>
<Entry Name="ItemDesc_housekey">Freedom!</Entry>
</CATEGORY>

<LANGUAGE>
About the only thing I see in your code is your last line. <LANGUAGE> you forgot the backslash. </LANGAUGE>

Something I noticed is your "[br]"s, I not aware of this being necessary for new lines, or rather I personally haven't needed them, but that might clean up your code a bit.

Don't forget that this may be a case sensitive issue, so you might have something capitalized in your code that isn't in the extra_english file. My recommendation for an entry name: "Note_noteone_tex" -> "Notes_note01_txt", but then again writing "note" twice may be redundant. Smile
best of luck
06-07-2012, 12:35 AM
Find


Messages In This Thread
extra_english.lang problem - by Larvidsson - 06-06-2012, 07:45 PM
RE: extra_english.lang problem - by Datguy5 - 06-06-2012, 07:53 PM
RE: extra_english.lang problem - by Larvidsson - 06-06-2012, 07:54 PM
RE: extra_english.lang problem - by Larvidsson - 06-06-2012, 09:56 PM
RE: extra_english.lang problem - by madifier - 06-07-2012, 12:35 AM
RE: extra_english.lang problem - by SilentStriker - 06-07-2012, 07:55 AM
RE: extra_english.lang problem - by Larvidsson - 06-07-2012, 10:40 AM



Users browsing this thread: 1 Guest(s)