Jump to content

How to change characters in Don't Starve Together


Recommended Posts

So I was curious and had some time last night and I figured out a way to allow people to change characters.

 

IF YOU WANT TO KEEP YOUR CURRENT ITEMS, PUT THEM IN A CHEST

 

If you are the host:

    Go to your Klei\DoNotStarveTogether\save\session folder

    From there you will see the folders of all servers you have hosted 

    (as of now I do not know a way of identifying which folder is which server so try some experimenting)

    Go to the server folder you would like to change characters

    You will see KU_xxxxxxx files (each file represents one player that has played in that server)

    Lets say hypotheically yours is KU_blahblah and KU_blahblah_minimap

    If you would like to keep your minimap, backup and move your KU_blahblah_minimap file

    Simply delete your KU_blahblah

    Start your server, and it will bring you to your character creation

    If you have decided to keep your minimap, disconnect from the server and replace the current KU_blahblah_minimap file with the one you previously backed up

    

 

If you are not the host:

    Simply follow the same steps except INFORM the host. (tell them your KU_xxx file name)

    THE HOST MUST ALSO DELETE YOUR KU_blahblah file as well. (they do not worry about your minimap file)

 

 

 

NOTE: your KU_xxxx files have the same names on all servers

 

 

Sorry my first post and tutorial thingy like this. If there are any questions let me know, I'll try my best to help.

    

@TyChi, Easier method:

 

The host enters this on the console:

local p = c_find('wilson') DeleteUserSession(p) p:Remove() 

It shouldn't touch the minimap data, since that's stored locally for the clients. Obviously, change 'wilson' to whatever character you are (you have to use the prefab name, this may vary for mod characters especially). c_find('wilson') gets the nearest Wilson that is not the host (if the host wants to change character, they can use ThePlayer in place of c_find('wilson'))

 

@rezecib oh my god. thank you lol. i knew this method was waay too complicated. do you know of any other console commands? that arent on the DS wiki? because a lot of the original commands dont work. like the changing seasons, skipping days, etc. thanks!!


@rezecib oh my god. thank you lol. i knew this method was waay too complicated. do you know of any other console commands? that arent on the DS wiki? because a lot of the original commands dont work. like the changing seasons, skipping days, etc. thanks!!

@TyChi, Well... as someone who's read a lot of the code and knows all the things the console can do, I don't really look at it in terms of a set of commands I can use... I look at it as access to the entirety of the game logic. Which is kind of a lot to be able to communicate...

 

But to answer your two examples,

TheWorld:PushEvent("ms_setseason", "winter")LongUpdate(16*30)

The first sets it to winter, the second skips one day (you can add a multiplier in there to make it multiple days). Note that it will still take the hunger and such for the time skipped.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...