Frictional Games Forum (read-only)
I need help setting a Name and a Description for a key. - 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: I need help setting a Name and a Description for a key. (/thread-14621.html)



I need help setting a Name and a Description for a key. - 7thProductions - 04-08-2012

I have a key set up in the Editor, and I've already entered the Inventory category into the extra_english.lang file (and added entries for the name and description of the key) and according to the wiki it should work, but the name and the description will not show up in game. Any insight on what I should do?


RE: I need help setting a Name and a Description for a key. - Zipi - 04-08-2012

You also need to add some script into your maps .hps file. I'm sure you can find that on the wiki to, if it does not work then you might want to check everything in the editor is correct etc.
(04-08-2012, 06:45 PM)7thProductions Wrote: I have a key set up in the Editor, and I've already entered the Inventory category into the extra_english.lang file (and added entries for the name and description of the key) and according to the wiki it should work, but the name and the description will not show up in game. Any insight on what I should do?




RE: I need help setting a Name and a Description for a key. - 7thProductions - 04-08-2012

(04-08-2012, 06:47 PM)Zipi Wrote: You also need to add some script into your maps .hps file. I'm sure you can find that on the wiki to, if it does not work then you might want to check everything in the editor is correct etc.
(04-08-2012, 06:45 PM)7thProductions Wrote: I have a key set up in the Editor, and I've already entered the Inventory category into the extra_english.lang file (and added entries for the name and description of the key) and according to the wiki it should work, but the name and the description will not show up in game. Any insight on what I should do?


I looked up some tutorials on youtube and they didn't need to mess with the script to give a key a name and a description. :[

I don't understand what's wrong.




RE: I need help setting a Name and a Description for a key. - Zipi - 04-08-2012

Add me on Steam 'TrueSero' I'll help you Smile
(04-08-2012, 07:15 PM)7thProductions Wrote:
(04-08-2012, 06:47 PM)Zipi Wrote: You also need to add some script into your maps .hps file. I'm sure you can find that on the wiki to, if it does not work then you might want to check everything in the editor is correct etc.
(04-08-2012, 06:45 PM)7thProductions Wrote: I have a key set up in the Editor, and I've already entered the Inventory category into the extra_english.lang file (and added entries for the name and description of the key) and according to the wiki it should work, but the name and the description will not show up in game. Any insight on what I should do?


I looked up some tutorials on youtube and they didn't need to mess with the script to give a key a name and a description. :[

I don't understand what's wrong.




RE: I need help setting a Name and a Description for a key. - 7thProductions - 04-08-2012

I didn't buy Amnesia off of Steam


RE: I need help setting a Name and a Description for a key. - jessehmusic - 04-08-2012

(04-08-2012, 06:45 PM)7thProductions Wrote: I have a key set up in the Editor, and I've already entered the Inventory category into the extra_english.lang file (and added entries for the name and description of the key) and according to the wiki it should work, but the name and the description will not show up in game. Any insight on what I should do?
<CATEGORY Name="Inventory">


<Entry Name="ItemName_Key">Key</Entry>
<Entry Name="ItemDesc_Key">An New Key</Entry>
</CATEGORY>


Smile


RE: I need help setting a Name and a Description for a key. - DaAinGame - 04-09-2012

Did you fix the issue? If not double check to see that everything is named correctly inside of the level editor. If that still doesn't work just simply try renaming the key in both the level editor and the .lang file. Both of these methods usually fixed my issues when making my story. Be sure to message me or reply back if you need anymore help!



RE: I need help setting a Name and a Description for a key. - 7thProductions - 04-09-2012

(04-09-2012, 07:46 AM)DaAinGame Wrote: Did you fix the issue? If not double check to see that everything is named correctly inside of the level editor. If that still doesn't work just simply try renaming the key in both the level editor and the .lang file. Both of these methods usually fixed my issues when making my story. Be sure to message me or reply back if you need anymore help!

I gave the key a CustomSubItemTypeName and that does override the default name and description, but after putting the CustomSubItemTypeName into the .lang file under the category: "Inventory" , with two different entries for Name and Description, the name and description don't show up; it's blank. :/






RE: I need help setting a Name and a Description for a key. - LulleBulle - 04-09-2012

(04-09-2012, 10:17 AM)7thProductions Wrote:
(04-09-2012, 07:46 AM)DaAinGame Wrote: Did you fix the issue? If not double check to see that everything is named correctly inside of the level editor. If that still doesn't work just simply try renaming the key in both the level editor and the .lang file. Both of these methods usually fixed my issues when making my story. Be sure to message me or reply back if you need anymore help!

I gave the key a CustomSubItemTypeName and that does override the default name and description, but after putting the CustomSubItemTypeName into the .lang file under the category: "Inventory" , with two different entries for Name and Description, the name and description don't show up; it's blank. :/
Might be some other code messing up. If you'd like I can help you via Teamviewer, send me a PM.