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

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

Okay, I have a question about making a locked door.

So... I followed Mulledk19's tutorial on the Wiki, and everything worked fine except one little thing. When I pick up the key all it says is: Picked Up

It won't actually say: Picked up Awesome Key

I've checked for errors in the extra_english.lang but nothing is wrong, any ideas?

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


In the map editor, I put thekey1 in CustomSubTypeItemName.

Anything I'm doing wrong? Tell me if I need to be more specific in an area.

Currently working on: "Awake"
Progress: ~5%
09-26-2010, 10:30 AM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: Locked Door Tutorial - Mulledk19

Did you try playing your map through Custom Story in the main menu? If you start directly via the dev_user setup in the wiki it won't use any extra language files and thus it doesn't show up.

09-26-2010, 11:54 AM
Find
Equil Offline
Member

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

Having this problem too, I tried putting the code into my extra_english.lang file in my custom story but still nothing showing up on the key.
09-26-2010, 12:50 PM
Find
MulleDK19 Offline
Senior Member

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

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>

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

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

My "Entry" lines were already the correct case, still no dice.
09-26-2010, 02:02 PM
Find
MulleDK19 Offline
Senior Member

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

(09-26-2010, 02:02 PM)Equil Wrote: My "Entry" lines were already the correct case, still no dice.

Post your language file.

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

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

<LANGUAGE>


    <CATEGORY Name="CustomStoryMain">
         <Entry Name="Description">Test map</Entry>
    </CATEGORY>


    <CATEGORY Name="Inventory">
             <Entry Name="ItemName_escapekey1">Escape Key</Entry>
             <Entry Name="ItemDesc_escapekey1">The key apparently used to escape this place.</Entry>
    </CATEGORY>

</LANGUAGE>
09-26-2010, 02:08 PM
Find
MulleDK19 Offline
Senior Member

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

(09-26-2010, 02:08 PM)Equil Wrote:
<LANGUAGE>


    <CATEGORY Name="CustomStoryMain">
         <Entry Name="Description">Test map</Entry>
    </CATEGORY>


    <CATEGORY Name="Inventory">
             <Entry Name="ItemName_escapekey1">Escape Key</Entry>
             <Entry Name="ItemDesc_escapekey1">The key apparently used to escape this place.</Entry>
    </CATEGORY>

</LANGUAGE>

This XML document seems to be valid!

How do you play your map, and what do you put in the CustomSubTypeItemName?

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

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

Through the custom story mode and "escapekey1".
09-26-2010, 02:12 PM
Find
MulleDK19 Offline
Senior Member

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

(09-26-2010, 02:12 PM)Equil Wrote: Through the custom story mode and "escapekey1".

What does the C:\Users\USERNAME\Documents\Amnesia\Main\hpl.log say about it?

[Image: 16455.png]
09-26-2010, 02:32 PM
Find




Users browsing this thread: 1 Guest(s)