Frictional Games Forum (read-only)

Full Version: Locked Door Tutorial - Mulledk19
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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?

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>


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.
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.
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.
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>
My "Entry" lines were already the correct case, still no dice.
(09-26-2010, 02:02 PM)Equil Wrote: [ -> ]My "Entry" lines were already the correct case, still no dice.

Post your language file.
Code:
<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)Equil Wrote: [ -> ]
Code:
<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>

Code:
This XML document seems to be valid!

How do you play your map, and what do you put in the CustomSubTypeItemName?
Through the custom story mode and "escapekey1".
(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?
Pages: 1 2 3