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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Key Name Problem (/thread-18708.html) |
Key Name Problem - TheMadmaxster - 10-10-2012 Hi all, I am working on another amnesia custom map and I encountered a problem with a key. I copied this line of code from a working map I had made in the past and it is being screwy. It calls "key1" the default "Machine Room Key". Then "key2" just says, "Picked up ". Take a look and let me know. This is my .lang file Code: You are David. The world is your ally. Things have gone good for you in the past. The only bad thing is your mind. You have gone insane, you have wondered into the forest and know not of the way back. This is my .hps file Code: void OnStart() RE: Key Name Problem - Adny - 10-10-2012 I am willing to be that this is a level editor issue. You .lang seems fine, and the .hps file has no effect on the problem you're having. In the level editor, make sure the name you're using in the lang (i.e. key1) is not the name of the actual key; make sure it is the name in: entity tab>CustomSubItemTypeName (at the bottom). If that is not the issue, then I will do my best to find a new solution RE: Key Name Problem - TheMadmaxster - 10-10-2012 (10-10-2012, 03:00 AM)andyrockin123 Wrote: Thanks soooo much. I completely missed that! Thanks. |