Frictional Games Forum (read-only)
Key name + description won't work [solved] - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Key name + description won't work [solved] (/thread-17567.html)



Key name + description won't work [solved] - Melvin - 08-07-2012

If I pick up the key I've placed, it says: ''Picked up''
The description: '' '' (AKA nothing)


This is my english lang file ( Map description works perfectly fine btw )






In Hotel Smokem - Melvin's Story, you play as detective Melvin van Dutch. Melvin heard about "Hotel Smoke" but never payed much attention on it. Until, he rumours that there was a murder at Hotel Smoke. Can Melvin solve this crime?



Diaryname
[voice voicefile.ogg][br]Text in note



"The key that unlocks the door to the lobby. Why is it covered in blood?."
Lobby Key



The door is locked. A key is required to open it!






What did I do wrong? the LevelDoor won't work either but lets just focus on the main issue. If you have the solution for the leveldoor that'll be much obliged.


RE: Key name + description won't work - Melvin - 08-07-2012

can someone pls help....?


RE: Key name + description won't work - drunkmonk - 08-07-2012

Does the name of your key in the .lang file match the name in the CustomSubItemTypeName in the level editor under the entity tab?


RE: Key name + description won't work - Melvin - 08-07-2012

(08-07-2012, 02:04 PM)drunkmonk Wrote: Does the name of your key in the .lang file match the name in the CustomSubItemTypeName in the level editor under the entity tab?
Yes, the key is called(the CustomSubItemTypeName): toLobbyKey

I managed to fix it! Thanks you for replying and stuff Wink