Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia crashes when loading map
Nanatsumi Offline
Member

Posts: 81
Threads: 29
Joined: Dec 2014
Reputation: 0
#1
Amnesia crashes when loading map

My FC mod crashes when i load a map, i figured out that problem with HPS, but whats wrong with it?

void OnStart()
{

PlaySoundAtEntity("", "00_00_elevatormusic.snt", "Elevator_music_looping_1", 0.5f, true);
PlaySoundAtEntity("", "elevator_loop.snt", "Elevator_looping_1", 0.5f, true);
AddTimer("", 15, "elevator_stops_scene");
AddTimer("", 13, "elevator_fadeout");
AddEntityCollideCallback("Player", "Light_1_Scene", "Lights_Begin", true, 1);

}

void light_two(string &in asTimer)
{

SetEntityActive("tesla_lamp_ball_Raleigh_1", true);
PlaySoundAtEntity("", "00_intro_machine_lamp_lit.snt", "Player", 0.0f, false);


}

void Lights_Begin(string &in asParent, string &in asChild, int alState)
{

SetEntityActive("tesla_lamp_ball_Raleigh_2", true);
AddTimer("", 4, "light_two");
PlaySoundAtEntity("", "00_intro_machine_lamp_lit.snt", "Player", 0.0f, false);
PlayMusic("01_EricOffice.ogg", false, 1.0f, 0.0f, 10, false);

}

void elevator_fadeout(string &in asTimer)
{

FadeOut(1.0f);

}

void elevator_stops_scene(string &in asTimer)
{

PlaySoundAtEntity("", "elevator_stop.snt", "Player", 0.0f, false);
FadeIn(1.0f);
TeleportPlayer("PlayerStartArea_2");

}


void OnEnter()
{

SetSanityDrainDisabled(true);

}


void OnLeave()
{

}
11-20-2015, 07:54 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Amnesia crashes when loading map

What does the crash say?

Trying is the first step to success.
11-20-2015, 11:07 PM
Find
Nanatsumi Offline
Member

Posts: 81
Threads: 29
Joined: Dec 2014
Reputation: 0
#3
RE: Amnesia crashes when loading map

(11-20-2015, 11:07 PM)FlawlessHappiness Wrote: What does the crash say?

It says that it can't load a map, and something like a cubemap, path
11-21-2015, 05:28 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: Amnesia crashes when loading map

Take a screenshot of the error when it comes up.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
11-21-2015, 05:57 AM
Find
Nanatsumi Offline
Member

Posts: 81
Threads: 29
Joined: Dec 2014
Reputation: 0
#5
RE: Amnesia crashes when loading map

(11-21-2015, 05:57 AM)Romulator Wrote: Take a screenshot of the error when it comes up.


[Image: zRm75hMVoYA.jpg]
11-21-2015, 06:09 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: Amnesia crashes when loading map

If you're getting black boxes, I'm pretty sure the problem is not with your script. When does this error occur? When the map is loading? When the Full Conversion is loaded?

Discord: Romulator#0001
[Image: 3f6f01a904.png]
11-21-2015, 09:48 AM
Find
Nanatsumi Offline
Member

Posts: 81
Threads: 29
Joined: Dec 2014
Reputation: 0
#7
RE: Amnesia crashes when loading map

(11-21-2015, 09:48 AM)Romulator Wrote: If you're getting black boxes, I'm pretty sure the problem is not with your script. When does this error occur? When the map is loading? When the Full Conversion is loaded?

When map is loading
11-21-2015, 12:42 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#8
RE: Amnesia crashes when loading map

It could be your script, but it wouldn't be a syntax error. If anything, it'd be something like an infinite loop that causes the crash. Though, most likely it's something in your configs, perhaps a missing file. Check the hpl.log file.

11-21-2015, 03:05 PM
Find
Nanatsumi Offline
Member

Posts: 81
Threads: 29
Joined: Dec 2014
Reputation: 0
#9
RE: Amnesia crashes when loading map

(11-21-2015, 03:05 PM)Mudbill Wrote: It could be your script, but it wouldn't be a syntax error. If anything, it'd be something like an infinite loop that causes the crash. Though, most likely it's something in your configs, perhaps a missing file. Check the hpl.log file.
Config files are normal
Hpl log file says that it can't load map, and something like a path, cubemap
11-21-2015, 03:14 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#10
RE: Amnesia crashes when loading map

You will need to be more specific.

Please copy exactly what the log file says, or simply attach the log file.

Trying is the first step to success.
11-21-2015, 03:40 PM
Find




Users browsing this thread: 1 Guest(s)