![]() |
[SCRIPT] Memento won'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: [SCRIPT] Memento won't show up (/thread-18693.html) Pages:
1
2
|
Memento won't show up - elbichopt - 10-08-2012 When I walk to the area, it shows that a memento has been wrote but when I go check it it only says: "-" lol Screenshots: Spoiler below!
Spoiler below!
Spoiler below!
The codes: Lang file: Spoiler below!
.HPS file: Spoiler below!
Help? ![]() RE: Memento won't show up - 4WalledKid - 10-08-2012 Try removing capital letters on the Quest_RockPadlock_Text in the .lang file. Why? because you didn't use capital letters in the .hps! Tell me if it worked ![]() RE: Memento won't show up - Statyk - 10-08-2012 Code: <LANGUAGE> I removed the spaces in "<CATEGORY Name = "blah">". Try replacing yours with mine. Also added a quest name. RE: Memento won't show up - The chaser - 10-09-2012 It must be a .lang problem, the script adds a memento correctly. THere should be something from there that escapes from my sight. Ok: You have it wrong. Here's the structure of the script: AddQuest(string& asName, string& asNameAndTextEntry); And here is what you have: ("rockpadlock", "RockPadlock"); So, you should change it to this: void GetRockPadlockQuest(string &in asParent, string &in asChild, int alState) { AddQuest ("RockPadlock", "Journal"); } <Entry Name="Quest_RockPadlock_Text">The padlock looks rusty enough to be easily broken.</Entry> This may work. RE: Memento won't show up - Ongka - 10-09-2012 If you're starting your map in dev_mode, the .lang file won't load. You can't read notes, mementos etc.. Try to start it the classic way, via main menu. RE: Memento won't show up - Adny - 10-09-2012 One thing I feel is being overlooked is that there is no /Language at the end of the file; if that truly is the case and not just an error copy/pasting it into the page, then try this: Spoiler below!
The lang file is fine aside from that; any further error can be attributed to mismatched names in the .hps file. Hope that helped... RE: Memento won't show up - Your Computer - 10-09-2012 The only thing wrong with the LANG file is that it lacks a closing tag for LANGUAGE. As for the script, the use of AddQuest is correct. If the user was playing in developer mode, they should consider testing the story with a non-developer profile. Meh? Ninja'd twice? RE: Memento won't show up - Dutton - 10-09-2012 You should definitely use this to edit your language file with http://www.frictionalgames.com/forum/thread-12213.html It saved me constantly from spelling errors and will make your more comfortable making notes ![]() RE: Memento won't show up - elbichopt - 10-09-2012 (10-09-2012, 06:52 AM)andyrockin123 Wrote: One thing I feel is being overlooked is that there is no /Language at the end of the file; if that truly is the case and not just an error copy/pasting it into the page, then try this:That worked just perfectly! Thank you! Spoiler below!
![]() ![]() RE: Memento won't show up - Adny - 10-09-2012 (10-09-2012, 06:53 AM)Your Computer Wrote: Meh? Ninja'd twice?Did you install the latest Human Patch? ![]() |