Quick way to exit level? - 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: Quick way to exit level? (/thread-23922.html) |
Quick way to exit level? - Froge - 11-22-2013 So, uh... I was messing around with the Amnesia map files in the HPL Editor and, because I'm an idiot, I clicked "save changes" when I exited the prison south block map. I don't remember exactly what I did but I browsed around in the actual game and found out that my Hammer and Chipper don't work on the hole under the bed anymore. Is there a fast and easy way I can force an exit out of this level in to the next (prison north block) when I load a save file by editing the .hps? RE: Quick way to exit level? - GoreGrinder99 - 11-22-2013 (11-22-2013, 04:39 AM)Clockfrog Wrote: So, uh... void GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount); or void GiveItemFromFile(string& asName, string& asFileName); I can't recall but if it is destroyed after use, go with GiveItemFromFile, otherwise use GiveItem as it should remain in the inventory after use. RE: Quick way to exit level? - Froge - 11-22-2013 (11-22-2013, 05:10 AM)GoreGrinder99 Wrote:I have the hammer and chipper - I just can't use it on the hole to exit the level (some script related to that hole got messed up in the hpl editor).(11-22-2013, 04:39 AM)Clockfrog Wrote: So, uh... RE: Quick way to exit level? - Kreekakon - 11-22-2013 Or you could get rid of that small hole that you needed to use in the first place, and just have the big hole there. I don't know how this will work out for you there, because tinkering with anything in a level can potentially corrupt the original flow of the script causing further problems down the road. RE: Quick way to exit level? - Froge - 11-22-2013 (11-22-2013, 05:51 AM)Kreekakon Wrote: Or you could get rid of that small hole that you needed to use in the first place, and just have the big hole there.I tried it, doesn't work. I looked at the .hps for prison south block and I think the act of successfully using the hammer and chipper on the hole is necessary to even exit the level. RE: Quick way to exit level? - Kreekakon - 11-22-2013 Well in that case.... http://www.mediafire.com/download/l3brattbc22umba/ch02.rar Replace teh files. RE: Quick way to exit level? - Froge - 11-22-2013 (11-22-2013, 06:25 AM)Kreekakon Wrote: Well in that case....Much thanks and +1 |