Git Product home page Git Product logo

Comments (6)

DolphinGamerYT avatar DolphinGamerYT commented on May 29, 2024 1

Thank you so much!

from cs_beatsaber_camera2.

DolphinGamerYT avatar DolphinGamerYT commented on May 29, 2024

Btw, I think I've set the wrong label. Sorry if I did 😓

from cs_beatsaber_camera2.

DolphinGamerYT avatar DolphinGamerYT commented on May 29, 2024

Tried to look at sourcecode, and I think I saw that frames should be under "Movements", not "Frames". By doing that, the issue changes:

_latest.log

from cs_beatsaber_camera2.

DolphinGamerYT avatar DolphinGamerYT commented on May 29, 2024

Wait, nvm ^^

Solved it by adding a third keyframe, but the error was printing Movement scripts must contain at least two keyframes. Pretty weird.

from cs_beatsaber_camera2.

kinsi55 avatar kinsi55 commented on May 29, 2024

Oops, seems like I messed up the loading of scripts

[ERROR @ 00:14:57 | Camera2] Failed to load Movement script zoomin.json
[ERROR @ 00:14:57 | Camera2] System.Exception: Movement scripts must contain at least two keyframes
[ERROR @ 00:14:57 | Camera2]   at Camera2.Managers.MovementScriptManager.LoadMovementScripts (System.Boolean reload) [0x00064] in <385dfe21506141029338edceda9bc843>:0 

Obviously, you do have two keyframes, but with how the code works right now you actually need three, so if you add a third keyframe it should work. I'll fix that.

Also, when a scene is configured to show a camera with a movement script, does the movement script start over, or does the movement start when the song starts playing, and when switching the scene, the movement is in the middle?

If you use enableInMenu, as you do, and use the same camera ingame, the movement will continue where it left off. If you want it to reset and start from 0 you can enable syncToSong in the movement script (Or use a different camera ingame than what you use in the menu)

Tried to look at sourcecode, and I think I saw that frames should be under "Movements", not "Frames". By doing that, the issue changes:

frames is actually the correct key, movements is what camera+ uses.

from cs_beatsaber_camera2.

kinsi55 avatar kinsi55 commented on May 29, 2024

Fixed in v0.3.26 https://github.com/kinsi55/CS_BeatSaber_Camera2/releases/latest

from cs_beatsaber_camera2.

Related Issues (20)

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.