Raised This Month: $51 Target: $400
 12% 

Navigation System (Pathfinding,waypoint)


Post New Thread Reply   
 
Thread Tools Display Modes
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 02-01-2022 , 13:22   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #11

Quote:
Originally Posted by By Hazard View Post
I'm trying from Rehlds, do I have to write my own ip address here?
I don't know anything about rehlds...
Is that a server?
The menu function of this plugin is only allowed to be used by the host client
Leech_v2 is offline
By Hazard
Member
Join Date: Jan 2016
Old 02-01-2022 , 14:16   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #12

Quote:
Originally Posted by Leech_v2 View Post
I don't know anything about rehlds...
Is that a server?
The menu function of this plugin is only allowed to be used by the host client
REHLDS is a test server and I use it from my own computer, I am the main client, should I change the "loopback" to use the menu?
By Hazard is offline
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 02-01-2022 , 14:29   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #13

Quote:
Originally Posted by By Hazard View Post
REHLDS is a test server and I use it from my own computer, I am the main client, should I change the "loopback" to use the menu?
This is my blind spot of knowledge
You give it a try and may help you! :
Leech_v2 is offline
By Hazard
Member
Join Date: Jan 2016
Old 02-01-2022 , 19:41   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #14

Quote:
Originally Posted by Leech_v2 View Post
This is my blind spot of knowledge
You give it a try and may help you! :
How can I try an npc with this plugin?
By Hazard is offline
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 02-01-2022 , 22:41   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #15

Quote:
Originally Posted by By Hazard View Post
How can I try an npc with this plugin?
Inc file provides functions for pathfinding

You need to make your own NPC plug-in and reference NavigationSystem.Inc file to calls pathfinding function
[My plugin is responsible for providing coordinate information.You need to make the NPC run towards the coordinates]

Last edited by Leech_v2; 02-01-2022 at 22:43.
Leech_v2 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 03-23-2022 , 22:21   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #16

This is really interesting. I will definately give this a try later on this weekend.

It is possible to generate from a brand new map?

I was making Zombie Shelter mode but got stuck at AI controling so if this work, it would be a big help
__________________
My plugin:

Last edited by Celena Luna; 03-23-2022 at 22:22.
Celena Luna is offline
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 04-09-2022 , 05:13   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #17

Quote:
Originally Posted by Celena Luna View Post
This is really interesting. I will definately give this a try later on this weekend.

It is possible to generate from a brand new map?

I was making Zombie Shelter mode but got stuck at AI controling so if this work, it would be a big help
Any map can be loaded and generated automatically

But I don't have the ability to automatically identify the ladder. It's difficult for me to predict what shape the map author will make the ladder
Leech_v2 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-09-2022 , 07:55   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #18

Seems really nice, is the nav system consumes alot of CPU usage ?

Also you need to make a decent descriptive thread explaining how the Nav system really works.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-09-2022 at 07:59.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Old 04-09-2022, 09:25
Leech_v2
This message has been deleted by Leech_v2.
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 04-09-2022 , 09:29   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #19

Quote:
Originally Posted by Natsheh View Post
Seems really nice, is the nav system consumes alot of CPU usage ?

Also you need to make a decent descriptive thread explaining how the Nav system really works.
Because I'm not good at English, let me describe the way I work may mislead you.

In fact, if you are willing to save all navigation results locally, you can quickly find the shortest path through index access. Otherwise, you can only conduct simple pathfinding once in each frame and wait for the pathfinding work to be completed
Leech_v2 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 04-17-2022 , 21:34   Re: Navigation System (Pathfinding,waypoint)
Reply With Quote #20

After some testing, I noticed a few things:
  • It have to load on Listen Server (the server you load when you start ingame) first. Delicated Server (HLDS, ReHLDS,...) can't generate the nav file. But still load if you copy the nav file generated from Listen Server.
  • I tried the biggest map I could find to test the generation: Big City
    It took about 45 minutes to 1 hour to load and it showned as if it stuck at loading screen so some might think it doesn't work. But the Nav actually generated which actually a good thing.
  • The generating time is faster (or equal) the Z-Bot NAV generating.

I will do some extra testing with some Zombie NPC to see if it affect the PC performence
Update: Generated Nav file attached
Attached Files
File Type: zip Big_City_alpha.zip (552.2 KB, 55 views)
__________________
My plugin:

Last edited by Celena Luna; 04-17-2022 at 21:39.
Celena Luna is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode