Frictional Games Forum (read-only)

Full Version: Inventory error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 (:
"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.
(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 (:
Do you have it saved as a language file or just a text file?
(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.
Is your description showing? Write someting in the description and check if it shows. If it doesn't then there is a typo
(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 (: