Frictional Games Forum (read-only)
PathNode Problem - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: PathNode Problem (/thread-10974.html)

Pages: 1 2 3


RE: PathNode Problem - Acies - 10-27-2011

(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.





RE: PathNode Problem - Corax - 10-27-2011

(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.


RE: PathNode Problem - palistov - 10-27-2011

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.


RE: PathNode Problem - Elven - 10-27-2011

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



RE: PathNode Problem - palistov - 10-27-2011

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.