Frictional Games Forum (read-only)
I need help with loading custom files into level editor. - 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 need help with loading custom files into level editor. (/thread-22263.html)



I need help with loading custom files into level editor. - GoreGrinder99 - 07-28-2013

I have this problem where I can't get the level editor to save the files I have placed into my map. When I place an entity for example, I change the object to the desired object in my custom entities folder for my conversion and it loads properly but when I close the editor and re-open it the object is gone and I get an error.

How do I keep custom objects in my level editor for my maps without them vanishing?

I may not be clear enough above so I'll explain a little better. In my conversion folder I have an entities folder with entities I'd like to use for my conversion. When I open the editor and look for the entities they cannot be found and the only way I can use them is to change the entity file at the bottom of the general tab of the object. After selecting the desired entity I want to be used in my conversion from my entities folder from my conversion, I can save it and load the map and it works but as soon as I reload the editor the item cannot be found.

So how do I make the editor keep the entity or even better, how do I make the editor look for the files in my conversion folder instead of the original redist folder?

I'm mostly wanting to do this so I can use the flashlight and batteries for my light sources and change the torches/candles to lamps and other light fixtures and make the tinderboxes lightbulbs.


RE: I need help with loading custom files into level editor. - Artyom - 07-28-2013

Well you can always place the custom models in the entities/static_entities and make some sort of list or something so you remember which ones to be moved later on. This is only a temporary solution to let you continue mapping.


RE: I need help with loading custom files into level editor. - Your Computer - 07-28-2013

Understand step 8: http://wiki.frictionalgames.com/hpl2/amnesia/devenvguide


RE: I need help with loading custom files into level editor. - GoreGrinder99 - 07-28-2013

(07-28-2013, 07:34 PM)Zandrojakov Wrote: Well you can always place the custom models in the entities/static_entities and make some sort of list or something so you remember which ones to be moved later on. This is only a temporary solution to let you continue mapping.

Even then the items still wont be loaded after restarting the editor. How do all the other full conversions do it? I have looked at their resources and folders and other files but are the same as the ones I have as far as I can tell. How do they load their entities and other files but I cannot without them being removed after restarting the editor?

(07-28-2013, 07:58 PM)Your Computer Wrote: Understand step 8: http://wiki.frictionalgames.com/hpl2/amnesia/devenvguide

Still, index out of bounds error. I even did the same in my conversion folders resources.

*FIXED*