(04-28-2011, 10:00 PM)Tanshaydar Wrote: Copy files from existing and working custom story and edit its files to see if it works for you.
Downloaded the Staying Alive and copied as followed:
////////////////////////////
// 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");
}
}
For the .hps one and:
<Main
Name = "TestStory"
Author = "DannieWest"
MapsFolder = "maps/"
StartMap = "TestStory.map"
StartPos = "PlayerStartArea_1"
/>
for the .cfg but no sign of the story when I launch the game =/