ERROR MESSAGE! custom story fix? pls 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: ERROR MESSAGE! custom story fix? pls help (/thread-24178.html) |
ERROR MESSAGE! custom story fix? pls help - Radical Batz - 12-21-2013 Whenever I load my custom story, it keeps getting this error message saying "FATAL ERROR: Could not load script file 'custom_stories/ThereMustBeaWayOut/maps/ch01/ThereMustBeaWayOut.hps'! main (8,10): ERR : Expected '(' and first the description of my custom story appeared but then after it did not!!!!!!!! /////////////////////////////////////////////////////////////// //so this is my hps file, is there something wrong I did?/// //////////////////////////////////////////////////////////////// void PickupKey(string &in asEntity, string &in asItem) { AddQuest("quest1", "TestQuest"); AddUseItemCallback("", "Bedroom Key", "bedroomdoor","Use Bedroom Key", true); } void Use Bedroom Key(string &in asItem, string &in asEntity) { SetMessage("message", "message1", 3); } RE: ERROR MESSAGE! custom story fix? pls help - 7heDubz - 12-21-2013 Okay! I'm big on learning for yourself so, The error they give a point. A Y and an X value. The 8 is the Y meaning that on the 8th line of code (down from the top) there is an error. Look on that line for your error. Then, the X value, 10. 10 Character over your error lies. Best of luck! RE: ERROR MESSAGE! custom story fix? pls help - Romulator - 12-22-2013 (12-21-2013, 10:13 PM)WIWWM Wrote: Okay! I'm big on learning for yourself so, The error they give a point. A Y and an X value. The 8 is the Y meaning that on the 8th line of code (down from the top) there is an error. Look on that line for your error. Then, the X value, 10. 10 Character over your error lies. Actually, I do not think this will help here. Regardless, heed this advice. It will help you with errors later on, and if the co-ordinates are not where the error is located, it is somewhere after. If you still cannot find it, unspoiler here Spoiler below!
As for the description of your story, could you please post your extra_english.lang file below? One error in that causes everything to error, hence the message above in UseBedroomKey won't work either. |