05-15-2012, 02:25 PM
Yet again this question
My custom story won't show up in the menu...
I've already finished my first story, which works perfectly, and decided to make a new one. Now it won't appear.
Yes i have searched, but didn't find anything.
(Copied from my finished story)
custom_story_settings.hps:
<Main
Name = "Suddenly"
Author = "Beecake"
MapsFolder = "maps/"
StartMap = "Alchemy_cellar.map"
StartPos = "PlayerStartArea_1"
/>
extra_english.lang:
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
TEST
</Entry>
</CATEGORY>
!-- NOTES -->
<CATEGORY Name="Journal">
!-- QUESTS -->
</CATEGORY>
!-- LEVELDOOR TEXT -->
<CATEGORY Name="Levels">
</CATEGORY>
<CATEGORY Name="Inventory">
<!-- KEYS -->
<!-- ITEMS -->
</CATEGORY>
<!-- MESSAGES -->
<CATEGORY Name="Messages">
<Entry Name="Locked">The door is locked</Entry>
<Entry Name="WeakLocked">The door is locked, but the lock is weak</Entry>
<Entry Name="BlockLocked">The door is blocked</Entry>
</CATEGORY>
<!-- DEATHHINTS -->
<CATEGORY Name="DeathHints">
</CATEGORY>
<!-- CREDITS -->
<CATEGORY Name="Ending">
<Entry Name="Credits">
</Entry>
</CATEGORY>
</LANGUAGE>
Alchemy_cellar.hps
void OnStart()
{
wakeUp();
}
void wakeUp () {
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
}
void beginStory(string &in asTimer){
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33); // Change all settings to defaults
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);
}
void OnEnter()
{
}
void OnLeave()
{
}
This file is placed in my /maps folder with my .map file
My map is called Alchemy_cellar
The PlayerStartArea_1 is newly placed, and have had no changes.
My custom story won't show up in the menu...
I've already finished my first story, which works perfectly, and decided to make a new one. Now it won't appear.
Yes i have searched, but didn't find anything.
(Copied from my finished story)
custom_story_settings.hps:
Spoiler below!
<Main
Name = "Suddenly"
Author = "Beecake"
MapsFolder = "maps/"
StartMap = "Alchemy_cellar.map"
StartPos = "PlayerStartArea_1"
/>
extra_english.lang:
Spoiler below!
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
TEST
</Entry>
</CATEGORY>
!-- NOTES -->
<CATEGORY Name="Journal">
!-- QUESTS -->
</CATEGORY>
!-- LEVELDOOR TEXT -->
<CATEGORY Name="Levels">
</CATEGORY>
<CATEGORY Name="Inventory">
<!-- KEYS -->
<!-- ITEMS -->
</CATEGORY>
<!-- MESSAGES -->
<CATEGORY Name="Messages">
<Entry Name="Locked">The door is locked</Entry>
<Entry Name="WeakLocked">The door is locked, but the lock is weak</Entry>
<Entry Name="BlockLocked">The door is blocked</Entry>
</CATEGORY>
<!-- DEATHHINTS -->
<CATEGORY Name="DeathHints">
</CATEGORY>
<!-- CREDITS -->
<CATEGORY Name="Ending">
<Entry Name="Credits">
</Entry>
</CATEGORY>
</LANGUAGE>
Spoiler below!
void OnStart()
{
wakeUp();
}
void wakeUp () {
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
}
void beginStory(string &in asTimer){
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33); // Change all settings to defaults
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);
}
void OnEnter()
{
}
void OnLeave()
{
}
This file is placed in my /maps folder with my .map file
My map is called Alchemy_cellar
The PlayerStartArea_1 is newly placed, and have had no changes.