Frictional Games Forum (read-only)
New Problem: Lang file not working - 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: New Problem: Lang file not working (/thread-10839.html)

Pages: 1 2


RE: New Problem: Lang file not working - JoeBradleyUK - 10-18-2011

(10-18-2011, 09:03 PM)GrAVit Wrote: Shouldn't



Be like this?




I don't really know, just a suggestion..


I just tried that, it crashes the game


RE: New Problem: Lang file not working - JoeBradleyUK - 10-20-2011

Nodody any ideas? Undecided


RE: New Problem: Lang file not working - Your Computer - 10-20-2011

I don't think it is the .lang file that is crashing the game, and the error message you posted isn't (or doesn't seem to be) script related.

Do you have any custom entities or objects in your map?


RE: New Problem: Lang file not working - JoeBradleyUK - 10-20-2011

(10-20-2011, 03:38 PM)Your Computer Wrote: I don't think it is the .lang file that is crashing the game, and the error message you posted isn't (or doesn't seem to be) script related.

Do you have any custom entities or objects in your map?
I fixed the crashing problem, but the lang file just doesn't work e.g. there is no description despite me having one in my .lang and no I don't


RE: New Problem: Lang file not working - Your Computer - 10-20-2011

This should work:

Code:
<LANGUAGE>
    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">That's it then. You've commited murder and you've been sent to prison for life. You've become deranged, and insane for the time you've been in there.[br]You want to find a way out anyway you can. Even if it includes bloodshed.[br]You need to get out.</Entry>
    </CATEGORY>
    <CATEGORY Name="Journal">
        <Entry Name="Note_KeyNote_Name">Note Regarding Key To Lower Levels</Entry>
        <Entry Name="Note_KeyNote_Text">If anyone is wondering where the key is to the lower level, I took it to my office, down the hall.[br]I took it for safe keeping as there was a traitor amongst us letting all the prisoners out, as you may know. If anyone has anymore information about this matter, please contact me in my office.[br][br]Dr.Lyons</Entry>
    </CATEGORY>
    <CATEGORY Name="Messages">
        <Entry Name="SignDrLyons"></Entry>
    </CATEGORY>
    <CATEGORY Name="Inventory">
        <Entry Name="ItemName_KeyDownstairs">Downstairs Key</Entry>
        <Entry Name="ItemDesc_KeyDownstairs">A key for downstairs</Entry>
    </CATEGORY>
</LANGUAGE>



RE: New Problem: Lang file not working - JoeBradleyUK - 10-20-2011

(10-20-2011, 05:11 PM)Your Computer Wrote: This should work:

Code:
    
        That's it then. You've commited murder and you've been sent to prison for life. You've become deranged, and insane for the time you've been in there.[br]You want to find a way out anyway you can. Even if it includes bloodshed.[br]You need to get out.
    
    
        Note Regarding Key To Lower Levels
        If anyone is wondering where the key is to the lower level, I took it to my office, down the hall.[br]I took it for safe keeping as there was a traitor amongst us letting all the prisoners out, as you may know. If anyone has anymore information about this matter, please contact me in my office.[br][br]Dr.Lyons
    
    
        
    
    
        Downstairs Key
        A key for downstairs


Thankyou it worked Smile