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
Larvidsson Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#1
extra_english.lang problem

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>
(This post was last modified: 06-06-2012, 09:54 PM by Larvidsson.)
06-06-2012, 07:45 PM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#2
RE: extra_english.lang problem

That lang file is a mess o_O Can you post it here better?

06-06-2012, 07:53 PM
Find
Larvidsson Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#3
RE: extra_english.lang problem

(06-06-2012, 07:53 PM)Datguy5 Wrote: That lang file is a mess o_O Can you post it here better?
Having problems with the forum too! xD

(06-06-2012, 07:53 PM)Datguy5 Wrote: That lang file is a mess o_O Can you post it here better?
Updated the forum Wink

Someone that can help me?
(This post was last modified: 06-06-2012, 08:17 PM by Larvidsson.)
06-06-2012, 07:54 PM
Find
Larvidsson Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#4
RE: extra_english.lang problem

Fixed the most. But I can still not make multiple notes to work. Any ideas how to get it to work?
(This post was last modified: 06-06-2012, 09:58 PM by Larvidsson.)
06-06-2012, 09:56 PM
Find
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
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#6
RE: extra_english.lang problem

[br] is necessary for a new line if you don't want the text to be one long row of text.

06-07-2012, 07:55 AM
Find
Larvidsson Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#7
RE: extra_english.lang problem

Thanks a lot everybody! Smile
I'm still having problems with the notes.
But it's probably just something with the level... maybe.
06-07-2012, 10:40 AM
Find




Users browsing this thread: 1 Guest(s)