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


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Zombies getting stuck when chasing you?
Author Message
morgoe Offline
Junior Member

Posts: 6
Joined: Nov 2010
Reputation: 0
Post: #1
Zombies getting stuck when chasing you?

I didn't notice this in the Amnesia game, but in my custom maps, the zombies keep getting stuck on door frames, on stairs, basically anywhere that's not a linear A->B. If I come back to him and lead him around he's fine, but obviously that's not something I want. What's going on? It's a survival map so I need the zombie to chase you everywhere, not just on a set path.

Also, is there a way to move the zombie to a diff place? I haven't found it in the Script Functions.
11-12-2010 09:25 AM
Find all posts by this user Quote this message in a reply
Gamemakingdude Offline
Senior Member

Posts: 470
Joined: Nov 2010
Reputation: 9
Post: #2
RE: Zombies getting stuck when chasing you?

(11-12-2010 09:25 AM)morgoe Wrote:  I didn't notice this in the Amnesia game, but in my custom maps, the zombies keep getting stuck on door frames, on stairs, basically anywhere that's not a linear A->B. If I come back to him and lead him around he's fine, but obviously that's not something I want. What's going on? It's a survival map so I need the zombie to chase you everywhere, not just on a set path.

Also, is there a way to move the zombie to a diff place? I haven't found it in the Script Functions.

Maybe try some nodes or look at jonez's survival custom story.

Rep if like me or im helpful or you love my stories!
Stephanos house
11-12-2010 09:32 AM
Find all posts by this user Quote this message in a reply
Chilton Offline
Member

Posts: 138
Joined: Sep 2010
Reputation: 0
Post: #3
RE: Zombies getting stuck when chasing you?

Add in more nodes, and for christ sake make sure theyre connected. To see how the nodes are ordinated, go into MapView, and turn on nodes, the line connecting nodes show how theyre connected. They should avoid any obstacles in a 2x2 grid area.
11-12-2010 10:31 AM
Find all posts by this user Quote this message in a reply
morgoe Offline
Junior Member

Posts: 6
Joined: Nov 2010
Reputation: 0
Post: #4
RE: Zombies getting stuck when chasing you?

(11-12-2010 10:31 AM)Chilton Wrote:  Add in more nodes, and for christ sake make sure theyre connected. To see how the nodes are ordinated, go into MapView, and turn on nodes, the line connecting nodes show how theyre connected. They should avoid any obstacles in a 2x2 grid area.

Thanks for this, I didn't realise you needed to add nodes for AI to work. They still seemed to be getting stuck on stairs, so I added like 3 for each step - is this right? Can you have too many nodes?
11-12-2010 11:30 AM
Find all posts by this user Quote this message in a reply
Chilton Offline
Member

Posts: 138
Joined: Sep 2010
Reputation: 0
Post: #5
RE: Zombies getting stuck when chasing you?

(11-12-2010 11:30 AM)morgoe Wrote:  
(11-12-2010 10:31 AM)Chilton Wrote:  Add in more nodes, and for christ sake make sure theyre connected. To see how the nodes are ordinated, go into MapView, and turn on nodes, the line connecting nodes show how theyre connected. They should avoid any obstacles in a 2x2 grid area.

Thanks for this, I didn't realise you needed to add nodes for AI to work. They still seemed to be getting stuck on stairs, so I added like 3 for each step - is this right? Can you have too many nodes?

You can, yes. Stairs can be tricky, but the key is to have one for each step, and if scripting have no movement delays.
11-12-2010 12:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 




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