Project 1999

Project 1999 (/forums/index.php)
-   Rants and Flames (/forums/forumdisplay.php?f=30)
-   -   pathing issues (/forums/showthread.php?t=430135)

bhughes 03-27-2024 09:15 PM

pathing issues
 
The bridge in Mistmoore, you know you could actually check if the server side pathing algorithm gives you a height value that is way out of proportion compared to the previous set of height coordinates and just throw it out as a bad pathing choice!

You know 10, 10, 10, -40, 10, 10, 10, oh that -40 looks completely different from the previous values, perhaps the pathing algorithm has hit a spot in the zone geometry that isn't consistent! Like the dumb bridge in Mistmoore outside of the castle.

Now I know it's tough, going up or down any slope will give a huge range of height coords, 10 20 30 40, it's almost unfair of me to consider the programming aspects of this problem to be a rant! But if you keep a running average, perhaps a bell curve of the last 10 coords and one dips out of the average, well, it might be wrong.

But what if it's big hole between me and the mob? 10 10 -40 -40 -40 -30 -20 0 10 smack. At least there were a few -40's so it averaged out.

What's the worst that could happen if you did throw out one bad calculated height return? Maybe mobs would appear to fly over a gap now and then...

Personally I've only coded one pathing algorithm and it was only 2D, I know, it's tough! It's expensive. But it's also yours! Embrace it like a teddy bear.

Trexller 03-27-2024 09:40 PM

shitty, insane or suicidal npc pathing is ultra-classic

bhughes 03-27-2024 10:00 PM

ding level 40

Pulgasari 03-27-2024 10:03 PM


Pulgasari 03-27-2024 10:03 PM

frick
 
Quote:

Originally Posted by Pulgasari (Post 3679955)


bhughes 03-27-2024 10:12 PM

https://www.youtube.com/watch?v=tVJC0LJTYZc

Swish 03-27-2024 10:29 PM

Quote:

Originally Posted by bhughes (Post 3679948)
The bridge in Mistmoore, you know you could actually check if the server side pathing algorithm gives you a height value that is way out of proportion compared to the previous set of height coordinates and just throw it out as a bad pathing choice!

You know 10, 10, 10, -40, 10, 10, 10, oh that -40 looks completely different from the previous values, perhaps the pathing algorithm has hit a spot in the zone geometry that isn't consistent! Like the dumb bridge in Mistmoore outside of the castle.

Now I know it's tough, going up or down any slope will give a huge range of height coords, 10 20 30 40, it's almost unfair of me to consider the programming aspects of this problem to be a rant! But if you keep a running average, perhaps a bell curve of the last 10 coords and one dips out of the average, well, it might be wrong.

But what if it's big hole between me and the mob? 10 10 -40 -40 -40 -30 -20 0 10 smack. At least there were a few -40's so it averaged out.

What's the worst that could happen if you did throw out one bad calculated height return? Maybe mobs would appear to fly over a gap now and then...

Personally I've only coded one pathing algorithm and it was only 2D, I know, it's tough! It's expensive. But it's also yours! Embrace it like a teddy bear.

https://i.imgur.com/apRp7TQ.gif

Toxigen 03-28-2024 08:24 AM

you should have seen sebilis back in the day

zelld52 03-28-2024 01:05 PM

LGuk is pretty spicy too. I was at Ass/Sup, and pulling mobs down the ladder to the little corridor below. The mobs would warp down near ghoul scribe and train back up.

Toxigen 03-28-2024 01:10 PM

frogs with maphacks 4 real


All times are GMT -4. The time now is 01:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.