Frictional Games Forum (read-only)
Inventory error - 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: Inventory error (/thread-18300.html)



Inventory error - Katarýýnaa - 09-12-2012

Hi! , im working in a custom story and im just started to do this kind of stuff (custom stories) and i have a problem in my .lang file (i suppose that's in my .lang file , cause make more sense) . i think i've done all right and it´s all correct , but when i go play my CS to see if everything is fine and in place , my key doesnt have a description or name , but opens the door perfectly , so i think its everything alright with the .hps file , but the key doesnt have a name or a description . And when i picked it up just say "Picked Up" instead of the name of the key.

I leave my .lang file to see if there's a problem :

<LANGUAGE>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"> ... </Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_key1">Key Room</Entry>
<Entry Name="ItemDesc_key1">A Key To Unlock The Door on This Room.</Entry>
</CATEGORY>

</LANGUAGE>




Can You Help Me ?? please (:


RE: Inevntory error - Adny - 09-12-2012

"key1" should not be the name of the key, but it should be the CustomItemSubType (or something like that); it's at the bottom of the second tab when you select the key in the editor.


RE: Inevntory error - Katarýýnaa - 09-12-2012

(09-12-2012, 11:15 PM)andyrockin123 Wrote: "key1" should not be the name of the key, but it should be the CustomItemSubType (or something like that); it's at the bottom of the second tab when you select the key in the editor.
yes , i know , and the key1 is the name that i put in CustomItemSubTypeName (:


RE: Inventory error - Adny - 09-12-2012

Do you have it saved as a language file or just a text file?


RE: Inventory error - Katarýýnaa - 09-12-2012

(09-12-2012, 11:24 PM)andyrockin123 Wrote: Do you have it saved as a language file or just a text file?
as a language file. ive been seeing more posts like this , that have this problem , and ive check everything that everyone says , and its all good and correct , but i still have the problem... so i dont really see what's causing this.


RE: Inventory error - FlawlessHappiness - 09-13-2012

Is your description showing? Write someting in the description and check if it shows. If it doesn't then there is a typo


RE: Inventory error - Katarýýnaa - 09-13-2012

(09-13-2012, 10:39 AM)beecake Wrote: Is your description showing? Write someting in the description and check if it shows. If it doesn't then there is a typo
nevermind , ive solved it , but thanks anyway , i appreciate the help , but it was just my fault. I don't notice that I was saving the map in the wrong place, and then the old map and the .lang file didnt match. Thanks Anyway (: