Frictional Games Forum (read-only)
How do I make the Level Editor prefer my FC directory? - 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: How do I make the Level Editor prefer my FC directory? (/thread-23274.html)



How do I make the Level Editor prefer my FC directory? - DamnNoHtml - 09-19-2013

Simple enough question - how do I get the Level Editor to, by default, load say, my static objects instead of the default game. The reason I ask is because I have a custom grass static object that I want to place randomly in great quantity, but I have to use the CTRL+D method because I can't actually select the grass from the list to select it and drag it everywhere.

Edit: My bad for the wrong forum, thanks mod.


RE: How do I make the Level Editor prefer my FC directory? - Your Computer - 09-19-2013

Duplicate the files into the original Amnesia directories.


RE: How do I make the Level Editor prefer my FC directory? - DamnNoHtml - 09-19-2013

(09-19-2013, 08:34 PM)Your Computer Wrote: Duplicate the files into the original Amnesia directories.

But then when referencing them from inside my full conversion mod, they are pointing the original files which I am not modifying at all. In fact, I'm following your self-contained FC tutorial since Through the Portal was a massive pain in the ass to install.


RE: How do I make the Level Editor prefer my FC directory? - Your Computer - 09-19-2013

Well, there are ways to circumvent having your development environment load the out-dated files when loading them in game (indeed, you wouldn't have to worry about this come release time, you simply need the level editor to register the file name, since you wouldn't be distributing the old files anyway). For example, the game tends to load files in the order the directories are listed in the resources.cfg file. So, by placing your directory above the Amnesia directories, the game should give higher priority to your FC files and disregard the out-dated files that you place in the original Amnesia directories.

If that doesn't work, you can always give symbolic links a shot (i.e. assuming Windows Vista or later).


RE: How do I make the Level Editor prefer my FC directory? - Daemian - 09-20-2013

About changing the editor's default folder for static objects, you gotta edit the file redist/MainEditorSettings.cfg
You'll know what to do when you see its content.
It should solve your grass placement problem.

btw, this works too if you want the machine for pigs models listed in static objets instead of ATDD.


RE: How do I make the Level Editor prefer my FC directory? - DamnNoHtml - 09-20-2013

Found that earlier by accident. Appreciate it anyway Amn!


RE: How do I make the Level Editor prefer my FC directory? - Your Computer - 09-20-2013

(09-20-2013, 09:30 AM)Amn Wrote: About changing the editor's default folder for static objects, you gotta edit the file redist/MainEditorSettings.cfg
You'll know what to do when you see its content.
It should solve your grass placement problem.

btw, this works too if you want the machine for pigs models listed in static objets instead of ATDD.

The reason why i didn't mention that is because it'll create another, worse problem in the process: you'll lose direct, menu access to the original assets.