Frictional Games Forum (read-only)

Full Version: Non-Active Entity is active ingame
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have disabled every entity i want unactive. But when i enter my custom story they are enabled and fully visable.

Thanks on Beforehand
Some entities are of Static type, which means you can not interact with them or script with them. What you can do to counter this is to open the entity in your model editor and go to Edit > User Defined Variables. At the top is type and sub type, which probably says StaticProp and blank. Change it to (type) Entity and (sub type) Static instead, and that should allow you to do things with it. Save as a new entity in the same location, and copy the .ent file into your custom story's folder as well.

For example:
Amnesia root\entities\cloth\cloth_pile01_dyn.ent
Amnesia root\custom_stories\YourStory\entities\cloth_pile01_dyn.ent


(I don't remember if that was the name of it, but I think the cloth pile is one entity acting like this.)
(04-17-2014, 07:18 PM)Mudbill Wrote: [ -> ]Some entities are of Static type, which means you can not interact with them or script with them. What you can do to counter this is to open the entity in your model editor and go to Edit > User Defined Variables. At the top is type and sub type, which probably says StaticProp and blank. Change it to (type) Entity and (sub type) Static instead, and that should allow you to do things with it. Save as a new entity in the same location, and copy the .ent file into your custom story's folder as well.

For example:
Amnesia root\entities\cloth\cloth_pile01_dyn.ent
Amnesia root\custom_stories\YourStory\entities\cloth_pile01_dyn.ent


(I don't remember if that was the name of it, but I think the cloth pile is one entity acting like this.)

im using the on called armor. Which just is a stand with armor on it
This should go into development support next time. Big Grin

You're setting them to inactive via the level editor, right?

I know it's a drawn out step, but have you tried to set your statues inactive via script instead?

EDIT: Do you have the entities set to static in the level editor? That can conflict with deactivating the entities.
How do i know if they are static or not ?
If in User Defined Varibles the type is "StaticProp".