Frictional Games Forum (read-only)
Entities - 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: Entities (/thread-17998.html)



Entities - Froge - 08-28-2012

Hope this question doesn't sound too stupid.

Upon creation of an entity and putting it in the "entities" file of a custom story, how do you get the HPL editor to recognize that this entity exists so that you can put it in a level?


RE: Entities - Adny - 08-28-2012

root>entities>nameofentity; the custom story directory is pretty much useless for the level editor. It needs to be a .ent and have with it a .dae, .dds, .mat and .msh files.


RE: Entities - Froge - 08-28-2012

But once you archive up the custom story file the entity will still exist within the map?


RE: Entities - Your Computer - 08-28-2012

Why do people miss step 8? http://wiki.frictionalgames.com/hpl2/amnesia/devenvguide Sure, this may not list the entity in the entities list, but at least it won't remove them upon opening the map file.


RE: Entities - Adny - 08-28-2012

The entity has to be in the root folder>entities for it to show up in your level editor's resources (and the game itself). When you publish your mod and make the file people download, try doing something like:

name_of_mod>root> both entities + custom_story folders>contents of each*

Installation will be as simple as dragging it into the root folder and overwriting the necessary files. Piece of cake.

* = entities will have the entity, custom story will have the basic custom story information


RE: Entities - Froge - 08-28-2012

Actually, I recall a couple custom stories (not full conversion) like Abduction that just required copypasting the map into the custom story folder and the custom entities inside would still show up.


RE: Entities - Obliviator27 - 08-28-2012

If you include a folder named
entities
in your custom story folder, any custom entities located in there will show up in your map when you play it in-game. I usually make sure I have a copy in my redist entities folder as well, because I'm too lazy to edit my resources.cfg.


RE: Entities - Your Computer - 08-28-2012

In actuality, it doesn't necessarily matter where in your custom story's folder the files are located in, so long as they're in at least where your custom_story_settings.cfg file is.

For those who are "too lazy to edit the resources.cfg" file: Have you at least considered symbolic links? (Oh, the irony.)


RE: Entities - Statyk - 08-28-2012

(08-28-2012, 04:39 AM)Your Computer Wrote: In actuality, it doesn't necessarily matter where in your custom story's folder the files are located in, so long as they're in at least where your custom_story_settings.cfg file is.

For those who are "too lazy to edit the resources.cfg" file: Have you at least considered symbolic links? (Oh, the irony.)
I have actually moved from having duplicate folders to simply putting, <Directory Path="/custom_stories" AddSubDirs="true" /> and it's quite easy. After putting that in your resources.cfg, open your level in the level editor and simply find or place an entity down. Then go to the right tab and pick the Mesh: [...] and find yours in your custom story folder.

Much more organized.