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
Quick question...
theDARKW0LF Offline
Member

Posts: 150
Threads: 17
Joined: Sep 2010
Reputation: 0
#1
Quick question...

Does the "extra_english.lang" file automatically get read and used by the objects and such from your mod when it's in it's correct folder? If not, how exactly do I go about making it be the language file to be referred to and not the standard "english.lang"?

Thanks...

Check out my custom stories(1)(2)!
09-20-2010, 09:52 PM
Find
Armored Cow Offline
Member

Posts: 72
Threads: 3
Joined: Sep 2010
Reputation: 0
#2
RE: Quick question...

It does automatically read it, if you are running the map from your Custom Stories section of the main menu. Playing the map using the "dev environment" will not read the extra_english.lang file since it's taking it from mymaps instead of custom_stories.
09-20-2010, 10:00 PM
Find
theDARKW0LF Offline
Member

Posts: 150
Threads: 17
Joined: Sep 2010
Reputation: 0
#3
RE: Quick question...

Ok that's good to know, thanks for your reply!

Check out my custom stories(1)(2)!
09-20-2010, 10:11 PM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#4
RE: Quick question...

(09-20-2010, 10:00 PM)Armored Cow Wrote: It does automatically read it, if you are running the map from your Custom Stories section of the main menu. Playing the map using the "dev environment" will not read the extra_english.lang file since it's taking it from mymaps instead of custom_stories.

Yeah, that's quite annoying. You have to play your map via Custom Stories to get those extra entries.
That's something the developers should change in case they do an update. Tongue

09-20-2010, 10:23 PM
Find
Dismortal Offline
Junior Member

Posts: 10
Threads: 3
Joined: Sep 2010
Reputation: 0
#5
RE: Quick question...

Sorry for dig up an older post but i have an problem with the extra lang file. The game ignore the file.

The file is in my custom story folder, not in the custom story folder and not in an subfolder. The file name is corect, "extra_english.lang".

The Text
Quote:<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Unknown</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_Key1">Room Key</Entry>
<Entry Name="ItemDesc_Key1">The Room Key to open you Room Door</Entry>
</CATEGORY
</LANGUAGE>

I placed a key in my map, gave him the name Key1 and set in "CustomSubItemTypeName" Key1.

Now I start Amnesia without any dev function, go on custom storys, click on my story to start. I pick up the key and look inside my inventory. The key have no name and no disc. What happent? Huh

And yes, the game ignores the custom story disc in the lang file, too.

Its confusing and I do not know what's wrong.
09-23-2010, 01:04 AM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#6
RE: Quick question...

Look at the second last line. You are missing a > at </CATEGORY
Little mistakes make the whole file broken.

09-23-2010, 10:46 AM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#7
RE: Quick question...

Just wrote a small application to validate XML files. You can use it if you run into problems again.

http://www.amnesia.treesoft.dk/downloads...idator.exe

[Image: 16455.png]
09-23-2010, 12:48 PM
Find
Dismortal Offline
Junior Member

Posts: 10
Threads: 3
Joined: Sep 2010
Reputation: 0
#8
RE: Quick question...

Oh jesus .... *face palme* Dodgy
Sorry guys and thanks for the help
09-23-2010, 01:17 PM
Find




Users browsing this thread: 1 Guest(s)