(09-19-2010, 07:59 AM)Soon Wrote: I just don't understand why it's not working! I'm getting super frustrated with this!
Well I downloaded Jordo76's The Darkness. Installed it to see if it would show up in the "custom story" list - and it did. So I decided to edit the files and presto.
Here's my setup
custom_stories>TS -
-maps(folder)
-custom_story_settings
-extra_english
custom_stories>TS>maps-
-ch00(folder)
custom_stories>TS>maps>ch00-
-test(map)
-test(hps)
-test.map_cache
The custom_story_settings contains this
<Main
Name = "Dreamality"
Author = "Alexander"
ImgFile = "screen.png"
MapsFolder = "maps/ch00"
StartMap = "test.map"
StartPos = "PlayerStartArea_1"
/>
The english_lang contains this (from the wiki)
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Just a brief description!</Entry>
</CATEGORY>
The test(hps) contains this (I think I got this one from a post made by Jens)
////////////////////////////
// Run first time starting map
void OnStart()
{
//Add the Lantern and 10 Tinderboxes when in Debug mode, always good to have light!
if(ScriptDebugOn())
{
GiveItemFromFile("lantern", "lantern.ent");
for(int i=0;i<10;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
}
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
Hope I didn't forget anything.
Ah man... you got it working? I wasn't paying attention I suppose xD