Fatal Error - Need Help - 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: Fatal Error - Need Help (/thread-22711.html) |
Fatal Error - Need Help - Shiro - 09-04-2013 Hello guys, I recently started creating a custom story and I'm doing a 2nd map, so the first one went great and now this second one is giving me a problem. This is the problem: Quote:FATAL ERROR: Could not load script file 'custom stories/Death's Touch/maps/C:/Program Files/Steam/steammaps/common/Amnesia The Dark Descent/custom stories/Death's Touch/maps/Map02/unknown2.hps'! And this is the .hps file: Quote:void OnStart() Thanks for helping. RE: Fatal Error - Need Help - Tomato Cat - 09-04-2013 Is that the entire HPS file? RE: Fatal Error - Need Help - Shiro - 09-04-2013 (09-04-2013, 04:03 PM)Tomato Cat Wrote: Is that the entire HPS file? Yes, it's a short map that leads to another. RE: Fatal Error - Need Help - The chaser - 09-04-2013 (09-04-2013, 03:48 PM)Shiro Wrote: Hello guys, I recently started creating a custom story and I'm doing a 2nd map, so the first one went great and now this second one is giving me a problem. void OnStart() { PlaySoundAtEntity("piano", "piano.snt", "piano", 0, false); AddEntityCollideCallback("Player", "pianostop", "pianostop", true, 1); AddUseItemCallback("Level Key", "keylevel", "level", "UseKeyOnDoor", true); } void UseKeyOnDoor(string &in asItem, string &in asEntity) { SetSwingDoorLocked("level", false, true); PlaySoundAtEntity("", "unlock_door.snt", asEntity, 0, false); RemoveItem(asItem); } This should fix it. RE: Fatal Error - Need Help - Shiro - 09-04-2013 (09-04-2013, 04:14 PM)The chaser Wrote:(09-04-2013, 03:48 PM)Shiro Wrote: Hello guys, I recently started creating a custom story and I'm doing a 2nd map, so the first one went great and now this second one is giving me a problem. Thank you, I'll try it, I'll report the situation right back. EDIT: It worked, thanks! Adding rep now |