Don't Starve Together

Don't Starve Together

Not enough ratings
Camera Smoothing Tuner
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
26.999 KB
3 Mar, 2020 @ 5:36pm
3 Mar, 2020 @ 5:53pm
2 Change Notes ( view )

Subscribe to download
Camera Smoothing Tuner

Description
Allows you to adjust smoothing settings for the camera. Higher values make the camera adjust faster. You can even make the camera follow your player with no visible smoothing, just by setting "Catch-up Speed" to a very high value.

Compatible with (seemingly) ALL other camera mods! At least the mods should be able to coexist.

Link to DS / RoG / SW / Hamlet version

Settings Information
- Catch-up Speed: the speed with which the camera catches up with the player's current position.
- Zoom Speed: the speed with which the camera moves between zoom-levels.
- Heading Speed: I'm not 100% sure, but I think this is something extra, which makes the camera move a bit in the direction the player is currently moving, using the current velocity of their locomotor (movement physics). I don't see much of an effect regardless of the value I set it to, but it's there in the code, and now you can change it :)

NOTE (especially to other modders)
This is little more than a proof-of-concept mod. It works, but it's not very elegant. It checks every 2 seconds whether the current camera has changed, and if it has, it changes three settings on it. I couldn't get it to work using PostConstruct functions on the cameras. They'd apply the changes, but they didn't seem to "take hold". It only seems to work if I change the values after the camera has been fully constructed, which I do lazily by constantly checking if the camera has changed, which it does whenever you enter a building or a cave. If you want to take this concept and make a version which applies the settings at an appropriate time, removing the need for a periodic task, feel free to make your own mod using whatever you can use from this one.

Links to my other DST mods (Steam pages)
Auto Stack and Pick Up - Gives you MANY settings for automatically stacking or picking up newly spawned and manually dropped stackable items.
Blow Darts Any Feather - Allows you to add extra recipes for any blowdart, so you can use any feather to craft them.
Fishing Buddy - Allows you to edit all settings pertaining to fishing.
Long-range Containers - Allows you to change the distance you can move away from containers before they automatically close.
Long-range Research - Lets you set the range from which you can use the research machines, and access recipes from more than one machine at a time!
Metabolizer - Allows you to set the base rate of hunger, from 400% of normal loss, and all the way to 200% gain.
Monster Ash Drop Tuner - Allows you to set a chance for monsters, prey, animals and characters (not players), to NOT replace their loot with ash when they die burning and screaming.
No Wet Items - Removes the possibility of inventory items being wet.
Resurrection Tuner - Tune the resurrection penalties, and starting stats after resurrection, plus crafting-cost of revival-items.
RPG Items (global edition) - Any weapon, armor and helmet has a chance to be imbued with special modifiers when they are generated by the game (by world generation, crafting, drops etc).
Sanity Tuner - Allows you to tune the sanity gain and loss players receive from many things, including moisture and auras!
Sleepy Time - Allows you to set the amount of gain/loss of each stat for each sleep-tick, AND how often sleep-ticks occur, as well as # of uses for tents and siesta huts.
Stat Regen And Degen - A customizable stat regen AND degen system for health, sanity and hunger.
Temperature Tuner - Allows you to tune the rate at which the temperatures of the players rise and fall (separately) using percentages, and change the minimum and maximum temperature caps for the players as well.
Time Your Own Boss - Allows you to set the number of day-cycles before bosses start to arrive.
What Am I Crafting? (fixed) - Shrinks the lock icon that appears on crafting recipes which haven't been prototyped yet, so you can see the silhouette of what you are crafting.
5 Comments
Darkahrii 11 May @ 1:08pm 
when im playing multiplayer, it doesnt apply to the first dimension im in (if i spawn above ground, the mod configs are not applied), but if i enter caves, the mod configs are applied. pls fix, it also goes vice versa, if i spawn in caves the mod doesnt function until i switch dimension like going above ground. then when im above ground, the mod works again
pigr 25 Oct, 2023 @ 1:44am 
Also what is "interior camera" ? I didn't see any difference when I changed those settings
pigr 25 Oct, 2023 @ 1:33am 
Bug: After you respawn, camera settings reset to default until you relogin to the world again.

Very cool mod though, I always felt something uncomforting about DST's camera, but at the same time it feels weird to use this mod because I've already got so used to the normal camera
Ultroman the Tacoman  [author] 18 Apr, 2021 @ 6:36pm 
@Martin Mystery:
I don't think it's related to the note. Setting a high Heading Speed will move the camera further in the player's movement direction, I think. I'm not sure how that works, but there is definitely some directional offset being used for something. I just added the ability to adjust the variable. I would leave Heading Speed at the default value, and see if that doesn't work better. The camera becoming snappy with a high Catch-up Speed is the point of the mod; that you can adjust the snappiness.

Sincerely, Ultroman the Tacoman
Martin Mystery 18 Apr, 2021 @ 11:31am 
was looking for stomething like this. it doesn't seem that hard a thing for klei to implement. in trying your mod out I noticed at high values the camera gets too snappy, to the point it feels like it's getting ahead of the player. it might have to do with what you've said in the note.