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
Turning an object into an enemy
lordmestari Offline
Junior Member

Posts: 22
Threads: 8
Joined: Apr 2011
Reputation: 0
#1
Turning an object into an enemy

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?
10-06-2011, 11:54 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Turning an object into an enemy

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.

10-06-2011, 12:06 PM
Website Find
lordmestari Offline
Junior Member

Posts: 22
Threads: 8
Joined: Apr 2011
Reputation: 0
#3
RE: Turning an object into an enemy

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?
(This post was last modified: 10-06-2011, 12:33 PM by lordmestari.)
10-06-2011, 12:32 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#4
RE: Turning an object into an enemy

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.

10-06-2011, 12:52 PM
Website Find
lordmestari Offline
Junior Member

Posts: 22
Threads: 8
Joined: Apr 2011
Reputation: 0
#5
RE: Turning an object into an enemy

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!
10-06-2011, 01:07 PM
Find
Patacorow Offline
Member

Posts: 135
Threads: 11
Joined: Jul 2011
Reputation: 3
#6
RE: Turning an object into an enemy

Now, make a chair that chases you around.
10-06-2011, 09:56 PM
Find




Users browsing this thread: 1 Guest(s)