Frictional Games Forum (read-only)
Fatal 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: Fatal error? (/thread-8732.html)



Fatal error? - Doctorcheese - 06-21-2011

So, whenever I start my maps now after I renamed the maps script files to .hps I get this:

''FATAL ERROR: Could not load script file 'maps/ASilentScream/ManuP1/TheChamber1.hps'! main 1,2 : ERR : Expected identifier.

The files name is exactly like my map's name except the .map in the end, but the document itself doesn't have any scripts yet. Is that what might be causing the crash? And they're supposed to be .hps right?
I think my earlier scripts never worked because they were .txt files but now that I renamed them I can't even start the game with my map x.x

I have developer environment btw, just thought I'd add that in.


RE: Fatal error? - Tanshaydar - 06-21-2011

It has to have at least OnEnter, OnStart and OnExit functions.


RE: Fatal error? - Doctorcheese - 06-21-2011

(06-21-2011, 06:59 PM)Tanshaydar Wrote: It has to have at least OnEnter, OnStart and OnExit functions.

Thank you, works fine now.