Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with making notes
Author Message
Symbi0sis Offline
Junior Member

Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #1
Problem with making notes
Hi, I'm trying to make a custom story for Amnesia: The Dark Descent, but I'm stuck. When i add notes, following this tutorial:
http://wiki.frictionalgames.com/hpl2/tut...omakenotes, it doesn't show any text in the game, just an empty note.

Can anyone help with this problem?
02-13-2012 03:53 PM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #2
RE: Problem with making notes
Show us your lang file please.

02-13-2012 04:00 PM
Find all posts by this user Quote this message in a reply
Symbi0sis Offline
Junior Member

Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #3
RE: Problem with making notes
Well, as i said i completely followed the tutorial but here it is:
(I also wrote "Test01" in the NoteText entry box)


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

<CATEGORY Name="Journal">
<Entry Name="Note_Test01_Name">Test Note</Entry>
<Entry Name="Note_Test01_Text">This note is a test.</Entry>
</CATEGORY>

</LANGUAGE>
02-13-2012 04:06 PM
Find all posts by this user Quote this message in a reply
onv Offline
Member

Posts: 51
Joined: Feb 2012
Reputation: 2
Post: #4
RE: Problem with making notes
Put Test_01 as internal name , and in NoteText put Test and try
02-13-2012 05:03 PM
Find all posts by this user Quote this message in a reply
flamez3 Offline
Posting Freak

Posts: 1,320
Joined: Apr 2011
Reputation: 57
Post: #5
RE: Problem with making notes
What note are you using.

02-13-2012 05:16 PM
Find all posts by this user Quote this message in a reply
Symbi0sis Offline
Junior Member

Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #6
RE: Problem with making notes
Changing the names didn't work and I'm using a note_letter.

I really have no idea how to fix this but I would really appreciate if someone took a look at it.
Here's all the files i have made so far and the note is in the second room on the table:
http://www.mediafire.com/?nzkqzbzidzqcq9p
02-13-2012 06:13 PM
Find all posts by this user Quote this message in a reply
Giovanni Rosa Offline
Junior Member

Posts: 37
Joined: Oct 2011
Reputation: 1
Post: #7
RE: Problem with making notes
(02-13-2012 06:13 PM)Symbi0sis Wrote:  Changing the names didn't work and I'm using a note_letter.

I really have no idea how to fix this but I would really appreciate if someone took a look at it.
Here's all the files i have made so far and the note is in the second room on the table:
http://www.mediafire.com/?nzkqzbzidzqcq9p


Try using letters only. I tried using numbers and it didn't work at all. Can you show me your .hps file too?

EDIT: <LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">your desc.</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_keyname">Testing Key</Entry>
<Entry Name="ItemDesc_keyname">Opens door</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_letter1_Name">Testing Note</Entry>
<Entry Name="Note_letter1_Text">Testing</Entry>
</CATEGORY>

</LANGUAGE>



Try putting this in your .lang file.

Join our blog!
(This post was last modified: 02-13-2012 07:19 PM by Giovanni Rosa.)
02-13-2012 07:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Symbi0sis Offline
Junior Member

Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #8
RE: Problem with making notes
I have tried without numbers to, but it doesn't work either.

The .HPS file is in the .zip file as well, just unzip it.

Your .lang file didn't work either...
(This post was last modified: 02-13-2012 07:39 PM by Symbi0sis.)
02-13-2012 07:23 PM
Find all posts by this user Quote this message in a reply
Giovanni Rosa Offline
Junior Member

Posts: 37
Joined: Oct 2011
Reputation: 1
Post: #9
RE: Problem with making notes
(02-13-2012 07:23 PM)Symbi0sis Wrote:  I have tried without numbers to, but it doesn't work either.

The .HPS file is in the .zip file as well, just unzip it.


////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "note_test01", "door1", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door1", false, true);
PlaySoundAtEntity("", "unlock_door", "door1", 0, false);
RemoveItem("keyname");
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

also, your .lang isn't supposed to be in your maps folder. Put it where your custom_story_settings file is at. Do you even have a key? You didn't mention the key name in any of the scripts??

Join our blog!
(This post was last modified: 02-13-2012 07:37 PM by Giovanni Rosa.)
02-13-2012 07:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Symbi0sis Offline
Junior Member

Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #10
RE: Problem with making notes
No... You wrote that about the key, but thank you! When i moved the .lang file it worked!
02-13-2012 07:53 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)