Missing bobbing effect on mg42 static
chair anim fix might be involved
In ioRTCW with reverted commit №069725d "All: Fix listen server sending snapshots each client frame" bobbing effect on mg42 static works fine for the original mg42 static model. Perhaps the bug is present in the updated mg42 static model for RealRTCW.
Model is not involved in bobbing effect. Its just a guess for now. Will investigate. Thanks for the intel on iortcw.
Since the bobbing effect for mg42 static works fine in ioRTCW with the reverted commit №069725d, there may be some commit in RealRTCW that does not work with the bobbing effect for mg42 static (with the already reverted commit №069725d). I've been compiling older versions of the RealRTCW code (with commit №069725d already reverted) to find out which commit is causing the mg42 static bobbing effect, but code versions from Jan 2022 and older don't run after compilation. Compiled with the command: ARCH=x86 make, and for code versions where there is an error with rendering, compiled with the command: ARCH=x86 LDFLAGS='-static-libgcc' make. But after compilation, when RealRTCW.x86 is launched, nothing starts.
Bug was indeed caused by chair fix. Reverted it for now.
The bug is not due to commit №069725d, as bobbing effect on mg42 static works fine in ioRTCW (with reverted commit №069725d). I could find after which commit the bobbing effect on mg42 static does not work, but older versions of the RealRTCW code do not run after compilation (both x86 versions and x64 versions). For example, I compiled RealRTCW dated November 25, 2021. But when RealRTCW.x86 or RealRTCW.x64 is launched, nothing happens.
I compiled RealRTCW dated November 08, 2020 (with reverted commit №069725d). The bobbing effect on mg42 static and the chair swing animation work fine. So you need to find a commit in RealRTCW after November 08, 2020 that breaks the bobbing effect on mg42 static. But as I said earlier, RealRTCW versions (approximate period of these versions: after November 08, 2020 and until May 25, 2022) do not start for me after compilation (both x86 versions and x64 versions). I compiled RealRTCW dated May 25, 2022 (with reverted commit №069725d). The bobbing effect on mg42 static no longer works, but the chair swipe animation works fine. Perhaps in this version period, you need to look for a commit that breaks the bobbing effect on mg42 static.
I found a commit that breaks the bobbing effect on mg42 static. This is commit №21d68f2 "MG42 stationary echo sound" from Aug 23, 2021. I compiled RealRTCW with reverted commit №069725d "All: Fix listen server sending snapshots each client frame" from Sep 19, 2017 and with reverted commit №21d68f2 "MG42 stationary echo sound" from Aug 23, 2021. The bobbing effect on mg42 static and the chair swing animation work fine.
Thanks. Will investigate.
Could be this line that was erased on commit №21d68f2 ? ---> "CG_StartShakeCamera( 0.05, 100, cent->lerpOrigin, 100 );"