Frictional Games Forum (read-only)
[LVL ED] Active Entity Bug on 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: [LVL ED] Active Entity Bug on Level Editor (/thread-20020.html)



Active Entity Bug on Level Editor - No Author - 01-22-2013

There's an entity which I set it not active in the level editor. But when I run my map, it's active without any script. Anyone know how to fix this ?


RE: Active Entity Bug on Level Editor - Statyk - 01-22-2013

I'm assuming you didn't accidentally actually place a Static_Object.

BUT, the most likely reason it won't work as intended is because of the .ent file.
1) Open the problem entity in the Model Editor
2) go to Edit > User Defined Variables
3) Change Type to "Object" and SubType to "Static"
4) Save As... a new entity in your custom story folder

Change the problem model to the new one you just saved by selecting the problem entity and on the bottom right, it should say: "Entity File [...]" Press that button and locate your custom story entity.

It should work now.

NOTE: As a further precaution, be sure to open your resources.cfg in Notepad(++) and add a new directory leading to the "custom_stories" folder so the editors can load all the custom content.


RE: Active Entity Bug on Level Editor - No Author - 01-22-2013

I'll try that and no I didn't place a static object

EDIT : Yeah it works now. Thanks !


RE: Active Entity Bug on Level Editor - The chaser - 01-22-2013

Some entities (like the giant wine barrel) are StaticProp entities. That means they are like static objects but in entities (static_objects are walls, entities more decoration).

So, unless you convert them, the entity won't spawn.