Frictional Games Forum (read-only)
Custom story wont show D: - 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: Custom story wont show D: (/thread-18861.html)



Custom story wont show D: - MrDosht - 10-20-2012

I just made a (very simple) custom story as a sort of practice. I have all the files in one folder with the .map file and the .hps file in a folder in that folder called: maps. I tried to add a key to the scripting but the custom story no longer appeared in the amnesia custom stories list on the main menu. I deleted all the key scripting from my .hps file and it still wont work D: I have absolutely no idea what has happened but i know that it would sometimes appear on the list before I added the key, but it would also sometimes not appear. I know pretty much nothing about scripting and had just followed a few youtube tutorials on how to put in a key. please help! Sad

Oh and here's my .hps file with the key:


////////////////////////////
// Run when entering map
void OnStart()
{
AddUseItemCallback("", "BedroomKey_1", "BedroomDoor_1", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor (string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("BedroomDoor_1", false, true);
PlaySoundAtEntity("", "Unlock_door", "BedroomDoor_1", 0, false);
RemoveItem("BedroomKey_1");
}
////////////////////////////
// Run when leaving map
void OnLeave()
{

}


RE: Custom story wont show D: - Kreekakon - 10-20-2012

Try switching "Users" in Amnesia. I found that that sometimes works for fixing custom stories not appearing.


RE: Custom story wont show D: - FlawlessHappiness - 10-20-2012

The scripts file has nothing to do with it.

Show us your custom_story_settings.cfg

And make sure that name ^ is exactly correct!


RE: Custom story wont show D: - MrDosht - 10-20-2012

(10-20-2012, 01:52 PM)beecake Wrote: The scripts file has nothing to do with it.

Show us your custom_story_settings.cfg

And make sure that name ^ is exactly correct!
Here is the file, and yep i have checked the name and everything seems to be fine there. :S The custom story popped in and out of the list as \i have been able to go on it a few times. :S


<Main
ImgFile = "story.png"
Name = "Tutorial"
Author = "MrDosht"

MapsFolder = "maps/"
StartMap = "Tutorial.map"
StartPos = "PlayerStartArea_1"
/>


RE: Custom story wont show D: - FlawlessHappiness - 10-20-2012

Did you mess with the startarea in the editor?


RE: Custom story wont show D: - MrDosht - 10-20-2012

Oh it's ok! I tried switching profiles and it worked! Thanks you greatly Big Grin