Script causing game to randomly crash (No FATAL ERROR) - 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: Script causing game to randomly crash (No FATAL ERROR) (/thread-7885.html) |
Script causing game to randomly crash (No FATAL ERROR) - RawkBandMan - 05-08-2011 When I went to go to the 2nd map of my custom, it crashed immediatly, no FATAL ERROR code or anything, but the hpl.log gave me this ERROR: Couldn't build script 'c:/program files/steam/steamapps/common/amnesia the dark descent/custom_stories/Escape Hell (DEMO)/maps/ch01/NorthCells.hps'! Here is my script Spoiler below!
RE: Where can I find water? - Greven - 05-08-2011 http://www.youtube.com/watch?v=v4WudNebX08&feature=youtube_gdata_player RE: Where can I find water? - RawkBandMan - 05-08-2011 (05-08-2011, 05:19 PM)Greven Wrote: http://www.youtube.com/watch?v=v4WudNebX08&feature=youtube_gdata_player Thank you! Now I need to make credits for my level. Any help on how? RE: Where can I find water? - Roenlond - 05-08-2011 Credits are made in the extra_english.lang file. I do not have any example here, but I will try to write from my memory. in extra_english.lang: <CATEGORY Name ="Ending"> <Entry Name ="StartCredits"> Title of Story[br] Made By:[br] blablabla[br] </Entry> </CATEGORY> and to call it, use this in your functions, preferably void OnLeave() void OnLeave() { StartCredits("musicfiletoplay", true, "Ending", "StartCredits", 0); } That should do the trick, tell me if you have any troubles RE: Where can I find water? - Simpanra - 05-08-2011 (05-08-2011, 05:19 PM)Greven Wrote: http://www.youtube.com/watch?v=v4WudNebX08&feature=youtube_gdata_player yay =D thanks for referencing my vid ^___^ RE: Where can I find water? - RawkBandMan - 05-08-2011 Thanks guys! I just have 2 more things. 1.For the credits, to I put the void OnLeave() in my mapname.hps? and 2. I tried to make a key unlock the door, and it worked. But, the name for it is not showing up. It just says "Picked Up" No name or anything, then in the inventory, there is no name of the key, or a description. heres my .hps and my extra_english.cfg extra_english.cfg Spoiler below!
.hps Spoiler below!
RE: Where can I find water? - Greven - 05-08-2011 (05-08-2011, 08:33 PM)Simpanra Wrote:(05-08-2011, 05:19 PM)Greven Wrote: http://www.youtube.com/watch?v=v4WudNebX08&feature=youtube_gdata_player np mate, your videos are great and you really help people like the one above //foodar100 :3 RE: Where can I find water? - Simpanra - 05-08-2011 (05-08-2011, 09:22 PM)Greven Wrote: np mate, your videos are great and you really help people like the one above =D thanks ^_^ P.S, what does "//foodar100" mean? =P RE: Where can I find water? - Greven - 05-08-2011 (05-08-2011, 09:28 PM)Simpanra Wrote:(05-08-2011, 09:22 PM)Greven Wrote: np mate, your videos are great and you really help people like the one above It means im the foodar100 who commented on your youtube channel Answer to the key question: You need to select your key in your level editor and go into the entity tab where you will find the CustomSubItemTypeName where you write the name of the key (from youre extraenglish.cfg file) RE: Where can I find water? - Simpanra - 05-08-2011 =D no way! hows it going man? =) Silly youtube blocking your posts cos of spam x3 |