Don't Starve Together

Don't Starve Together

188 ratings
Trailblazer
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
7.726 KB
Dec 1, 2016 @ 7:12pm
Jul 21, 2019 @ 11:42am
16 Change Notes ( view )

Subscribe to download
Trailblazer

Description
A simple, but powerful pathfinding API.

Features:

- The "ACTIONS.TRAILBLAZER" action can be sent to the locomotor to invoke movement based on this pathfinding API given only a destination.

- The "components/trailblazer.lua" script can be used standalone for more custom pathfinding uses
-- Pathfinding is as simple as invoking "find_path(start, destination)"

== Thanks To ==
Serpens66 - Helping me write the mod compatibility code
Electroely - Helping me test compatibility and work out the smaller, less appearant bugs
Bear - Helping me work out the early bugs / Hosted numerous test worlds

== Licensing ==
As long as the code is modified, no rights are reserved. Feel free to take bits from this mod, bend this mod to your will, anything, so long as the resulting work is not just a direct copy of this mod.

That being said, if you want the features in this mod, the best way to get them is to pull a dependency on them. This ensures that when/if I fix bugs, you get them too. If you do just dump the contents of this mod in your code, please rename the appropriate functions so that you don't conflict with the mods that do use this code.
10 Comments
Shynaid Oct 12, 2022 @ 7:39am 
With Trailblazer it is not possible to teleport on the map with Wortox, could you fix it?
󰀀 TwoPoint 󰀕 Oct 11, 2020 @ 3:29pm 
I HAVE USED THIS MOD SINCE I STARTED PLAYING THIS GAME.
I use this trailblazer.
10/10
amazing never fails.
never crashed with this mod.
compatible with every other mod I've ever used.
I use this more than ANY OTHER MOD.
I forgot sometimes this is a mod, i think its part of the game.
Diane Sep 17, 2020 @ 9:56pm 
This and Map Travel isn't working.. I don't see the mini map at all
Great Blue Mar 11, 2018 @ 6:03pm 
Ah okay.
Codesmith512  [author] Mar 11, 2018 @ 5:07pm 
An API is an "Application Programmible Interface", it's basically a tool for other mod writers to use.

If you need an example of how to use it when writing a mod, take a look at my Map Travel mod :)
Great Blue Mar 6, 2018 @ 6:04pm 
and how does that one work with its API? what exactly is API?
Codesmith512  [author] Mar 6, 2018 @ 5:47pm 
By iteself, this mod doesn't do anything.
When coding a mod I realized that the pathfinding API that the game provides is not very good because it only does short-range pathfinding.

So I wrote another API and posted it here for other modders to use in their mods.

Personally I've got a mod called Map Travel ( here ) that uses this, and actually does something.
Great Blue Mar 6, 2018 @ 4:03pm 
So what exactly does this do?
r24r Dec 8, 2017 @ 11:50pm 
Very nice pathfinding API !!
猫熊不是干脆面 Jan 15, 2017 @ 5:38pm 
机翻:一个简单但强大的寻路API。
特点:
——“行动。开拓者可以发送到“行动运动基于这个寻路API调用运动只有一个目的地。
——“组件/开拓者。lua脚本可以独立使用更多的自定义寻路的用途
——寻路调用一样简单”find_path(开始,目的地)"
= = = =已知bug
——不兼容新的统治Beta(工作稳定的发布分支)
= = = =
Serpens66——帮助我写国防部兼容性代码
Electroely——帮助我测试兼容性和较小的,少appearant bug
熊——帮助我工作的早期错误/托管大量测试的世界