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
Suitor not following pathnodes.
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#1
Suitor not following pathnodes.

Yea i know there's been a thread with nearly the same title, but I did not get the answer i needed.

So what happens is, my suitor is set to spawn and go to 1 specific pathnode, (Where he also have to crush a door on his way).

But he just starts going directly against the pathnode believing he can go through walls.
I placed several pathnodes in my map, but only scripted him to follow one. Why won't he use the other pathnodes as a help to get to the last pathnode?

Trying is the first step to success.
10-20-2012, 02:17 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Suitor not following pathnodes.

Iv'e heard that, even if there aren't scripted path nodes, they affect the enemy. So, I think you will have to script the other path nodes so they don't affect the others. Something really simple.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-20-2012, 04:22 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Suitor not following pathnodes.

I didn't quite get what you wanted me to do.

But yes. If a monster is set to go to a specific pathnode it would use the others as a guide around corners and stuff... The problem is that mine doesn't. He just walks right into the wall

Trying is the first step to success.
10-20-2012, 04:56 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: Suitor not following pathnodes.

Then script all the path nodes. Tell the suitor: go forward, right, left, etc.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-20-2012, 04:58 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Suitor not following pathnodes.

yea i guess...

Trying is the first step to success.
10-20-2012, 05:02 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Suitor not following pathnodes.

It's easy. Just script all the path nodes that lead to the destination of the suitor and that's all.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-20-2012, 08:01 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#7
RE: Suitor not following pathnodes.

Even if the path nodes are connected to guide the monster around corners, the monster may still have trouble making the turn. Linear paths that are connected the monster has no issue following. But if they're not connected, the monster will have trouble.

Tutorials: From Noob to Pro
10-20-2012, 08:47 PM
Website Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#8
RE: Suitor not following pathnodes.

I'm having a little trouble understanding you YC Smile

A connected pathnode is when i say: AddEnemyPatrolNode right?

Whats a connected linear path then?

Trying is the first step to success.
10-20-2012, 09:16 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#9
RE: Suitor not following pathnodes.

I think it's trying to say that the path from the path nodes must be the simplier as possible, so the monster makes a 90º change. Not really sure, though.

Think in a monster as a retarded, that helps. Mark them the things very easy so they don't get silly.

I know, it's a weird way to call them retarded, but dealing with them as these makes a pattern to work with.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-20-2012, 09:27 PM by The chaser.)
10-20-2012, 09:26 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#10
RE: Suitor not following pathnodes.

Using AddEnemyPatrolNode does not connect path nodes, that simply queues a path node for the monster. You know a path node is connected to another simply by observing it in game with entity info enabled.

Tutorials: From Noob to Pro
10-20-2012, 09:29 PM
Website Find




Users browsing this thread: 1 Guest(s)