Editor loading paths - 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: Editor loading paths (/thread-24745.html) |
Editor loading paths - RaideX - 03-02-2014 I know this has probably been asked quite a lot and this is probably just due to my fussiness but i'd like to let the amnesia editors (i.e. the leveleditor) load from custom directories as i'm currently working on a total conversion and i'd like to keep my custom meshes and entities in the sub folder of this conversion instead of moving them to the static_objects folder in the main directory. Is there anyway to bypass that behavior of the leveleditor? If so i'd be glad to receive answers. -RaideX RE: Editor loading paths - PutraenusAlivius - 03-02-2014 Put the directory of the custom directories into the main Resources.cfg. RE: Editor loading paths - RaideX - 03-02-2014 (03-02-2014, 03:23 PM)JustAnotherPlayer Wrote: Put the directory of the custom directories into the main Resources.cfg. I've already done that ofcourse. Let me just try to higher the priority by putting it to the top of the list. EDIT: Nope, that did not fix it. RE: Editor loading paths - MsHannerBananer - 03-02-2014 Well, I know it's not that great of a fix, and may not be exactly what you want, but you can make a custom folder in said static_object and entities folders inside the Amnesia directory (As an example, it would look something like this-> Amnesia: The Dark Descent/entities/YOUR CUSTOM FOLDER NAME HERE). For the Full/Total Conversion I'm working on, that's the setup I have, because that's the easiest way to keep track of your custom entities and whatnot. I know it's not the greatest fix, but that's really the only way you can access your stuff in the level editor. As far as the other editors are concerned, you can simply open an entity from any directory you choose. Once you have all the entities (and static_objects, etc) you want and need in your custom folders, you just copy and paste those custom folders them to the entities folder of your TC so that the engine can find them when people download your project. I hope that makes sense, if not, I can make a video or something, haha. I actually don't think there's a solid way of 'bypassing' this kind of thing. The level editor can only look in certain directories, and I think that's something that's scripted into the program itself. Looking at the program now, there doesn't seem to be anything that would allow you to change the directories the level editor accesses, so the way I described above would be the only way really. :/ RE: Editor loading paths - ExpectedIdentifier - 03-02-2014 Open MainEditorSettings.cfg which is in your Amnesia directory. You can set the directories for static objects, entities and stuff like that there like this: StaticObjectsDir="ModFolder/static_meshes" RE: Editor loading paths - RaideX - 03-02-2014 (03-02-2014, 05:02 PM)HannahDJA Wrote: Well, I know it's not that great of a fix, and may not be exactly what you want, but you can make a custom folder in said static_object and entities folders inside the Amnesia directory (As an example, it would look something like this-> Amnesia: The Dark Descent/entities/YOUR CUSTOM FOLDER NAME HERE). yep. that was the workaround that I've been using. I guess there really is no other way. Though there is a config file named MainEditorSettings.cfg in the main directory, it doesn't seem to do anything as it resets itself after opening a editor. Thanks for the clarification though. RE: Editor loading paths - ExpectedIdentifier - 03-02-2014 (03-02-2014, 05:17 PM)RaideX Wrote:(03-02-2014, 05:02 PM)HannahDJA Wrote: Well, I know it's not that great of a fix, and may not be exactly what you want, but you can make a custom folder in said static_object and entities folders inside the Amnesia directory (As an example, it would look something like this-> Amnesia: The Dark Descent/entities/YOUR CUSTOM FOLDER NAME HERE). Make sure the level editor is closed, save the changes to MainEditorSettings.cfg, then re-open the level editor. RE: Editor loading paths - RaideX - 03-02-2014 Quote:Make sure the level editor is closed, save the changes to MainEditorSettings.cfg, then re-open the level editor. The non-custom static_objects would then not load, am i right? That would cause problems too. RE: Editor loading paths - Mudbill - 03-02-2014 I'd say it's best to just keep your custom folder inside /static_objects and /entities until you export your mod. Move them to your own folders and the game will load them fine if the paths are within the resources.cfg file. You'll have access to everything. Since it only requires moving the files once I don't think it's tedious or annoying. |