Frictional Games Forum (read-only)
Turning an object into an enemy - 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: Turning an object into an enemy (/thread-10631.html)



Turning an object into an enemy - lordmestari - 10-06-2011

Is it possible to turn an entity into an enemy? Without animations and such, ofcourse.

I tried it with a suit of armor, changed it's properties to Enemy_grunt, but it just stays still.

I want it to move around, chase the player but WITHOUT animations, sort of like floating on the floor.

is it possible?


RE: Turning an object into an enemy - Tanshaydar - 10-06-2011

Open it in the model editor and set the user defined variables to Enemy_Grunt. It will act like an enemy. Though, keep in mind that you shouldn't use bodies in enemy entities.


RE: Turning an object into an enemy - lordmestari - 10-06-2011

That's what I did, when it notices me, it moves forward abit, or turns around, but after that it doesn't move at all. The danger music still plays, but it doesnt chase me or anything. It acts like the graveyard_corpse, found in the ptest folder.
I removed (or detached) the bodies.

What's the matter?


RE: Turning an object into an enemy - Tanshaydar - 10-06-2011

I don't know, but, that's the basic idea. You might want to create an entity from scratch, with importing mesh from zero and setting its enemy settings.


RE: Turning an object into an enemy - lordmestari - 10-06-2011

Ah, now I know how graveyard_corpse works. You have to face it from the right direction, and it will start to chase you.
Thanks for the help!


RE: Turning an object into an enemy - Patacorow - 10-06-2011

Now, make a chair that chases you around.