Frictional Games Forum (read-only)
Memento doesn't show up? - 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: Memento doesn't show up? (/thread-25491.html)



Memento doesn't show up? - Amnesiaplayer - 06-17-2014

Hello...

i have a problem... i'm starting with new and Clear Custom Story!
i want to make "memenot"if the player pick ups a Note

name of the note (with callback) = note
so everything if i play and pickup the note... memento is EMPTY.... only- ...

note thing in LANG file is
<Entry Name="Quest_note_Text">Test</Entry>

and the HPS is

void note(string &in asEntity, string &in type)
{
AddQuest("note", "pickupnote");
}

Please can someone help me ?


RE: Memento doesn't show up? - Mudbill - 06-17-2014

Replace pickupnote in your script with just note.
The first string is the internal name, and the second string is the entry name.


RE: Memento doesn't show up? - Amnesiaplayer - 06-17-2014

i already did it! it doesn't work Sad


RE: Memento doesn't show up? - Mudbill - 06-17-2014

Can you show me your whole lang file?


RE: Memento doesn't show up? - Amnesiaplayer - 06-17-2014

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">.</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_sleutel">Sleutel om naar buiten te gaan!</Entry>
<Entry Name="ItemName_sleutel">Sleutel</Entry>
</CATEGORY>
<Entry Name="Quest_note_Text">Test</Entry>

<CATEGORY Name="Journal">
<Entry Name="Note_note_Name">(test)</Entry>
<Entry Name="Note_note_Text">(test)</Entry>
</CATEGORY>
</LANGUAGE>

something like this...


RE: Memento doesn't show up? - Mudbill - 06-17-2014

You must move the Quest entry down so that it's inside the Journal category.

PHP Code:
<CATEGORY Name="Journal">
<
Entry Name="Quest_note_Text">Test</Entry>

<
Entry Name="Note_note_Name">(test)</Entry>
<
Entry Name="Note_note_Text">(test)</Entry>
</
CATEGORY



RE: Memento doesn't show up? - Radical Batz - 06-17-2014

(06-17-2014, 02:02 PM)Amnesiaplayer Wrote: <LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">.</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_sleutel">Sleutel om naar buiten te gaan!</Entry>
<Entry Name="ItemName_sleutel">Sleutel</Entry>
</CATEGORY>
<Entry Name="Quest_note_Text">Test</Entry>

<CATEGORY Name="Journal">
<Entry Name="Note_note_Name">(test)</Entry>
<Entry Name="Note_note_Text">(test)</Entry>
</CATEGORY>
</LANGUAGE>

something like this...

Where's the memento quest entries?


RE: Memento doesn't show up? - Amnesiaplayer - 06-17-2014

Thanks! it worked!!

Where's the memento quest entries?
[/quote]

it works already Big Grin