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
Custom Story Help (FIXED!)
Alexander Offline
Junior Member

Posts: 22
Threads: 2
Joined: Sep 2010
Reputation: 0
#14
RE: Custom Story Help

(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
(This post was last modified: 09-19-2010, 09:20 AM by Alexander.)
09-19-2010, 09:19 AM
Find


Messages In This Thread
Custom Story Help (FIXED!) - by Soon - 09-18-2010, 05:17 PM
RE: Custom Story Help - by Armored Cow - 09-18-2010, 05:23 PM
RE: Custom Story Help - by Soon - 09-18-2010, 05:28 PM
RE: Custom Story Help - by Luis - 09-18-2010, 05:41 PM
RE: Custom Story Help - by Soon - 09-18-2010, 05:52 PM
RE: Custom Story Help - by Luis - 09-18-2010, 06:51 PM
RE: Custom Story Help - by Soon - 09-18-2010, 06:51 PM
RE: Custom Story Help - by Alexander - 09-18-2010, 08:42 PM
RE: Custom Story Help - by Alexander - 09-19-2010, 01:15 AM
RE: Custom Story Help - by Soon - 09-19-2010, 07:36 AM
RE: Custom Story Help - by MulleDK19 - 09-19-2010, 05:12 PM
RE: Custom Story Help - by Alexander - 09-19-2010, 09:11 PM
RE: Custom Story Help - by MulleDK19 - 09-19-2010, 10:34 PM
RE: Custom Story Help - by Alexander - 09-19-2010, 11:34 PM
RE: Custom Story Help - by gosseyn - 09-19-2010, 07:55 AM
RE: Custom Story Help - by Soon - 09-19-2010, 07:59 AM
RE: Custom Story Help - by Alexander - 09-19-2010, 09:19 AM
RE: Custom Story Help (FIXED!) - by Luis - 09-19-2010, 09:03 AM
RE: Custom Story Help (FIXED!) - by Soon - 09-19-2010, 04:40 PM



Users browsing this thread: 3 Guest(s)