Frictional Games Forum (read-only)
Won't Appear In Custom Stories List? - 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: Won't Appear In Custom Stories List? (/thread-9173.html)



Won't Appear In Custom Stories List? - JoeBradleyUK - 07-16-2011

My custom story won't appear in the list.

Code:
<LANGUAGE>
<RESOURCES>
</RESOURCES>
    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">You wake up delirious as a British Biologist apprentice and in the fortress of Munkholmen, there seems to be trouble about.</Entry>
    </CATEGORY>
    <CATEGORY Name="Journal">
        <Entry Name="Diary_ndiaryone_Name1">Note To Self</Entry>
        <Entry Name="Diary_ndiaryone_Text1">[voice
        Diary_CH01L01_NDiary01.ogg][br] Hello Nathaniel, [br][br]At the moment you're most likely reading this full of sweat and fear.[br]You cannot remember what you are doing here, which is probably for the best, as it will only make you stronger. [br]At the moment, all you ever need to know is that you have to get out of here, anyway you can. [br]Also, there is a plague broken out in the castle, and you are the last known survivor, but there may be more. [br]One Last last thing, there are these...things. These monsterous creatures of the dark, lurking in the shadows. [br] [br] Your former self, [br] [br]Nathaniel. </Entry>
        <Entry Name="Diary_NDiaryTwo_Name">Nathaniel's Diary - Preparation</Entry>
        <Entry Name="Diary_NDiaryTwo_Text">18th August 1845, [br] [br] Today, I set off towards the vast plains of South America, but not for a holiday, it is merely an educational business trip as a biologist. [br]My Professor, Dr Alistar Higgins, has told me to observe the perculiar Amazon Spider Monkey and jot down my inquisitive findings in this battered journal he provided. [br]Dr. Higgins is a fine gentleman with many theories and puzzling equations about biology and impossible geometry.</Entry>
    </CATEGORY>
    <CATEGORY Name="Inventory">
        <Entry Name="ItemDesc_WeatheredKey">Weathered Key</Entry>
        <Entry Name="ItemName_WeatheredKey">A Key rusted from damp conditions over time.</Entry>
    </CATEGORY>
    </LANGUAGE>

That's my lang file, here's my hps.

Code:
////////////////////////////
// Run when starting map
void OnStart()
{

}

void FirstDiary(string &in item, int index)
{
ReturnOpenJournal(true);
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

Here is my custom_story_settings.cfg
Code:
<Main
    ImgFile = "story.png"
    Name = "The Forlorn Biologist"
    Author = "Joe Bradley"
    
    MapsFolder = "maps/01_Storage/"
    StartMap = "Storage.map"
    StartPos = "PlayerStartArea_1"
/>

I have a diary with ndiaryone in the DiaryText in the entities tab of the diary and FirstDiary in the DiaryCallback in the entities tab of the diary.
That is the only scripting i've done, why won't it show up, where is the mistake?

Another thing, the diary narration/diary doesn't work before it didn't show up in the list.


RE: Won't Appear In Custom Stories List? - Kyle - 07-16-2011

So in your "maps" folder, there is another folder called "01_Storage", and then in that folder there is the starting map called "Storage.map"?


RE: Won't Appear In Custom Stories List? - JoeBradleyUK - 07-16-2011

(07-16-2011, 12:33 PM)Kyle Wrote: So in your "maps" folder, there is another folder called "01_Storage", and then in that folder there is the starting map called "Storage.map"?

yeah


RE: Won't Appear In Custom Stories List? - Juby - 07-16-2011

Here you go!
Code:
<Main
    ImgFile = "story.png"
    Name = "The Forlorn Biologist"
    Author = "Joe Bradley"
    
    MapsFolder = "maps/01_Storage"
    StartMap = "Storage.map"
    StartPos = "PlayerStartArea_1"
/>

There was a / at the end of 01_Storage



RE: Won't Appear In Custom Stories List? - JoeBradleyUK - 07-16-2011

(07-16-2011, 01:36 PM)Juby Wrote: Here you go!
Code:
<Main
    ImgFile = "story.png"
    Name = "The Forlorn Biologist"
    Author = "Joe Bradley"
    
    MapsFolder = "maps/01_Storage"
    StartMap = "Storage.map"
    StartPos = "PlayerStartArea_1"
/>

There was a / at the end of 01_Storage

That doesn't change anything.




RE: Won't Appear In Custom Stories List? - palistov - 07-16-2011

If it isn't a problem with your custom story's config and setup stuff, then it's some sort of bug. It happens to me; for some reason, the first custom story on my list will not appear. To counter this, re-launch the game or start a new game. Once the new game starts, exit out then check again.


RE: Won't Appear In Custom Stories List? - JoeBradleyUK - 07-16-2011

Thanks, that works! Big Grin


RE: Won't Appear In Custom Stories List? - Xeronaile - 01-10-2012

I've done all of this, yet it still will not show up!