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
Problem with making notes
Symbi0sis Offline
Junior Member

Posts: 5
Threads: 2
Joined: Feb 2012
Reputation: 0
#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
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Problem with making notes

Show us your lang file please.

02-13-2012, 04:00 PM
Find
Symbi0sis Offline
Junior Member

Posts: 5
Threads: 2
Joined: Feb 2012
Reputation: 0
#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
onv Offline
Member

Posts: 51
Threads: 12
Joined: Feb 2012
Reputation: 2
#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
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#5
RE: Problem with making notes

What note are you using.

02-13-2012, 05:16 PM
Find
Symbi0sis Offline
Junior Member

Posts: 5
Threads: 2
Joined: Feb 2012
Reputation: 0
#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
Giovanni Rosa Offline
Junior Member

Posts: 37
Threads: 5
Joined: Oct 2011
Reputation: 1
#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
Website Find
Symbi0sis Offline
Junior Member

Posts: 5
Threads: 2
Joined: Feb 2012
Reputation: 0
#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
Giovanni Rosa Offline
Junior Member

Posts: 37
Threads: 5
Joined: Oct 2011
Reputation: 1
#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
Website Find
Symbi0sis Offline
Junior Member

Posts: 5
Threads: 2
Joined: Feb 2012
Reputation: 0
#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




Users browsing this thread: 2 Guest(s)