Frictional Games Forum (read-only)

Full Version: I can't create two notes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I' ve got a problem - I can't create two notes on one map (text not showing up). What is wrong? Thanks for help Smile
Here's my extra_english file:



<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Your description.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_item">Item description.</Entry>
<Entry Name="ItemName_item">Item name.</Entry>
<Entry Name="ItemName_item">Item name.</Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="messagename">Message to show.</Entry>
<Entry Name="messagename">Message to show.</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_note1_Name">Allegro ssie</Entry>
<Entry Name="Note_note1_Text">Nie powinienem zamawiac tej rzezby na allegro. Od dluzszego czasu mam wrazenie, ze jestem obserwowany albo ze ktos za mna chodzi. Ewentualnie naogladalem sie za duzo gier z SCP.</Entry>
<Entry Name="Note_note2_Name">Posag morderca ;_;</Entry>
<Entry Name="Note_note2_Text">Teraz juz wiem. Ta rzezba z allegro to tak naprawde posag morderca ;_;. Kto, do kurwy, sprzedaje na allegro obiekty z SCP? Na szczescie przy tej mozna mrugac. Niby moglbym ja sprzedac albo zarzadac reklamacji, ale mam slabosc do rzezb z malymi penisami <3 A, tak na marginesie, odkrylem, ze rzezba robi sie naprawde niebezpieczna kiedy...</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="leveldoor">Level door name showed on focus.</Entry>
<Entry Name="leveldoor">Level door name showed on focus.</Entry>
</CATEGORY>

</LANGUAGE>
Does the custom story description show up?
Are the notes in question note papers and not diary papers?

Double-check the NoteText box, it's case sensitive (upper/lower case)
(08-19-2014, 11:47 AM)giacomo9 Wrote: [ -> ]
Code:
<LANGUAGE>
    <CATEGORY Name="Inventory">
        <Entry Name="ItemName_item">Item name.</Entry>
        <Entry Name="ItemName_item">Item name.</Entry>
    </CATEGORY>
    
    <CATEGORY Name="Messages">
        <Entry Name="messagename">Message to show.</Entry>
        <Entry Name="messagename">Message to show.</Entry>
    </CATEGORY>

    <CATEGORY Name="Levels">
        <Entry Name="leveldoor">Level door name showed on focus.</Entry>
        <Entry Name="leveldoor">Level door name showed on focus.</Entry>
    </CATEGORY>
    
</LANGUAGE>

These duplicate entries, you cannot have them, at least, you cannot have two of them. You cannot have two messagename texts because the engine will get confused as to which one to use. Change the entry name within the quotation marks and see what that does!
Hmm... It's everything ok, when I remove this from .lang file:

<Entry Name="Note_note2_Name">Posag morderca ;_;</Entry>
<Entry Name="Note_note2_Text">Teraz juz wiem. Ta rzezba z allegro to tak naprawde posag morderca ;_;. Kto, do kurwy, sprzedaje na allegro obiekty z SCP? Na szczescie przy tej mozna mrugac. Niby moglbym ja sprzedac albo zarzadac reklamacji, ale mam slabosc do rzezb z malymi penisami <3 A, tak na marginesie, odkrylem, ze rzezba robi sie naprawde niebezpieczna kiedy...</Entry>

But this is text for my second note, I must keep it somehow.
I ran the lang using Apjjm's Lang Editor and an error was produced.
Code:
=======
ERROR: Name cannot begin with '3' character, hexadecimal value 0x33. Line 21, position 285.
=======

It's probably the <3 word in the second note.
Spoiler below!

[...]penisami <3 A, t[...]

Thank you very much! Problem solved! Big Grin
Wykurwiaj z takimi notatkami, psujesz tylko całą grę.

A jak chcesz się podszkolić w level editorze to pisz śmiało do mnie, jestem praktycznie jedynym polakiem tutaj xd