Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turning an object into an enemy
Author Message
lordmestari Offline
Junior Member

Posts: 23
Joined: Apr 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
lordmestari Offline
Junior Member

Posts: 23
Joined: Apr 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
lordmestari Offline
Junior Member

Posts: 23
Joined: Apr 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Patacorow Offline
Member

Posts: 135
Joined: Jul 2011
Reputation: 3
Post: #6
RE: Turning an object into an enemy
Now, make a chair that chases you around.
10-06-2011 09:56 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)