mirror of
				https://codeberg.org/tenplus1/mobs_redo.git
				synced 2025-10-31 15:45:22 +01:00 
			
		
		
		
	update pathfinding defaults to add settings (thx Bla)
This commit is contained in:
		| @@ -42,3 +42,25 @@ enable_peaceful_player (Mobs do not attack peaceful player without reason) bool | ||||
|  | ||||
| #    Enable mobs smooth rotation | ||||
| mob_smooth_rotate (Smooth rotation for mobs) bool true | ||||
|  | ||||
| [Pathfinding] | ||||
| #    Enable pathfinding (default Enabled) | ||||
| mob_pathfinding_enable (Enable pathfinding) bool true | ||||
| #    Use pathfinder mod if available (default Enabled) | ||||
| mob_pathfinder_enable (Use pathfinder mod if available) bool true | ||||
| #    How long before stuck mobs starts searching (default 3.0) | ||||
| mob_pathfinding_stuck_timeout (How long before stuck mobs start searching) float 3.0 | ||||
| #    How long will mob follow path before giving up (default 5.0) | ||||
| mob_pathfinding_stuck_path_timeout (How long will mob follow path before giving up) float 5.0 | ||||
| #    Which pathfinding algorithm to use | ||||
| #      - Dijkstra (default) | ||||
| #      - A*_noprefetch (AStar_noprefetch) | ||||
| #      - A* (AStar) | ||||
| #      (A* names differ cause Minetest doesn´t allow "*" in settings) | ||||
| mob_pathfinding_algorithm (pathfinding algorithm) enum Dijkstra Dijkstra,AStar_noprefetch,AStar | ||||
| # max search distance from search positions (default 16) | ||||
| mob_pathfinding_searchdistance (path search distance) int 16 | ||||
| # max jump height for pathfinding (default 4) | ||||
| mob_pathfinding_max_jump (path max jump height) int 4 | ||||
| # max drop height for pathfinding (default 6) | ||||
| mob_pathfinding_max_drop (path max drop height) int 6 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user