Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Problem: Lang file not working
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#11
RE: New Problem: Lang file not working

(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

:Work In Progress:
Insanity
10-18-2011, 09:48 PM
Find Reply
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#12
RE: New Problem: Lang file not working

Nodody any ideas? Undecided

:Work In Progress:
Insanity
10-20-2011, 03:25 PM
Find Reply
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#13
RE: New Problem: Lang file not working

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?

Tutorials: From Noob to Pro
10-20-2011, 03:38 PM
Website Find Reply
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#14
RE: New Problem: Lang file not working

(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

:Work In Progress:
Insanity
10-20-2011, 04:58 PM
Find Reply
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#15
RE: New Problem: Lang file not working

This should work:

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

Tutorials: From Noob to Pro
10-20-2011, 05:11 PM
Website Find Reply
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#16
RE: New Problem: Lang file not working

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

    
        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

:Work In Progress:
Insanity
10-20-2011, 08:30 PM
Find Reply




Users browsing this thread: 1 Guest(s)