Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Help] Envy the Dead Developemt & Scripting Questions
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#5
RE: [Help] Envy the Dead Developemt Questions/Problems

(02-15-2013, 01:20 AM)Your Computer Wrote: The level editor relies on the original resources.cfg for looking up game resources.

Yes, that's what I though. But I have added the EtD directories at resources.cfg together with the normal ones but it only shows the stock Amnesia entities etc... If however, I change the entities to EtD/entities at MainEditorSettings.cfg then only my custom ones appear in the level editor.

(02-15-2013, 01:38 AM)NaxEla Wrote: Really? When I add custom assets to a map (in a full conversion), they disappear when I close the level editor, then open the map again. I get the "File index out of bounds!" error. After I read what plutomaniac wrote, I thought that was the reason. But, now you said that it uses the resources.cfg, and not the MainEditorSettings.cfg to find assets...? Is there a way to avoid my custom objects disappearing?

In order to not get the index error you must add the custom directories at the resources.cfg file located at Amnesia redist directory. I know that and that's why I don't have such errors. What I'm really asking is whether I can make the editor read from two entity folders (entities & EtD/entities). Otherwise, I will have to copy the file twice while in development, the end-user will not be affected though because the resources.cfg file supplied with the mod will show the custom locations.
(This post was last modified: 02-15-2013, 01:50 AM by plutomaniac.)
02-15-2013, 01:44 AM
Find


Messages In This Thread
RE: [Help] Envy the Dead Developemt Questions/Problems - by plutomaniac - 02-15-2013, 01:44 AM



Users browsing this thread: 1 Guest(s)