Frictional Games Forum (read-only)
[CONFIG] Crash on Full Conversion Loadup - 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: [CONFIG] Crash on Full Conversion Loadup (/thread-21128.html)



Crash on Full Conversion Loadup - Romulator - 04-11-2013

Didn't think making a FC would be so difficult to set up o.0

I seem to have the issue of whenever my map is about to load, it fails :/ I can get to the menu and then to the loading screen but cannot go further as it crashes on startup.

I have attached my hpl.log file as it seems to be needed, the main_init.cfg file and I am certain all the files are where they should be. I've also included in the spoiler what is in the OnStart() area of the coding of my first map. Unless it has something to do with me calling the "Main" save folder located at C:/Users/<username>/Documents/Amnesia/Main - but when I changed this last, I could not save a profile :O

Note: Yes; "/myconversion/music/" and the sub dirs are in my resources in the myconversion folder. I say this because The Beginning Of The Night.ogg is located there.

Spoiler below!

void OnStart()
{
AddEntityCollideCallback("Player" , "StartArea" , "FUNCTION" , true , 1);
AddEntityCollideCallback("Player" , "ScriptArea_1" , "Lookoverthere" , true , 1);
AddEntityCollideCallback("Player" , "ScriptArea_2" , "StartWalking" , true , 1);
PlayMusic("The Beginning Of The Night.ogg", true, 1, 1, 1, true);
AddTimer("", 12.0f, "StartFade");
FadeOut(0.0f);
SetPlayerActive(false);
StartPlayerLookAt("Sky_look", 6, 6, "");
SetPlayerJumpDisabled(true);
SetPlayerCrouchDisabled(true);
}




RE: Crash on Full Conversion Loadup - PutraenusAlivius - 04-11-2013

Make sure EVERYTHING is named correctly.


RE: Crash on Full Conversion Loadup - Romulator - 04-11-2013

Problem is fixed. Was missing the materials.cfg in the myconversion folder Smile
+rep for helping though. I probably would have missed this if I didn't go through the actual thing word for word Smile