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


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

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.


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

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.


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

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.


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

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>



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

My "Entry" lines were already the correct case, still no dice.


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

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

Post your language file.


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

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>



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

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


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

Through the custom story mode and "escapekey1".


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

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