Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom story wont show D:
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#1
Custom story wont show D:

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()
{

}

"Computers follow your orders not your intentions"- Anon
10-20-2012, 01:27 PM
Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#2
RE: Custom story wont show D:

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

[Image: Tv0YgQb.gif]
Image by BandyGrass
10-20-2012, 01:34 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Custom story wont show D:

The scripts file has nothing to do with it.

Show us your custom_story_settings.cfg

And make sure that name ^ is exactly correct!

Trying is the first step to success.
(This post was last modified: 10-20-2012, 01:53 PM by FlawlessHappiness.)
10-20-2012, 01:52 PM
Find
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#4
RE: Custom story wont show D:

(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"
/>

"Computers follow your orders not your intentions"- Anon
10-20-2012, 03:29 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Custom story wont show D:

Did you mess with the startarea in the editor?

Trying is the first step to success.
10-20-2012, 03:58 PM
Find
MrDosht Offline
Junior Member

Posts: 43
Threads: 8
Joined: Oct 2012
Reputation: 0
#6
RE: Custom story wont show D:

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

"Computers follow your orders not your intentions"- Anon
10-20-2012, 04:09 PM
Find




Users browsing this thread: 1 Guest(s)