Frictional Games Forum (read-only)
i have a question - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: i have a question (/thread-15976.html)



i have a question - mccrazy5 - 06-08-2012

i just wanted to start crating my own custom story ..

i have saw some tutorials on youtube and i made some small room.

now my question is how do i save it and run this on the game ?

when i press on file save as and i save it somewhere , i dont see the file (its invisible on the folder) i can only re open it with the level editor.

if you guys can help me it will be great thanks Smile


RE: i have a question - lllDash - 06-08-2012

It must mean that your map is not located where you think it is. It's most likely saved in another location. start your editor and open your map and then go to "file" and then "save as" and then make sure that your story is re-saved in "...\redist\custom_stories\(your custom story folder)\Maps\(name of your map).map". I know, it sounds simple but that can be the only reason why your map can not be found.


RE: i have a question - mccrazy5 - 06-09-2012

Alright when i did save in the place you told me , it worked.
but when i open the game i dont see it on my custom stories list.
my stuff looks like this:
i made a folder called "dezaster" inside it i made "custom_story_settings.cfg" and maps folder and music and sounds.
inside the maps folder i saved the map.
into sounds and music i dont have anything .
i was looking into other custom stories where the maps is they also had like "dezaster.map" and "dezaster.hps"...
how do i make this .hps file and thats the only reason i dont see it inside the game ?


RE: i have a question - FlawlessHappiness - 06-09-2012

The .hps file has itøs purpose when you start scripting in your levels.

You could just create a text file and rename the last .txt (Or whatever you made it) into .hps

So make a text file called dezaster.txt and rename the .txt to .hps

Inside that put

void OnStart()
{

}

void OnEnter()
{

}

void OnLeave
{

}

Those are the main lines in a script file, but you should read up on that, if you haven't done that already


RE: i have a question - MaZiCUT - 06-09-2012

1) Create a custom story folder, custom_stories/yourstoryname


2) Make sure that in yourstoryname folder there is "custom_story_settings.cfg"
Optional) extra_english.lang


3) When you open "custom_story_settings.cfg" it should look like this:




Name = "yourstoryname"
Author = "yourname"
ImgFile = "optional.jpg"

MapsFolder = "maps"
StartMap = "yourmapname"
StartPos = "PlayerStartArea_1"
/>

4) In the level editor go to Areas and choose playerstart, put it where you want the player to spawn.


5) After that go to back to step 3 and rename your things correctly, the ImgFile is optional and is not needed.

If this works, reputation makes me happy Cool


RE: i have a question - mccrazy5 - 06-09-2012

thanks guys it works now on game , but what is the extra_english.lang
and what i have to do with it


RE: i have a question - Putkimato - 06-09-2012

There you put
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY>
</CATEGORY>
</LANGUAGE>

This is where you make all the notes and stuff.. Etc.

<LANGUAGE>
<RESOURCES>

if you need more help, just reply to this Smile
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is best description ever!</Entry>


</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_key1">Key to Awesomeness</Entry>
<Entry Name="ItemDesc_key1">This key is Awesome!.</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_note1_Name">Note</Entry>
<Entry Name="Note_note1_Text">I woke up at darkness. Why am i here?!?!?</Entry>

</CATEGORY>

</LANGUAGE>


RE: i have a question - mccrazy5 - 06-09-2012

(06-09-2012, 02:56 PM)Putkimato Wrote: There you put
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY>
</CATEGORY>
</LANGUAGE>

This is where you make all the notes and stuff.. Etc.

<LANGUAGE>
<RESOURCES>

if you need more help, just reply to this Smile
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is best description ever!</Entry>


</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_key1">Key to Awesomeness</Entry>
<Entry Name="ItemDesc_key1">This key is Awesome!.</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_note1_Name">Note</Entry>
<Entry Name="Note_note1_Text">I woke up at darkness. Why am i here?!?!?</Entry>

</CATEGORY>

</LANGUAGE>

ty it helped me to understand thanks alot Smile

(06-09-2012, 02:56 PM)Putkimato Wrote: There you put
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY>
</CATEGORY>
</LANGUAGE>

This is where you make all the notes and stuff.. Etc.

<LANGUAGE>
<RESOURCES>

if you need more help, just reply to this Smile
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is best description ever!</Entry>


</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_key1">Key to Awesomeness</Entry>
<Entry Name="ItemDesc_key1">This key is Awesome!.</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_note1_Name">Note</Entry>
<Entry Name="Note_note1_Text">I woke up at darkness. Why am i here?!?!?</Entry>

</CATEGORY>

</LANGUAGE>

ty it helped me to understand thanks alot Smile