Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - 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: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! (/thread-19868.html) Pages:
1
2
|
Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - Statyk - 01-09-2013 I made this thread to help diminish the amount of reptitive/common questions that pop up here in the Development Support section of the forum. Hopefully if you're having a problem, this will clear it up for you without you having to make a thread. If nothing here helps, feel free to create a thread for it, do not respond in here with questions regarding your error! Common Scripting Errors
Q) I start a level and the game crashes with a report that comes up: ________________________________________________ FATAL ERROR: Could not load script file '.....map.hps'! main (#, #): ERR : Expected/Unexpected "____" A) Spoiler below!
~ ~ ~
Q) I start a level and the game crashes with a report that comes up: FATAL ERROR: Could not load script file '.....map.hps'! main (#, #): ERR : '_________' is not declared! A) Spoiler below!
~ ~ ~
Q) The game doesn't crash, but the script doesn't work! Nothing happens! A) Spoiler below!
~ ~ ~
Common .lang File Errors
IMPORTANT: First off, note that if there is a problem in the .lang file, Amnesia WILL NOT give an error report. If there is an error, anything involving the .lang will not show in game. For example, if you create an entry for, say, a SetMessage, and you created it incorrectly, the custom story description, the credits, notes, diaries, etc will not show in-game. KEEP THIS IN MIND!________________________________________________ Q) I added a few entries and now nothing shows anywhere! A) Spoiler below!
~ ~ ~
Q) I pressed Enter/Return Key in my lang file to break lines, but it doesn't break in-game! It just stays one whole line! A) Spoiler below!
~ ~ ~
Q) I added a voice for my paper, but it won't play when I pick it up/the paper doesn't even open immediately! A) Spoiler below!
~ ~ ~
Common Level Problems
________________________________________________ Q) I added new assets in the Level Editor, but they don't show up in-game! / Primitives don't show! A) Spoiler below!
~ ~ ~
Q) I added a new model that showed up when I imported to ModelEditor and picked a material, but it is invisible in the Level Editor! A) Spoiler below!
~ ~ ~
Q) I saved a map and opened it again and got a message that said: WARNING: Found some errors while loading file. Check log for details. File index out of bounds! A) Spoiler below!
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
This is all I have off the top of my head for now! If anyone has more to contribute or something I need to fix, please respond here and I'll get to it as soon as I can. Hopefully this helped! RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - NaxEla - 01-09-2013 Very nice Statyk! Hopefully this will help lots of people without them needing to make a thread. RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - FlawlessHappiness - 01-09-2013 Awesome You might want to add the VirtualStore path for windows users when finding the map.cache or make a new question. Q: I cannot find my .map file. Where is it? A: It may be in the VirtualStore, if you are using Windows RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - The chaser - 01-10-2013 Damn it Statyk, I was making practically the same thread, you thief! Y u do dis :'( RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - Statyk - 01-10-2013 Thanks guys. And BeeKayk, I would, but I'm not 100% sure what it does or how it works, so I don't want to go off telling people the wrong thing. If someone would like to clarify it for me, I'd be more than happy to add it. RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - FlawlessHappiness - 01-10-2013 I know Your Computer can ^_^ RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - The chaser - 01-10-2013 A very common error is that when people modifies the level or script, the level remains it's previous state. For this we remove the map_cache Quote:Map caches are cancers of modding. RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - Your Computer - 01-10-2013 (01-10-2013, 05:50 PM)Statyk Wrote: Thanks guys. And BeeKayk, I would, but I'm not 100% sure what it does or how it works, so I don't want to go off telling people the wrong thing. If someone would like to clarify it for me, I'd be more than happy to add it. Scroll down to virtualization and file virtualization: http://msdn.microsoft.com/en-us/library/windows/desktop/bb756960.aspx (01-10-2013, 07:18 PM)The chaser Wrote:Quote:Map caches are cancers of modding. Map caches do have a practical purpose. While they should be deleted during testing, if your custom story is complete and ready for distribution, you should consider having the game generate a map cache for each map in the story so that users with slower computers can load big maps faster. RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - Trackstep14 - 01-21-2015 This covers a lot of my issues( so thanks for that , but my biggest problem is that my custom story won't even show up in the custom stories menu. I have (or at least I think) my cfg. settings file pointing to a correct map file, and a correct ma folder along with a scripting file. I dunno what's wrong. RE: Common Custom Story Errors + Fixes! -- READ HERE BEFORE POSTING!! - TheButtonBreaker - 05-26-2015 I put the model in game and setup the functions to be picked up in model editor...Then when I try to pick it up it does not get picked up, the hand to pick up is there and it wont pick up...Please help!!! |