Frictional Games Forum (read-only)
Key name and description not working - 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: Key name and description not working (/thread-6857.html)

Pages: 1 2


RE: Key name and description not working - Raymond - 03-16-2011

(03-16-2011, 03:18 AM)Jakeorch Wrote: The same thing is happening to me.. I play from menu, but still no item name or description.
Code:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>
    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">yadda yadda</Entry>
    </CATEGORY>
    <CATEGORY Name="Inventory">
        <Entry Name="ItemName_key1">Keyname heree</Entry>
        <Entry Name="ItemDesc_key1">Key Description here</Entry>
    </CATEGORY>
</LANGUAGE>

Code:
<CATEGORY Name="Inventory">
      <Entry Name="ItemName_PrisonKeyLight">Prison Key</Entry>
      <Entry Name="ItemDesc_PrisonKeyLight">Key to unlock the door to the Prison World</Entry>

What did you put the name in the Level Editor? If your key's name is "key1" than you should write ke1 in the Entity Tab's "CustomSubTypeName". If still not work check my code from above.

Hope it helped Smile.


RE: Key name and description not working - Jakeorch - 03-17-2011

Thanks! That worked. I guess I was reading it wrong before. In the "CustomSubTypeName" box I was putting the name I WANTED it to be, rather than key1.

Thanks again!


RE: Key name and description not working - Raymond - 03-17-2011

(03-17-2011, 08:59 AM)Jakeorch Wrote: Thanks! That worked. I guess I was reading it wrong before. In the "CustomSubTypeName" box I was putting the name I WANTED it to be, rather than key1.

Thanks again!

Your welcome Smile.