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

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#21
RE: PathNode Problem

(10-27-2011, 03:11 PM)Corax Wrote:
(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
Hmm O.o

AddEnemyPatrolNode("servant_grunt_4", "PathNodeArea_79", 10.0f, "IdleExtra1");

This is a part of some original code. For me it did work with my custom made monster. Did you spell it like that (capital letters are important)?

Otherwise (in case attack animations etc. don't work) I'm guessing that only IdleExtra's may be called. The Idle animation is automatically called everytime the grunt pauses btw; in reference to elven's question.



[Image: mZiYnxe.png]


(This post was last modified: 10-27-2011, 06:15 PM by Acies.)
10-27-2011, 06:14 PM
Find
Corax Offline
Junior Member

Posts: 6
Threads: 0
Joined: Oct 2011
Reputation: 0
#22
RE: PathNode Problem

(10-27-2011, 06:14 PM)Acies Wrote:
(10-27-2011, 03:11 PM)Corax Wrote:
(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
Hmm O.o

AddEnemyPatrolNode("servant_grunt_4", "PathNodeArea_79", 10.0f, "IdleExtra1");

This is a part of some original code. For me it did work with my custom made monster. Did you spell it like that (capital letters are important)?

Otherwise (in case attack animations etc. don't work) I'm guessing that only IdleExtra's may be called. The Idle animation is automatically called everytime the grunt pauses btw; in reference to elven's question.

I copy-pasted the names. Now ill try IdleExtras anim.

edit: Nothing happens XD o well, i'll try sometinghs else, this isn't a big problem after all.
(This post was last modified: 10-27-2011, 06:36 PM by Corax.)
10-27-2011, 06:25 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#23
RE: PathNode Problem

Don't assign it an animation in the last argument of the AddEnemyPatrolNode script. The "glitch" is the monster just repeating the same animation. As for the monster not walking right on top of the node, Jens mentioned the nodes need to be exactly on the level of the plane.

10-27-2011, 09:41 PM
Find
Elven Offline
Posting Freak

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

I have still issue tho Sad, for what that thread was created...

The Interrogation
Chapter 1

My tutorials
10-27-2011, 09:50 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#25
RE: PathNode Problem

I'm wagering you re-named the grunt after the .nodes file was created for it. Open your maps folder. Look for the level's nodes file. Make the name match the grunt's name.

If your grunt is named "grunty", your level's nodes file should look like this: "00_my_special_level_grunty.nodes"

Make sure you close Amnesia before you do all this Tom Foolery.

10-27-2011, 10:04 PM
Find




Users browsing this thread: 2 Guest(s)