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
Won't Appear In Custom Stories List?
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#1
Won't Appear In Custom Stories List?

My custom story won't appear in the list.

<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.

////////////////////////////
// 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
<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.

:Work In Progress:
Insanity
(This post was last modified: 07-16-2011, 04:41 PM by JoeBradleyUK.)
07-16-2011, 12:31 PM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Won't Appear In Custom Stories 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
Find
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#3
RE: Won't Appear In Custom Stories List?

(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

:Work In Progress:
Insanity
07-16-2011, 12:41 PM
Find
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#4
RE: Won't Appear In Custom Stories List?

Here you go!
<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

Insanity. Static.
07-16-2011, 01:36 PM
Find
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#5
RE: Won't Appear In Custom Stories List?

(07-16-2011, 01:36 PM)Juby Wrote: Here you go!
<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.


:Work In Progress:
Insanity
07-16-2011, 03:42 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#6
RE: Won't Appear In Custom Stories List?

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.

07-16-2011, 03:59 PM
Find
JoeBradleyUK Offline
Member

Posts: 115
Threads: 20
Joined: Jul 2011
Reputation: 0
#7
RE: Won't Appear In Custom Stories List?

Thanks, that works! Big Grin

:Work In Progress:
Insanity
07-16-2011, 04:41 PM
Find
Xeronaile Offline
Junior Member

Posts: 21
Threads: 2
Joined: Jan 2012
Reputation: 0
#8
RE: Won't Appear In Custom Stories List?

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

01-10-2012, 09:17 PM
Find




Users browsing this thread: 1 Guest(s)