Select the key in the level editor. Then click the entity tap. In the lower field, i think its something like "item name" or something, write AwesomeKey.
I thinks that should work
The field thou shallt modify is "CustomSubItemType" (= AwesomeKey), which is found in the level editor under the tab "entity" of a selected entity.
I think you already did the CustomSubItemType, because otherwise a name from a key in the actual game should show up.
Anyway. I think this might be the problem.
This is my .lang file (It's not the complete one, but it doesn't matter)
You did this:
<RESOURCES>
<RESOURCES/>
I didn't, this might be the problem. Does your custom story description work? If not, then I think we might have found the problem.
Just remove the <RESCOURCES> tag. Leave the one with the slash alone though.
(03-12-2011, 10:41 AM)Havi Wrote: [ -> ]Select the key in the level editor. Then click the entity tap. In the lower field, i think its something like "item name" or something, write AwesomeKey.
I thinks that should work
(03-12-2011, 07:38 PM)Acies Wrote: [ -> ]The field thou shallt modify is "CustomSubItemType" (= AwesomeKey), which is found in the level editor under the tab "entity" of a selected entity.
Oops, sorry. I did do that but the link for it in the thread wasn't working. I updated it.
(03-12-2011, 08:56 PM)Viperdream Wrote: [ -> ]I think you already did the CustomSubItemType, because otherwise a name from a key in the actual game should show up.
Anyway. I think this might be the problem.
This is my .lang file (It's not the complete one, but it doesn't matter)
You did this:
<RESOURCES>
<RESOURCES/>
I didn't, this might be the problem. Does your custom story description work? If not, then I think we might have found the problem.
Just remove the <RESCOURCES> tag. Leave the one with the slash alone though.
This didn't work either. In the tutorial I was watching (it is on the HPL wiki so it should work) he had the resources tag just like I did and it worked for him.
P.S. I was using this tutorial:
http://amnesia.treesoft.dk/tutorials/Tutorial1.wmv
That resource tag is totally wrong.
Code:
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Blah blah</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_AwesomeKey">Awesone key</Entry>
<Entry Name="ItemDesc_AwesomeKey">A truly awesome key</Entry>
</CATEGORY>
</LANGUAGE>
[edit]
The problem you are probably facing is that you don't play your custom story via the main menu, but you directly load the level with the custom dev profile. In that case no item names, diaries, etc. work.
(03-12-2011, 11:37 PM)Pandemoneus Wrote: [ -> ]That resource tag is totally wrong.
Code:
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Blah blah</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_AwesomeKey">Awesone key</Entry>
<Entry Name="ItemDesc_AwesomeKey">A truly awesome key</Entry>
</CATEGORY>
</LANGUAGE>
[edit]
The problem you are probably facing is that you don't play your custom story via the main menu, but you directly load the level with the custom dev profile. In that case no item names, diaries, etc. work.
Well this worked. But, how did the guy in the tut make it work?
Made what work?
If you are refering to the point I made in the edit, he had the map started via custom stories already.
(03-13-2011, 01:44 AM)Pandemoneus Wrote: [ -> ]Made what work?
If you are refering to the point I made in the edit, he had the map started via custom stories already.
Yeah he simply quick reloaded the map and it worked with names and all.
The same thing is happening to me.. I play from menu, but still no item name or description.
Code:
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">yadda yadda</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_key1">Keyname heree</Entry>
<Entry Name="ItemDesc_key1">Key Description here</Entry>
</CATEGORY>
</LANGUAGE>