Giter VIP home page Giter VIP logo

timberborn_mods's People

Watchers

 avatar

Forkers

ecconia

timberborn_mods's Issues

CameraTweaker: Also allow changing "released" zoom limit

Yesterday someone on the Timberborn Discord server asked for the old ZoomOutCamera mod, as this mod does not provide the same zoom out capability.

I looked into the issue, and indeed it does not provide it (correctly).

Issue:

There is a slider to change the zoom limit, which changes the default zoom limit.

There however are more zoom limits, which the game chooses from:

  • free zoom limit, this is applied when the camera is unlocked (done by console).
  • map editor zoom limit, ofc applied in the map editor, and this is like a huge zoom limit.
  • relaxed zoom limit, applies when GUI is hidden, or when camera is unlocked via the settings.
  • default zoom limit, applies in all other cases.

Fix-Suggestion:

I do not know much about the free or the map editor zoom limit.

But the relaxed zoom level has to be tweaked by this mod too, it would probably sufficient to keep it synced with the default zoom limit and the CameraTweaker setting. That way there is no jumping between zoom levels when hiding the GUI.

Old mod behavior:

By applying that fix this new mod would make ZoomOutCamera completely obsolete - as it should be, as that is no longer being maintained.
This is what the old mod was doing: https://github.com/MattMcMullan/Timberborn-Mods/blob/main/ZoomOutCamera/CameraSystemPatch.cs

And apparently the unlocked camera had a higher zoom out limit than the locked one.
One could instead provide two sliders, or just keep both zoom limits the same as I suggested.


Looking forward for the fix, thanks for you mod :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.