Frictional Games Forum (read-only)
Locked Door Tutorial - Mulledk19 - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Locked Door Tutorial - Mulledk19 (/thread-4762.html)

Pages: 1 2 3


RE: Locked Door Tutorial - Mulledk19 - Equil - 09-26-2010

Ah, thanks, I think this is the problem:
Code:
WARNING: No resources element found in 'custom_stories/Mystories/extra_english.lang'

I'll add the "<RESOURCES>" line and try again.

EDIT: Hmm, nope, still nothing Confused
RE-EDIT: Okay I looked at the log again and found these:
Code:
-------- Loading complete ---------
WARNING: Could not find player start node 'PlayerStartArea_1'
ERROR: StartPos 'PlayerStartArea_1' does not exist!
WARNING: Entity 'SpotLight_1' with type 5 and subtype -1 does not exist!
WARNING: Entity 'SpotLight_2' with type 5 and subtype -1 does not exist!
WARNING: Could not find language file entry 'ItemName_KeyTomb'
WARNING: Could not find language file entry 'ItemName_KeyTomb'
WARNING: Could not find language file entry 'ItemDesc_KeyTomb'



RE: Locked Door Tutorial - Mulledk19 - MulleDK19 - 09-26-2010

(09-26-2010, 02:38 PM)Equil Wrote: Ah, thanks, I think this is the problem:
Code:
WARNING: No resources element found in 'custom_stories/Mystories/extra_english.lang'

I'll add the "<RESOURCES>" line and try again.

EDIT: Hmm, nope, still nothing Confused
RE-EDIT: Okay I looked at the log again and found these:
Code:
-------- Loading complete ---------
WARNING: Could not find player start node 'PlayerStartArea_1'
ERROR: StartPos 'PlayerStartArea_1' does not exist!
WARNING: Entity 'SpotLight_1' with type 5 and subtype -1 does not exist!
WARNING: Entity 'SpotLight_2' with type 5 and subtype -1 does not exist!
WARNING: Could not find language file entry 'ItemName_KeyTomb'
WARNING: Could not find language file entry 'ItemName_KeyTomb'
WARNING: Could not find language file entry 'ItemDesc_KeyTomb'

Did you post your entire language file? Try to use my XML Validator.


RE: Locked Door Tutorial - Mulledk19 - Equil - 09-26-2010

I did, and your validator says that they are all valid Confused I'll go over and doublecheck everything.


RE: Locked Door Tutorial - Mulledk19 - MulleDK19 - 09-26-2010

(09-26-2010, 02:57 PM)Equil Wrote: I did, and your validator says that they are all valid Confused I'll go over and doublecheck everything.

Also, is it the TombKey you're having trouble with? Because it doesn't exist in your language file.


RE: Locked Door Tutorial - Mulledk19 - Equil - 09-26-2010

Quote:Also, is it the TombKey you're having trouble with? Because it doesn't exist in your language file

It is, what do I need in my language file? Sorry, I'm relatively new to this. Tongue


RE: Locked Door Tutorial - Mulledk19 - MulleDK19 - 09-26-2010

(09-26-2010, 03:16 PM)Equil Wrote:
Quote:Also, is it the TombKey you're having trouble with? Because it doesn't exist in your language file

It is, what do I need in my language file? Sorry, I'm relatively new to this. Tongue

You need to add the item to the language file.

In the Inventory category right below your other key.
Code:
<Entry Name="ItemName_TombKey">Tomb Key</Entry>
<Entry Name="ItemDesc_TombKey">Key for the tomb</Entry>



RE: Locked Door Tutorial - Mulledk19 - EddieShoe - 09-26-2010

(09-26-2010, 01:49 PM)MulleDK19 Wrote: Your file is invalid

Code:
This XML document is not valid!

The 'ENTRY' start tag on line 8 does not match the end tag of 'Entry'. Line 8, position 57.

Change ENTRY to Entry in the starting tag.

Like so:
Code:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>
    <CATEGORY Name="CustomStoryMain">
            <Entry Name="Description">My first level![br]This is awesome :D</Entry>
    </CATEGORY>
    <CATEGORY Name="Inventory">
            <Entry Name="ItemName_thekey1">Awesome Key</Entry>
            <Entry Name="ItemDesc_thekey1">An awesome key</Entry>
    </CATEGORY>
</LANGUAGE>

Thank you, Mulle! You're the man! Big Grin


RE: Locked Door Tutorial - Mulledk19 - Equil - 09-26-2010

Hmm, still not working, but I found this in the log:
Code:
Game Running
--------------------------------------------------------
Setting profile: 'Equil' Path: 'C:\Users\<user>\Documents/Amnesia/Main/Equil/'
ERROR: Couldn't load language file 'custom_stories/Mystories/extra_english.lang'
WARNING: Could not find language file category 'CustomStoryMain'

So for some reason it can't load the language file? Any idea why? Undecided


RE: Locked Door Tutorial - Mulledk19 - MulleDK19 - 09-26-2010

(09-26-2010, 03:25 PM)Equil Wrote: Hmm, still not working, but I found this in the log:
Code:
Game Running
--------------------------------------------------------
Setting profile: 'Equil' Path: 'C:\Users\<user>\Documents/Amnesia/Main/Equil/'
ERROR: Couldn't load language file 'custom_stories/Mystories/extra_english.lang'
WARNING: Could not find language file category 'CustomStoryMain'

So for some reason it can't load the language file? Any idea why? Undecided

It's probably invalid... Use my validator, which I posted in one of the posts above.


RE: Locked Door Tutorial - Mulledk19 - Equil - 09-26-2010

Ah, I found the problem, it had to be named "KeyTomb" instead of "TombKey". lol Tongue

Thanks for all your help! Smile