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

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#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
Corax Offline
Junior Member

Posts: 6
Threads: 0
Joined: Oct 2011
Reputation: 0
#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
Corax Offline
Junior Member

Posts: 6
Threads: 0
Joined: Oct 2011
Reputation: 0
#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
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#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
Corax Offline
Junior Member

Posts: 6
Threads: 0
Joined: Oct 2011
Reputation: 0
#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
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#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
Website Find
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#17
RE: PathNode Problem

[video=youtube]http://youtu.be/0Adls65cItY[/video]

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
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#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
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#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
Corax Offline
Junior Member

Posts: 6
Threads: 0
Joined: Oct 2011
Reputation: 0
#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




Users browsing this thread: 2 Guest(s)