RUST Path Finding v1.1.4

No permission to download
You can download a maximum of 0 files within 24 hours
Path finding API, used by other plugins only. This plugin can only be used by other plugins.

  • It only takes in count coordinates such as: 241, 54, 2340.
  • No decimals. (using decimals makes the code go crazy slow).
  • You can easily call this plugin from other plugins.
  • The plugin is limited to 500 Loops, higher then that it will result as null (meaning no paths were found).
  • 1000 Loops is about 0.3s of search. 500Loops is about 0.06s200m on the ground will be around 200LoopsBut if you use it in houses with multiple levels, loops will occur much more (work is probably still needed on that).
The PathFinding:-Easy path => a simple line path that checks if there are anything blocking your way to another point, if not it will use this Easy straight path.

A* Pathfinding algorithm 3D => example of how the 2D works

Chat Commands​

  • /path -- Aim where you want to go, and the plugin will try to force you to go there

Configuration​

The settings and options can be configured in the PathFinding file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.
Code:
Please, Log in or Register to view codes content!
Max Loops being the max loops allowed before the plugin timesout (500 is about 0.15s, 1000 around 0.4s and 5000 around 2s).

Developer API​

Code:
Please, Log in or Register to view codes content!
Return the list of Vector3 accessible or null if no path was found. This uses the Easy path first, and if it can't use the easy path, uses the A* algorithm.
Code:
Please, Log in or Register to view codes content!
return the list of Vector3 accessible or null if no path was found, uses the A* algorithm.
Code:
Please, Log in or Register to view codes content!
Return the list of Vector3 accessible or null if no path was found, uses the Easy Path.
Code:
Please, Log in or Register to view codes content!
Force an entity to follow the pathpoints, can be a BasePlayer.
Code:
Please, Log in or Register to view codes content!
Finds the best path then forces the entity to follow the pathpoints, can be a BasePlayer.
Author
Box2
Downloads
0
Views
16
First release
Last update
Rating
0.00 star(s) 0 ratings

Share this resource

Similar resources

Защита от эксплойта "повышение пинга".
0.00 star(s) 0 ratings
Downloads
0
Updated