Frictional Games Forum (read-only)

Full Version: How to?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi, ive created a map,and it saves it self in /redist folder but, how do i play it?
ive tried to put it in custom stories, but diden´t work. Please have i missed something or how do i play the map i created?

EDIT: Ive tried: http://hpl2.frictionalgames.com/amnesia:custom_story
but still diden´t got it to work.

sorry for my english, im swedish ^^
Hehe, I think Frictional Games are also Swedish so you may be able to talk Swedish with them. (I'm Swedish as well.)
StartPos = "PlayerStartArea_1"

and create this aria in your map
(09-15-2010, 12:41 PM)darkdamp Wrote: [ -> ]Hi, ive created a map,and it saves it self in /redist folder but, how do i play it?
ive tried to put it in custom stories, but diden´t work. Please have i missed something or how do i play the map i created?

EDIT: Ive tried: http://hpl2.frictionalgames.com/amnesia:custom_story
but still diden´t got it to work.

What does "didn't work" really mean? Didn't work as in it showed in the custom story list but didn't start when trying? Or as in not showing up at all?

(09-15-2010, 03:34 PM)Hofmannism Wrote: [ -> ]Hehe, I think Frictional Games are also Swedish so you may be able to talk Swedish with them. (I'm Swedish as well.)

Well not everyone at Frictional Games is Swedish Wink
(09-15-2010, 04:59 PM)Luis Wrote: [ -> ]
(09-15-2010, 03:34 PM)Hofmannism Wrote: [ -> ]Hehe, I think Frictional Games are also Swedish so you may be able to talk Swedish with them. (I'm Swedish as well.)

Well not everyone at Frictional Games is Swedish Wink

Tu tienes sangre española Wink XD
Эх, жаль Русских нет Big Grin Big Grin
Hello,

I have the same problem as darkdamp.

I created a map with a StartPlayer area, then created a subfolder in custom_stories folder with my map and the custom_story_settings.cfg.

But my map doesn't appear in the list after launching game.

Thank you for your help!
(09-15-2010, 09:22 PM)sacroid Wrote: [ -> ]Tu tienes sangre española Wink XD
Es posible Tongue Stick to english anyway, most people here are not supposed to understand spanish Smile


Boulipoulpe: could you post the game log after opening the custom story list?
Also, if you can post the contents of the custom_story_settings.cfg file and the folder structure you have in there it would help a lot.
I can't post images so here is a description of my folder structure:

Folder "custom stories" of the game contains just one subfolder that I named "test". In that "test" subfolder I have put test.map and custom_story_settings.cfg. That's all.

Here is what I put in the custom_story_settings file :

Quote:<Main
Name="test"
Author="bouli"
ImgFile=""

StartMap="test.map"
StartPos=""

/>

I also tried to put the name of my StartArea at StartPos line but it doesn't work either.

About the game log I don't know what is it, I only found a hpl.log file, is that it ?

Please notice that I have very few knowledge about game scripting and modding, that's why I may ask for very simple things. Sorry for that.

Thank you Smile
If I'm not confused you need to add a script file named same as you map but ending with .hps.

test.map and then make a text file called test.hps and in the text file add:

Code:
////////////////////////////
// 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()
{

}

I've updated the main page of the wiki to be a bit more clear on this.
Pages: 1 2 3