Saturnine on 24/9/2005 at 12:21
I'm about 50% done with my new mage mission, but have suddenly got an error when pathfinding, I can't really go back to an earlier save as this mission has been pulled back from the brink of death as it is ( my usual trick)
The error is:
Duplicate vertices in cell 5631 (0;11926;1;11926) (File:aipathdb.cpp,Line:2590)
Yes and No both crash it but Cancel carries on and completes pathfinding.
So I can actually carry on, but I was just wondering if this was going to come back and bite me in the arse?
Hope someone can help
Thanks
Shadowspawn on 24/9/2005 at 14:01
It sounds like you have a rouge cell somewhere. Maybe you can use the "cc" command (show cell and teleport to it) and try and see what the geometry looks like in that area.
It seems that somethingin the AI pathfinding isn't happy there. Maybe you can make that area inaccessible to AI?
Other commands which might help;
cell_teleport
ai_draw_one_cell
ai_cam_to_cell
Hope this helps.
R Soul on 24/9/2005 at 19:07
It sounds to me like you have an object (probably with an OBB phys model) that has at least one of its dimensions set to 0.
Im not sure what happens if you do this to a sphere model.
Look for any cuboid objects that you can walk through and make sure they have non-zero values for their dimensions.
I think you can just put any non-zero values on the obejct and then change the Physics > Misc > Collision Type to None.
uncadonego on 6/3/2017 at 04:00
Sorry for the necromancy.
I searched and found several threads with duplicate vertices titles. This one helped so I thought I'd add two cents for posterity.
The command "cell_teleport" gave me an invalid cell id answer. Shadowspawn's suggested "ai_cam_to_cell" brought me the closest to a catwalk piece I used for a vent door.
The dimensions were 4X4X0.25, but the physics were set to 4X4X0. No "zero dimensions" in default.rep under physics, by the way.
So I gave it a shot and changed the 0 to 0.25 thinking it might not help, but when I did pathfinding again the duplicate vertices warning went away.
Yandros on 6/3/2017 at 04:07
There were a number of objects with zero dimensions in Godbreaker's swamp mission which we had to track down and change for the same reason. Glad you found the fix.
gamophyte on 6/3/2017 at 15:32
Will save this thread thank you for the information!