Frictional Games Forum (read-only)

Full Version: Won't Appear In Custom Stories List?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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"?
(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
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
(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.

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.
Thanks, that works! Big Grin
I've done all of this, yet it still will not show up!