Frictional Games Forum (read-only)
I can't create two notes - 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: I can't create two notes (/thread-25900.html)



I can't create two notes - giacomo9 - 08-19-2014

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>


RE: I can't create two notes - PutraenusAlivius - 08-19-2014

Does the custom story description show up?


RE: I can't create two notes - i3670 - 08-19-2014

Are the notes in question note papers and not diary papers?

Double-check the NoteText box, it's case sensitive (upper/lower case)


RE: I can't create two notes - Romulator - 08-19-2014

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


RE: I can't create two notes - giacomo9 - 08-19-2014

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.


RE: I can't create two notes - PutraenusAlivius - 08-19-2014

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[...]




RE: I can't create two notes - giacomo9 - 08-19-2014

Thank you very much! Problem solved! Big Grin


RE: I can't create two notes - Slanderous - 08-19-2014

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