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
Locked Door Tutorial - Mulledk19
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#11
RE: Locked Door Tutorial - Mulledk19

Ah, thanks, I think this is the problem:
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:
-------- 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'
09-26-2010, 02:38 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#12
RE: Locked Door Tutorial - Mulledk19

(09-26-2010, 02:38 PM)Equil Wrote: Ah, thanks, I think this is the problem:
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:
-------- 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.

[Image: 16455.png]
09-26-2010, 02:50 PM
Find
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#13
RE: Locked Door Tutorial - Mulledk19

I did, and your validator says that they are all valid Confused I'll go over and doublecheck everything.
09-26-2010, 02:57 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#14
RE: Locked Door Tutorial - Mulledk19

(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.

[Image: 16455.png]
09-26-2010, 03:03 PM
Find
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#15
RE: Locked Door Tutorial - Mulledk19

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
09-26-2010, 03:16 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#16
RE: Locked Door Tutorial - Mulledk19

(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.
<Entry Name="ItemName_TombKey">Tomb Key</Entry>
<Entry Name="ItemDesc_TombKey">Key for the tomb</Entry>

[Image: 16455.png]
09-26-2010, 03:18 PM
Find
EddieShoe Offline
Junior Member

Posts: 28
Threads: 6
Joined: Sep 2010
Reputation: 0
#17
RE: Locked Door Tutorial - Mulledk19

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

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:
<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

Currently working on: "Awake"
Progress: ~5%
09-26-2010, 03:19 PM
Find
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#18
RE: Locked Door Tutorial - Mulledk19

Hmm, still not working, but I found this in the log:
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
09-26-2010, 03:25 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#19
RE: Locked Door Tutorial - Mulledk19

(09-26-2010, 03:25 PM)Equil Wrote: Hmm, still not working, but I found this in the log:
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.

[Image: 16455.png]
09-26-2010, 03:41 PM
Find
Equil Offline
Member

Posts: 94
Threads: 8
Joined: Sep 2010
Reputation: 0
#20
RE: Locked Door Tutorial - Mulledk19

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

Thanks for all your help! Smile
09-26-2010, 04:00 PM
Find




Users browsing this thread: 1 Guest(s)