Question / Help Disable Scene Transition Fading

Darksim

New Member
Is there any way to disable the fade transition and have a hard cut? The fade itself isn't too bad, but since it fades out on a single frame I lose a bit of whatever was happening when I switch scenes. This is particularly undesirable when I switch scenes to capture someone's post game reaction (I stream smash tournaments) and part of it is lost during the switch.

In the likely chance that there is no easy way to change this, I was skimming through the source code but I was unable to spot anything relating to the scene transition, leading me to believe it's something buried in the code. How hard would it be to permanently disable this? Would it break other stuff?

I know Multiplatform does hard cuts for it's scene transitions, but switching to that is too untested for what I do, lacks some minor functionality that I would want, and would require rewriting things for the different browser plugin.
 

Darksim

New Member
It took a while to find SetScene in api.cpp, but after setting bSkipTransition = true; and also commenting out everything that checked for !bSkipTransition because I could (and the actual check to set bSkipTransition to true), it worked. It still had delay until I made everything in every scene a global source, and now it switches instantly. I also disabled auto updates and gave it my own version number. Definitely the most fun I had this week.

I probably should have made this thread in development. If anyone else ever wanted to do this, it was actually really easy, it took way more time to find where SetScene was than to actually make the changes.
 
Top