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
.lang trouble?
ehovda321 Offline
Junior Member

Posts: 38
Threads: 22
Joined: Dec 2011
Reputation: 0
#1
.lang trouble?


I have spent 2+ hours trying to figure out the problem with my .lang file for my Custom Story...


<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Description...</Entry>
</CATEGORY>

<CATEGORY>
<CATEGORY Name="DeathHint">
<Entry Name="DeathH1"> RUN! </Entry>
</CATEGORY>
<CATEGORY Name ="Inventory">

<Entry Name="ItemDesc_keyoftest">Hall Key</Entry>
<Entry Name="ItemName_keyoftest">Hall Key</Entry>
<Entry Name="ItemDesc_secretkey">a Secret Key!</Entry>
<Entry Name="ItemName_secretkey">a Secret Key!</Entry>
<Entry Name="ItemDesc_key2">Storage Key</Entry>
<Entry Name="ItemName_key2">Storage Key</Entry>
</CATEGORY>

<CATEGORY Name="Journal">

<Entry Name="Note_theletter_Name">Letter to William Parker</Entry>
<Entry Name="Note_theletter_Text">Dear William, [br] How are you? We have been wondering how things have been going with Frank, and his experiments. We made it to London, and it is beautiful here. I have never seen anything like this. Anyways, I can't wait to see you! Talk to you soon. [br] [br] Sincerely, [br] Uncle Parker </Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="door_2">Atrium</Entry>
<Entry Name="door_3">Cellars</Entry>
<Entry Name="door_4"Atrium</Entry>
<Entry Name="door_5"Atrium</Entry>
<Entry Name="door_6">Cellars</Entry>
<Entry Name="door1u">Storage</Entry>
</CATEGORY>
</LANGUAGE>
(This post was last modified: 01-02-2012, 02:06 AM by ehovda321.)
01-02-2012, 01:52 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: .lang trouble?

This belongs in the development sub-forum.

Try getting rid of resources.

01-02-2012, 02:37 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#3
RE: .lang trouble?

You have a couple dangling categories (the ones without names).

Tutorials: From Noob to Pro
01-02-2012, 02:49 AM
Website Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: .lang trouble?

for example:

<CATEGORY>
<CATEGORY Name="CustomStoryMain">


and

<CATEGORY>
<CATEGORY Name="DeathHint">
01-02-2012, 03:12 AM
Find
eagledude4 Offline
Member

Posts: 144
Threads: 14
Joined: Dec 2011
Reputation: 0
#5
RE: .lang trouble?

I'm having a similar problem. I can't seem to show a message from my lang file. I followed Statyk's suggestion and added the "<CATEGORY>" tags, but that didn't seem to fix my problem.



Its hard to see the truth when you've been blinded by lies.
(This post was last modified: 01-02-2012, 06:08 AM by eagledude4.)
01-02-2012, 06:02 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#6
RE: .lang trouble?

nooo, I'm telling you to take them OUT. =P
Also:

<CATEGORY Name="Levels">
<Entry Name="door_2">Atrium</Entry>
<Entry Name="door_3">Cellars</Entry>
<Entry Name="door_4">Atrium</Entry>
<Entry Name="door_5">Atrium</Entry>
<Entry Name="door_6">Cellars</Entry>
<Entry Name="door1u">Storage</Entry>
</CATEGORY>



You are missing closing brackets, highlighted in bold blue
(This post was last modified: 01-02-2012, 07:05 AM by Statyk.)
01-02-2012, 06:55 AM
Find
eagledude4 Offline
Member

Posts: 144
Threads: 14
Joined: Dec 2011
Reputation: 0
#7
RE: .lang trouble?

(01-02-2012, 06:55 AM)Statyk Wrote: nooo, I'm telling you to take them OUT. =P

Ohh, lol.


Its hard to see the truth when you've been blinded by lies.
(This post was last modified: 01-02-2012, 07:42 AM by eagledude4.)
01-02-2012, 07:39 AM
Find




Users browsing this thread: 1 Guest(s)