Frictional Games Forum (read-only)

Full Version: Active Entity Bug on Level Editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ?
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.
I'll try that and no I didn't place a static object

EDIT : Yeah it works now. Thanks !
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.