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
PathNode Problem
Author Message
palistov Offline
Posting Freak

Posts: 1,175
Joined: Mar 2011
Reputation: 56
Post: #11
RE: PathNode Problem
It looks like you have a LOT of path nodes within a very small space...even some which are on the exact same spot. Spread them out a little more. Try testing it out with just 2 path nodes. If everything works fine, use more and keep doing so until you get everything working.

10-27-2011 06:47 AM
Find all posts by this user Quote this message in a reply
Corax Offline
Junior Member

Posts: 6
Joined: Oct 2011
Reputation: 0
Post: #12
RE: PathNode Problem
(10-27-2011 05:55 AM)Your Computer Wrote:  Quick question: Is there a .nodes file in your maps directory?
No, there isn't. But i thought it was auto generated when you add pathnodes in your map!

However i tried with very spread paths too, but the problem is still there.

(sorry if there are some grammar mistakes, I'm italian Blush )
10-27-2011 09:04 AM
Find all posts by this user Quote this message in a reply
Corax Offline
Junior Member

Posts: 6
Joined: Oct 2011
Reputation: 0
Post: #13
RE: PathNode Problem
I just fixed my problem. I added twice the same path in my script, but still there isn't a .nodes file in my map directory. Can it cause any problems?

Which file have i to add to play the enemy animation? .dae or .anm?
(This post was last modified: 10-27-2011 11:04 AM by Corax.)
10-27-2011 10:53 AM
Find all posts by this user Quote this message in a reply
Elven Offline
Posting Freak

Posts: 868
Joined: Aug 2011
Reputation: 26
Post: #14
RE: PathNode Problem
What do you mean by added twice the same path in my script?

@palistalov yes, I did that already and i tested it with single pathnode and still same problem.

The Interrogation
Chapter 1

My tutorials
(This post was last modified: 10-27-2011 11:02 AM by Elven.)
10-27-2011 11:01 AM
Find all posts by this user Quote this message in a reply
Corax Offline
Junior Member

Posts: 6
Joined: Oct 2011
Reputation: 0
Post: #15
RE: PathNode Problem
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0.0f, "");
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 5.0f, "attack_short1.dae_anim");

this was my mistake. but now my grunt doesnt play the anim XD
10-27-2011 11:09 AM
Find all posts by this user Quote this message in a reply
jens Offline
Frictional Games

Posts: 3,107
Joined: Apr 2006
Reputation: 103
Post: #16
RE: PathNode Problem
Elven, hard to see in the video but it might be that you have positioned the path nodes to high above the ground, they need to be level with the floor.
10-27-2011 11:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Elven Offline
Posting Freak

Posts: 868
Joined: Aug 2011
Reputation: 26
Post: #17
RE: PathNode Problem




Here is better video of my problem.

It seems Corax solution won't help me Sad.

Also, I think my pathnodes are positioned same as plane is positioned.

Oh and you may notice in video that some of them are different height - it is on purpose...

The Interrogation
Chapter 1

My tutorials
(This post was last modified: 10-27-2011 11:32 AM by Elven.)
10-27-2011 11:31 AM
Find all posts by this user Quote this message in a reply
Acies Offline
Posting Freak

Posts: 1,281
Joined: Feb 2011
Reputation: 54
Post: #18
RE: PathNode Problem
Corax, i believe you may find the correct names by opening the modeleditor and bringing up the animations window.

What purpose does it serve elven? If you want the grunt to walk over obstacles you can assign that in the modeleditor. Nodes should be placed on the ground Smile

[Image: mZiYnxe.png]


10-27-2011 01:01 PM
Find all posts by this user Quote this message in a reply
Elven Offline
Posting Freak

Posts: 868
Joined: Aug 2011
Reputation: 26
Post: #19
RE: PathNode Problem
I want it just to stand on top of node to idle..

But as you can see, it can't accomplish that Sad. And it is same in any map.

The Interrogation
Chapter 1

My tutorials
10-27-2011 01:16 PM
Find all posts by this user Quote this message in a reply
Corax Offline
Junior Member

Posts: 6
Joined: Oct 2011
Reputation: 0
Post: #20
RE: PathNode Problem
(10-27-2011 01:01 PM)Acies Wrote:  Corax, i believe you may find the correct names by opening the modeleditor and bringing up the animations window.

i tried all the names written in the animation windows but nothing happen! maybe becouse i have disabled the triggers of the grunt?

edit: no thats not the problem. Sad
(This post was last modified: 10-27-2011 03:36 PM by Corax.)
10-27-2011 03:11 PM
Find all posts by this user Quote this message in a reply
Post Reply 




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