Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error message
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#14
RE: error message

A custom story has many parts to it.

First, go to your amnesia the dark descent folder, find the "custom_stories" folder inside. Then create a folder there and, in this example, name it "Practice". In that folder, create a text document. Rename it to "custom_story_settings.cfg" Make sure that it doesn't end in ".txt", but in ".cfg". Inside the document, put this in there:

<Main
    ImgFile = ""
    Name = "The End Of Time"
    Author = "Author Name"
    
    MapsFolder = "maps/"
    StartMap = "practice.map"
    StartPos = "PlayerStartArea_1"
/>

Save the document and then create another document named "extra_english.lang" and once again make sure it ends in ".lang" and not ".txt". Open it and paste this into it and keep the capitalized letters the way they are.

<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">My custom story descript!</Entry>
</CATEGORY>
</LANGUAGE>

Save the document and then make a folder named "maps". In it, create a file named "Practice.hps" and it has to end in ".hps" and not ".txt".


In the "maps" folder, this is where the script goes (Practice.hps) and where the map goes (Practice.map) which both need to have the same names.

In the "Practice.hps" file, put this in there:

void OnStart()
{

}
void OnEnter()
{
}
void OnLeave()
{
}

Then you make the map and set the rest up for playability.

05-29-2011, 01:30 AM
Find


Messages In This Thread
error message - by mr.bonent - 05-28-2011, 10:17 PM
RE: error message - by Kyle - 05-28-2011, 10:26 PM
RE: error message - by mr.bonent - 05-28-2011, 10:30 PM
RE: error message - by Kyle - 05-28-2011, 10:36 PM
RE: error message - by mr.bonent - 05-28-2011, 10:50 PM
RE: error message - by Kyle - 05-28-2011, 10:51 PM
RE: error message - by mr.bonent - 05-28-2011, 11:01 PM
RE: error message - by Kyle - 05-28-2011, 11:03 PM
RE: error message - by mr.bonent - 05-28-2011, 11:27 PM
RE: error message - by Kyle - 05-29-2011, 12:05 AM
RE: error message - by mr.bonent - 05-29-2011, 12:55 AM
RE: error message - by Kyle - 05-29-2011, 01:00 AM
RE: error message - by mr.bonent - 05-29-2011, 01:09 AM
RE: error message - by Kyle - 05-29-2011, 01:30 AM
RE: error message - by mr.bonent - 05-29-2011, 01:46 AM
RE: error message - by Kyle - 05-29-2011, 02:09 AM
RE: error message - by mr.bonent - 05-29-2011, 02:21 AM
RE: error message - by Kyle - 05-29-2011, 02:34 AM
RE: error message - by mr.bonent - 05-30-2011, 10:26 AM
RE: error message - by Kyle - 05-30-2011, 01:10 PM
RE: error message - by mr.bonent - 05-30-2011, 08:20 PM
RE: error message - by Roenlond - 05-30-2011, 08:25 PM
RE: error message - by mr.bonent - 05-30-2011, 08:33 PM
RE: error message - by Roenlond - 05-30-2011, 08:38 PM
RE: error message - by mr.bonent - 05-30-2011, 08:50 PM
RE: error message - by Roenlond - 05-30-2011, 08:53 PM
RE: error message - by mr.bonent - 05-30-2011, 08:58 PM
RE: error message - by Roenlond - 05-30-2011, 09:02 PM
RE: error message - by mr.bonent - 05-30-2011, 09:07 PM
RE: error message - by Roenlond - 05-30-2011, 09:18 PM
RE: error message - by mr.bonent - 05-30-2011, 09:37 PM
RE: error message - by mr.bonent - 05-31-2011, 05:29 PM
RE: error message - by Roenlond - 05-31-2011, 05:32 PM
RE: error message - by mr.bonent - 05-31-2011, 06:24 PM
RE: error message - by Roenlond - 06-01-2011, 02:32 PM
RE: error message - by Roenlond - 06-01-2011, 08:25 AM
RE: error message - by mr.bonent - 06-02-2011, 02:01 PM
RE: error message - by Roenlond - 06-02-2011, 03:51 PM
RE: error message - by mr.bonent - 06-02-2011, 04:02 PM
RE: error message - by Roenlond - 06-02-2011, 10:49 PM



Users browsing this thread: 1 Guest(s)