Jump to content

Recommended Posts

So I want to increase the max range of the telepoof/soul hop. I figure this would be a very simple mod to write as it would probably just be changing one variable. Does anybody know how I would go about making a mod that does this?
(note that currently, if you click too far, the character walks in that direction until they are in range to teleport to the location and then teleports)

I would assume it would be one line that was something like:

GLOBAL.TUNING.WORTOX_SOUL_HOP_RANGE = 1000

Then a follow up would be making it so that you can telepoof/soul hop by clicking on an explored location on the map.

Then a stretch goal would be making it so you could bring other people with you when you teleport.

I'd love any help with any of these three goals. Particularly the first one, which is hopefully simple.

So actually I figured some of it out, if anyone else is curious. I don't know how to write it as a mod yet, but for item 1:

Go to "Don't Starve Together -> data -> databundles ->scripts.zip ->scripts -> actions.lua"
and change the XXXX in the following to whatever distance you want:
ACTIONS=
{
...
BLINK=Action({...distance=XXXX...})

...

}

Then for item 2, (teleporting by clicking on the map) you can download the mod "Map Travel" and edit its modmain.lua
so that the line that starts "local action="
has GLOBAL.ACTIONS.BLINK as the third argument.

The third item I listed would take a long time and a lot of work to do, and I lost interest in it.

Note that you need to do the first thing for the second thing to be any good at all because the range default is so short that map teleporting is useless without the range buff. I think the range thing has to be changed for the person running the server and then also anyone using it.

If anyone wanted to, they'd be welcome to use any of this that I found out to write a mod. If not, I might write one at some point.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...