My game occasionally (quite often actually) crashes while running the following script:
void suitorscare(string &in asEntity)
{
SetEntityActive("suitor", true);
PlaySoundAtEntity("", "suitorclaw.snt", "suitor", 0, false);
ShowEnemyPlayerPosition("suitor");
}
Any ideas?
The fatal error thing gets to 29%, and then it says Amnesia.exe has stopped working.
EDIT: Tried replacing enemy_suitor.ent with the old one. Doesn't fix the crashing. However, this didn't occur at all before I installed this update.
EDIT 2: Ok, so after some additional debugging, the game fatally crashes whenever a suitor is on the level. It doesn't even have to be scripted.
EDIT 3: After some further testing, seems as if it's the same case for the brute as well, but NOT for the grunt!
EDIT 4: Comparing the old and new enemy_suitor.ent files. I'm guessing the problem is with the mesh?
http://oi44.tinypic.com/11gllip.jpg
EDIT 5: Ok, so tried replacing new enemy_suitor.ent with an old one, didn't work. Then I tried replacing the new mesh (enemy_suitor.msh) with the old one, didn't work. Finally, I replaced all the new animations with the old ones, and it worked again! So either it's merely the animations that cause this problem, or then all the changes as a whole.
EDIT 6: Tried old animations with new mesh and .ent. Works. Changed idle.anm to the old one, works for a split second and then crashes -> animation changes to an updated one -> fatal error, crash. Tried the same thing by replacing all new animations with the old ones except break_door, then I tricked the suitor to break a door, and the moment he approached it, game crashed.
I'm just going to conclude that all the new animations for the suitor and probably for the brute as well are broken.