DocSaintly Posted January 27, 2015 Share Posted January 27, 2015 One of the things I like to change in Don't Starve is the speed. I find that a speed of about 10 makes the game WAY more fun. This can be done by the host in Don't Starve Together, but not the other players. In DST, if client players try to adjust speed, it simply results in skipping around on the screen. Speed boosting items appear to have this affect as well. Is there a way to change the speed for all players on a Don't Starve Together server? Is it as simple as modifying a configuration file, or will a full mod be necessary? Link to comment https://forums.kleientertainment.com/forums/topic/49799-speed-boost-in-dst/ Share on other sites More sharing options...
rezecib Posted January 27, 2015 Share Posted January 27, 2015 modifying a configuration file tuning.lua, look for WILSON_RUN_SPEED Link to comment https://forums.kleientertainment.com/forums/topic/49799-speed-boost-in-dst/#findComment-606426 Share on other sites More sharing options...
DocSaintly Posted January 27, 2015 Author Share Posted January 27, 2015 That worked great! Thanks! I had to set the variables to the same thing on the client and the server. Link to comment https://forums.kleientertainment.com/forums/topic/49799-speed-boost-in-dst/#findComment-606440 Share on other sites More sharing options...
rezecib Posted January 27, 2015 Share Posted January 27, 2015 @DocSaintly, Oh, yeah, because the client action prediction uses local values. A server-side-only solution could be done with a very small mod (you won't need to publish it or anything), that does something like this:local function IncreaseSpeed(inst) if inst.components.locomotor then inst.components.locomotor:SetExternalSpeedMultiplier(inst, "Speedy server", 1.67) endendif GLOBAL.TheNet:GetIsServer() then AddPrefabPostInit("world", function(inst) --this is just to make sure it loads after other mods add characters for k,v in pairs(DST_CHARACTERLIST) do AddPrefabPostInit(v, IncreaseSpeed) end for k,v in pairs(MODCHARACTERLIST) do AddPrefabPostInit(v, IncreaseSpeed) end end)endThat part should be networked to deal with action prediction properly. It was added pretty recently, so I'm just going off of what the devs have told me on that. Link to comment https://forums.kleientertainment.com/forums/topic/49799-speed-boost-in-dst/#findComment-606555 Share on other sites More sharing options...
Developer PeterA Posted January 27, 2015 Developer Share Posted January 27, 2015 @rezecib, great to see use of the new code. Hope it works out for you! Link to comment https://forums.kleientertainment.com/forums/topic/49799-speed-boost-in-dst/#findComment-606598 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now