Frictional Games Forum (read-only)
"Where do I start?" - HPL2 Learning Foundation - 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 Articles (https://www.frictionalgames.com/forum/forum-40.html)
+---- Thread: "Where do I start?" - HPL2 Learning Foundation (/thread-19019.html)

Pages: 1 2


RE: "Where do I start?" - HPL2 Learning Foundation - The chaser - 11-02-2012

I meant from the forum.
Thanks, Alex Wink


RE: "Where do I start?" - HPL2 Learning Foundation - Alex Ros - 11-16-2012

Okey. Here's another absolutely newbie question. And I presume it's kinda stupid question. If I want to store my new custom models, textures, entities, etc... at the custom_stories/my_folder how to do that?

I mean with new maps I just have to write down MapsFolder="maps/" at the custom_story_settings.cfg file and that's all. With scripts for maps it's even easier - just making .hps file near my_map.map file with the same name and engine will find it.

But what do to with custom models, textures, entities, etc? Should I write something somewhere like MapsFolder, like EntitiesFolder="bla-bla-bla"? Or what? I've searched a lot about that and I can't find out what to do. How to make engine know where my custom things are stored? As I predict the answer is SOOO simple that I just don't see as I don't see my own nose ))))))


RE: "Where do I start?" - HPL2 Learning Foundation - Statyk - 11-17-2012

As long as you have the entities in a folder in your custom story, the game will read them. Just drop the custom entities/texture/sounds/music/etc. in your custom story folder and the game will do the rest.


RE: "Where do I start?" - HPL2 Learning Foundation - Alex Ros - 11-17-2012

Wow. Just copy folders and their name structure at custom_stories folder and engine will read them? So easy O_o Shit that was surely in front of my eyes like a nose...


RE: "Where do I start?" - HPL2 Learning Foundation - Statyk - 11-17-2012

Haha, no worries, we all have our moments.


RE: "Where do I start?" - HPL2 Learning Foundation - Alex Ros - 11-17-2012

Oh well, ok, I got it with entities/texture/sounds/music/etc folders at custom_stories folder. All works just great ingame, engine do see custom textures and models, all is cool...

But how to make my new entities/texture/sounds/music/etc folders at custom_stories folder visible at Level Editor? When, for example, I'm opening entities list at LevelEditor it shows only entities, which are particularly at usual Amnesia entities folder.


RE: "Where do I start?" - HPL2 Learning Foundation - Statyk - 11-17-2012

That's pre-determined in a configuration file somewhere, but it's not necessary to change it. Follow these steps:

1) Open the root/redist resources.cfg and add the directory: <Directory Path="/custom_stories" AddSubDirs="true" />

2) Save and open the LevelEditor. Place any entity/static object (depends on what object type you will be changing this to)

3) Pick that entity/s.o., and on the right bottom, it will say "Mesh [...]" or "Entity File [...]". Pick the button and navigate to your custom story folder and pick the desired object.