Frictional Games Forum (read-only)

Full Version: Need help with .lang file, its weird.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey so, when I pick up my key, it only says "picked up" instead of "picked up Room Key".

Here is my .lang code. This is driving me nuts. I renamed the sub item type name to roomkey, I just do not uderstand why this isn't working. Any help would be great thanks!

Also, how do can make a custom message appear when I interact with entities like doors?


<LANGUAGE>
   <CATEGORY Name="CustomStoryMain">
      <Entry Name="Description">
         Just a brief description!
      </Entry>
   </CATEGORY>
</LANGUAGE>



<LANGUAGE>
   <CATEGORY Name="Inventory">
      <Entry Name="ItemDesc_roomkey">"Room Key"</Entry>
      <Entry Name="ItemName_roomkey">"Room Key"</Entry>
        
   </CATEGORY>
</LANGUAGE>
For starters, you're only supposed to have one LANGUAGE element. Also, http://www.youtube.com/watch?v=xM8cMhPw_...8&index=10
thanks, it was just the double language.

Thanks for the link, but his video only works with doors that load to new levels. I need it for normal mansionbase swing doors.
It's also worth mentioning that running the game to immediately launch into your map (aka dev mode) will also make notes, key names, etc. not appear.
then, how do I test them?
(02-12-2012, 11:27 PM)julianprokop Wrote: [ -> ]then, how do I test them?

It doesn't happen to everyone, but if it happens to you, then you would just use a profile that is for general play.