Frictional Games Forum (read-only)
[SOLVED] Key Name Problem - 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: [SOLVED] Key Name Problem (/thread-6382.html)



[SOLVED] Key Name Problem - Linus Ågren - 01-25-2011

Edit: I solved it on my own.

Solution:

Code below is correct, just forgot to name one thing.

Go to your key in the level editor and click the Entity tab.
At "CustomSubItemTypeName", enter your key name and it will work Smile.


Well, I don't see where the problem is. My script looks like this:

Code:
<CATEGORY Name="Inventory">
      <Entry Name="ItemName_celldoorKey">Cell Door Key</Entry>
      <Entry Name="ItemDesc_celldoorKey">Tag reads "Cell Door".</Entry>
</CATEGORY>
Yet, no name or description shows up on the key in game.


RE: [SOLVED] Key Name Problem - Frontcannon - 01-26-2011

If you solve a problem by yourself please post the solution so others can actually benefit from threads like these.


RE: [SOLVED] Key Name Problem - Linus Ågren - 01-26-2011

Alright, added solution.