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) |
RE: PathNode Problem - palistov - 10-27-2011 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. RE: PathNode Problem - Corax - 10-27-2011 (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 ) RE: PathNode Problem - Corax - 10-27-2011 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? RE: PathNode Problem - Elven - 10-27-2011 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. RE: PathNode Problem - Corax - 10-27-2011 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 RE: PathNode Problem - jens - 10-27-2011 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. RE: PathNode Problem - Elven - 10-27-2011 [video=youtube]http://youtu.be/0Adls65cItY[/video] Here is better video of my problem. It seems Corax solution won't help me . 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... RE: PathNode Problem - Acies - 10-27-2011 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 RE: PathNode Problem - Elven - 10-27-2011 I want it just to stand on top of node to idle.. But as you can see, it can't accomplish that . And it is same in any map. RE: PathNode Problem - Corax - 10-27-2011 (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. |