Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forceCameras causes cameras to rapidly switch between all views #1790

Open
vinidamiani opened this issue May 5, 2024 · 6 comments
Open

forceCameras causes cameras to rapidly switch between all views #1790

vinidamiani opened this issue May 5, 2024 · 6 comments
Labels
bug Code broke, fix yes?

Comments

@vinidamiani
Copy link

Basically when you add "forceCameras" to a part, it makes so the view rapidly switches between all available cameras

Also, camera overlays are missing the alpha channel and will be completely distorted if using any aspect ratio other than 16:9, which weren't an issue in V21.0

@LauraDarkez
Copy link
Contributor

LauraDarkez commented May 9, 2024

@vinidamiani the alpha channel missing is because you now need to include "_translucent" or "translucent_" in the filename. and update the jsons that use these overlays to reflect this name change

@DonBruce64 DonBruce64 added the bug Code broke, fix yes? label May 14, 2024
@DonBruce64
Copy link
Owner

@LauraDarkez Did this really happen though? I thought I just made all camera overlays translucent by default?

@vinidamiani Noted on the camera stuff. That's likely another mod that's fouling things since I can confirm it works on my end. What other mods do you have installed and does this happen if you remove all others?

@vinidamiani
Copy link
Author

Thank you very much for the replies, adding _translucent at the end of the texture seems to work well, there is still the distortion issue, I don't know if that qualifies as an issue or a suggestion for an improvement

As for the flickering

I only have Immersive Vehicles V22.14.2 installed with Forge 14.23.5.2859

The issue seems to persist trough multiple computers and other packs besides my own

I could be using forceCameras improperly? Its currently inside the seat part slot, above the gun that adds on to it, and the gun has the camera. If I switch using F5 it works

@LauraDarkez
Copy link
Contributor

LauraDarkez commented May 15, 2024

oh, question: do you have more than one camera "available" for forcedCameras to detect? im wondering if maybe you need to perhaps add activeAnimation visibility anims that disables all but one camera at a time at any given time. for example, make the first camera active only when main gun is active, second camera only when on secondary gun, or something akin to that. either way, this shouldnt happen, forcedCameras should simply force you to always be in a camera that exists and preventing you from going into first person view, likely starting with the first one on the list, and allow cycling through them

@vinidamiani
Copy link
Author

I only have the one camera in the entire vehicle, and I even set up a visibility animation already in case I add more and so the camera isn't visible from the other seats

otherwise, only the one camera, I don't know if the vanilla cameras matter? Cause it is cycling between the gun camera and the default first person view camera

@DonBruce64
Copy link
Owner

@vinidamiani I know you're not about to join the IV discord, but can you get with me in DMs so I can send you a beta with camera changes? We re-did a few things recently and I want to check if it'll fix this issue or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Code broke, fix yes?
Projects
None yet
Development

No branches or pull requests

3 participants