Frictional Games Forum (read-only)
FATAL ERROR: Could not load script file. - 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: Could not load script file. (/thread-8891.html)



FATAL ERROR: Could not load script file. - arbator177 - 06-30-2011

Okay, so I've just started really getting into custom map making...I have just started my first map finishing about 3 rooms...but I wanted to make sure it would run properly before I actually continued on with my work. I get this error as something is wrong with my .hps file. all I have in it is:

Void Onstart()
{
}


And I do believe that's all I need to do for it to work. Right? But I keep getting this error...Any ideas?


RE: FATAL ERROR: Could not load script file. - plutomaniac - 06-30-2011

thread moved


RE: FATAL ERROR: Could not load script file. - Kyle - 06-30-2011

void should be lowercase and Start should be capitalized like this:

void OnStart()
{
}


RE: FATAL ERROR: Could not load script file. - arbator177 - 07-07-2011

I have done that which got past the first error but got another one.

It's the EXCEPTION_ACCESS_VIOLATION error...and I had that before due to not updated video cards but this is different. Anything I need to post to help give more information?