Flag to remove view bobbing with NOGRAVITY for players

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

Moderator: GZDoom Developers

Flag to remove view bobbing with NOGRAVITY for players

Postby Gutawer » Fri Oct 27, 2017 1:01 pm

Currently the only way to remove this is to go into noclip2 mode, which obviously comes with the effect of going through walls. I'd like a flag to force this behaviour off, perhaps PLAYERPAWN.NOFLYBOBBING.
User avatar
Gutawer
User Accounts Assistant
 
Joined: 16 Apr 2016
Discord: Gutawer#3431

Re: Flag to remove view bobbing with NOGRAVITY for players

Postby ZippeyKeys12 » Wed Nov 01, 2017 8:27 pm

Is Bob not virtualized?
ZippeyKeys12
 
Joined: 15 Jun 2016

Re: Flag to remove view bobbing with NOGRAVITY for players

Postby Gutawer » Thu Nov 02, 2017 2:09 am

Bob doesn't handle this, I've checked and the passive fly bobbing is hard coded into the C++.
User avatar
Gutawer
User Accounts Assistant
 
Joined: 16 Apr 2016
Discord: Gutawer#3431

Re: Flag to remove view bobbing with NOGRAVITY for players

Postby ZippeyKeys12 » Thu Nov 02, 2017 1:18 pm

Gutawer wrote:Bob doesn't handle this, I've checked and the passive fly bobbing is hard coded into the C++.

:( I'd prefer for it to be virtualized rather than adding a flag and leaving it hard-coded, but we could possibly have both.
ZippeyKeys12
 
Joined: 15 Jun 2016

Re: Flag to remove view bobbing with NOGRAVITY for players

Postby nazakomu » Sat Nov 04, 2017 2:05 am

I'm in favor of this stuff being externalized as well. Almost invariably, exposing things like this to scripting is the way to go.
User avatar
nazakomu
divine
 
Joined: 30 Nov 2016
Discord: Nazakomu#2197

Re: Flag to remove view bobbing with NOGRAVITY for players

Postby cybermind » Sun Jun 16, 2019 1:51 am

Sorry for bumping, but while coding my flying PlayerPawn replacement I realized that there is no way to disable passive view bobbing through ZScript, so I need this feature too.
User avatar
cybermind
 
Joined: 03 Jan 2011

Re: Flag to remove view bobbing with NOGRAVITY for players

Postby Marisa Kirisame » Sat Jul 20, 2019 8:07 am

I really do need this too. If no one else wants to write a PR I'll do it.
User avatar
Marisa Kirisame
ZScript Magician
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa Kirisame#4689
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
Graphics Processor: nVidia with Vulkan support


Return to Feature Suggestions

Who is online

Users browsing this forum: Zaratul and 0 guests