Custom story ending error - 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: Custom story ending error (/thread-8834.html) |
Custom story ending error - TheDavenia - 06-27-2011 Hey guys, I added this To my map's .hps i added this: } void RollCredits(string &in asParent, string &in asChild, int alState) { StartCredits("Camo & Krooked - All Fall Down (ft. Shaz Sparks) (Club Mix).mp3", true, "Ending", "MainCredits", 0); } And to my custom story's .lang: <CATEGORY Name="Ending"> <Entry Name="MainCredits">This was a demo of The Mansion of Brennenburg[br]Custom story made by TheDavenia.[br]Voice actors:[br]Synatic[br]Coding help:[br]Xtron[br]KikoKuruma[br]Music:[br]Camo & Krooked - All Fall Down (ft. Shaz Sparks) (Club Mix)[br]Thanks for playing The Mansion of Brennenburg!</Entry> </CATEGORY> And it gives me this error when i start my custom story: FATAL ERROR: Could not load script file 'custom_stories/MansionofBrennenburg/maps/stairstodungeon.hps'! main (6, 62) : ERR : 'True' is not declared Please help Thanks, TheDavenia RE: Custom story ending error - xtron - 06-27-2011 "asMusic - the music to play (including .ogg)" I'm not sure but try using a .ogg music file. RE: Custom story ending error - TheDavenia - 06-27-2011 (06-27-2011, 01:27 PM)xtron Wrote: "asMusic - the music to play (including .ogg)" Nope still gives me an error RE: Custom story ending error - KikoKuruma - 06-27-2011 It says somethings not being declared, that usually means a pair of quotation marks are missing, i probably mis-typed something while i was scripting your file, if you want me to take another look at it, i can do that RE: Custom story ending error - TheDavenia - 06-27-2011 (06-27-2011, 03:08 PM)KikoKuruma Wrote: It says somethings not being declared, that usually means a pair of quotation marks are missing, i probably mis-typed something while i was scripting your file, if you want me to take another look at it, i can do that Yes please. I'll send you the link in a PM. Thanks, TheDavenia RE: Custom story ending error - TheDavenia - 06-27-2011 Got it to work allready RE: Custom story ending error - xtron - 06-28-2011 Thanks to who exactly? RE: Custom story ending error - TheDavenia - 06-28-2011 (06-28-2011, 07:53 PM)xtron Wrote: Thanks to who exactly? ? RE: Custom story ending error - xtron - 06-28-2011 nvm ;D. We can take this on Skype... |