![]() |
Game freezes - 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: Game freezes (/thread-17613.html) |
Game freezes - Lizard - 08-09-2012 Hi guys I've added a few things to my .hps and .lang file and suddenly my game starts freezing when i enter the map Things i added to my .hps file void OnStart() { AddUseItemCallback("", "ChestKey", "block_box_1", "UsedKeyOnChest", true); } void UsedKeyOnChest(string &in asItem, string &in asEntity) { SetEntityActive("block_box_1", false); PlaySoundAtEntity("", "unlock_door", "treasure_chest_1", 0, false); RemoveItem("ChestKey"); } Things i've added to my .lang file Last Words I overheard two guards talking about, that i knew to much.[br]I now fear for my life, so before they get me, i writing down, what it might be that i knew to much about, in another note, that is hidding in the chest right over there Secret Information To get out of this dungeon, you most enter the guards office, which contains a lever puzzle to unlock the door to the castle cellar[br][br]To enter the guards office, you'll need a sledge and then knock downa weak wall, in the prinson cell right beside the office PS. i've already checked for cached files RE: Game freezes - Your Computer - 08-09-2012 Does removing that script fix anything? I doubt something like that can freeze the game. RE: Game freezes - Lizard - 08-09-2012 (08-09-2012, 04:42 PM)Your Computer Wrote: Does removing that script fix anything? I doubt something like that can freeze the game.I've tryed to remove the script, it's still freezing, can it be something that i added in the editor? RE: Game freezes - Adny - 08-09-2012 Try removing the rag doll corpse, it's one of the buggiest entities I've seen. RE: Game freezes - Lizard - 08-09-2012 (08-09-2012, 06:53 PM)andyrockin123 Wrote: Try removing the rag doll corpse, it's one of the buggiest entities I've seen.Did not work ![]() |