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
Script Help Broken mementos
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#1
Broken mementos

Scripting mementos are the most cancerous things in Amnesia. Pardon my french.
Please help me out!


HPL: This part works. Journal pic appears at the bottom right when walking through scriptarea!

AddEntityCollideCallback("Player", "ChildrenRoomMemento", "ChildMomento", true, 1.0);

void ChildMomento(string &in asParent, string &in asChild, int alState)
{
AddQuest("Memento1", "Quest1");
}

.LANG:

<CATEGORY Name="Journal">

//---Mementos---//
<Entry Name="Quest_Quest1_Text">Perhaps I should go the other way </Entry>
</CATEGORY>


The scripts seems correct to me, but the only thing that appears in the journal is a underscore. I used the .lang from MudBill so I thought that would do the trick, but nope
(This post was last modified: 12-10-2016, 01:25 AM by goodcap.)
12-10-2016, 01:23 AM
Find
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#2
Broken Mementos v2

Okay, so I found out nothing works. Notes, Mementos, Death Hints etc.
Can someone please upload a working English.lang file for me, please?


Thank you
12-10-2016, 02:58 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: Broken mementos

That can't be the entire contents of your lang file.

Does any other text show up? Is everything gone or just the memento?

Edit: Saw your other thread. You should just keep it in here instead, but anyway: Make sure you're using a proper code editor with your file so you don't get weird formatting. Upload your lang?

(This post was last modified: 12-10-2016, 03:03 AM by Mudbill.)
12-10-2016, 03:01 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: Broken Mementos v2

Merging your two threads because they are pretty much about the same topic.

I'd upload my English.lang, but I'm not home right now. Sorry about that! :c

Discord: Romulator#0001
[Image: 3f6f01a904.png]
12-10-2016, 05:11 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#5
RE: Broken mementos

Just in case you forgot; if you're making a cs you should be using an extra_english.lang, not an english.lang.
Now, if you change the language in-game to something other than english, (If I remember correctly) you won't see any of the entries you put in the english lang file.
If this is indeed a full conversion mod and you need a clean english.lang you can take the one from the original game (/config/lang_main/english.lang). See if that one works in your mod.

12-10-2016, 05:37 AM
Find
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#6
RE: Broken mementos

Thanks guys. Got it to work <3
12-10-2016, 06:55 AM
Find




Users browsing this thread: 1 Guest(s)