Frictional Games Forum (read-only)
Need help with .lang file, its weird. - 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: Need help with .lang file, its weird. (/thread-13267.html)



Need help with .lang file, its weird. - julianprokop - 02-12-2012

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>



RE: Need help with .lang file, its weird. - Your Computer - 02-12-2012

For starters, you're only supposed to have one LANGUAGE element. Also, http://www.youtube.com/watch?v=xM8cMhPw_d8&list=PLD326789BC99530C8&index=10


RE: Need help with .lang file, its weird. - julianprokop - 02-12-2012

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.


RE: Need help with .lang file, its weird. - DrDean - 02-12-2012

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.


RE: Need help with .lang file, its weird. - julianprokop - 02-12-2012

then, how do I test them?


RE: Need help with .lang file, its weird. - Your Computer - 02-12-2012

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