Only weapon bobbing (no camera bobbing)

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Derik
Posts: 5
Joined: Fri Dec 29, 2017 3:44 pm

Only weapon bobbing (no camera bobbing)

Post by Derik »

Hello there,

After searching for nearly 5 hours how to make only the weapon moving while player is moving without having the whole screen bobbing i end up here as i have not been able to accomplish that.
I tried obviously the options in the GZDoom menu (i use latest version 4.1.3, well latest is 4.2.0 now it seems but it should be ok). I have tried my best at my Google skill (which is not bad ;p) and i found that : https://github.com/rheit/zdoom/blob/mas ... d_player.h but not sure if this would really do what I'm looking for. Nor do i know how to use/where to place the .h extension file (Google was a big let down for that). Even after unziping the gzdoom .pk3 i did not see a .h files folder.

It's the only thing that is missing for a better immersion.

Thank you for your assistance in this matter.




PS : I made this thread in the suggestion section as i wasn't sure this was relevant to put it in the general sub-forum. Feel free to move it wherever it would suite best if needed.
e: After some more considerations i was wondering if technically it would be feasible to have a separate volume slider just for the weapons inside GZDoom UI.
User avatar
Kizoky
Posts: 285
Joined: Mon Nov 14, 2011 9:59 am
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them

Re: Only weapon bobbing (no camera bobbing)

Post by Kizoky »

If you set Player.ViewBob to 0 it will disable that "camera bobbing"
For disabling things like "bobbing when falling onto a ground" you can just set Player.DeltaViewHeight to Player.ViewHeight

this way, only the weapon would bob
Scile
Posts: 3
Joined: Fri Mar 08, 2019 5:32 pm

Re: Only weapon bobbing (no camera bobbing)

Post by Scile »

Kizoky wrote:If you set Player.ViewBob to 0 it will disable that "camera bobbing"
For disabling things like "bobbing when falling onto a ground" you can just set Player.DeltaViewHeight to Player.ViewHeight

this way, only the weapon would bob
Doesn´t work. It disables weapon bobbing as well.

Return to “Feature Suggestions [GZDoom]”