Frictional Games Forum (read-only)

Full Version: I need help setting a Name and a Description for a key.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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?

(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.

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.

I didn't buy Amnesia off of Steam
(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
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!
(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. :/



(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.