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
Pathnodes
Venom Fox Offline
Junior Member

Posts: 32
Threads: 9
Joined: Mar 2016
Reputation: 0
#1
Pathnodes

So I've noticed that the monsters fail to follow the pathnodes when chasing the player.
I am fairly sure I need some kind of extra file for the monsters to know where to, instead of just running at walls. I've tried to increase the amount of pathnodes significantly, which helped only a little bit, but not enough.


Yeah, the problem is I don't know how to make this file (.nodes?) Anyone have
yet experimented with this thing?
08-19-2016, 02:34 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#2
RE: Pathnodes

.nodes is an auto generated file. I believe that the setting forcecacheloadingandskipsaving controls whether or not files like this one are generated, but I dont remember if it had to be true or false.
08-19-2016, 04:03 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: Pathnodes

Have you added the path nodes to the monster in the script?

PHP Code: (Select All)
AddEnemyPatrolNode(stringasNamestringasNodeNamefloat afWaitTimestringasAnimation); 

You don't need to add all, but I recommend adding 1 for every turn so it won't get stuck on corners.

(This post was last modified: 08-19-2016, 04:33 PM by Mudbill.)
08-19-2016, 04:32 PM
Find
Venom Fox Offline
Junior Member

Posts: 32
Threads: 9
Joined: Mar 2016
Reputation: 0
#4
RE: Pathnodes

(08-19-2016, 04:32 PM)Mudbill Wrote: Have you added the path nodes to the monster in the script?

PHP Code: (Select All)
AddEnemyPatrolNode(stringasNamestringasNodeNamefloat afWaitTimestringasAnimation); 

You don't need to add all, but I recommend adding 1 for every turn so it won't get stuck on corners.

Wrong game Big Grin I'm modding Soma, not Amnesia but thanks anyway :-)

(08-19-2016, 04:03 PM)WALP Wrote: .nodes is an auto generated file. I believe that the setting forcecacheloadingandskipsaving controls whether or not files like this one are generated, but I dont remember if it had to be true or false.

thanks it worked!
(This post was last modified: 08-19-2016, 05:23 PM by Venom Fox.)
08-19-2016, 04:57 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#5
RE: Pathnodes

Moving to Development, but glad to hear you got it solved Smile

When in doubt after map changes, always delete the map_cache file. Wink

Discord: Romulator#0001
[Image: 3f6f01a904.png]
08-19-2016, 05:43 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#6
RE: Pathnodes

Wait. When chasing the player it's another story. They ignore pathnodes and go straight to the player's position. I know when they're stuck trying to hit you, they go back a little trying to find another way to reach you but it lasts 3~4 seconds and tries to attack again. It's not the same when they're tamed and wander the place. That's when they follow pathnodes if you gave them.

08-19-2016, 05:56 PM
Find




Users browsing this thread: 1 Guest(s)