Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002022Zandronum[All Projects] Suggestionpublic2014-12-09 00:022014-12-31 11:01
ReporterCh0wW 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformAnyOSOS Version
Product Version1.3 
Target VersionFixed in Version 
Summary0002022: cl_spectator_flybob CVAR
Descriptioncl_spectator_flybob is a CVAR that disables flybob as a spectator.
It is a feature ported from prodamex, a (now dead) competitive port made specifically from odamex 0.6.4.
Steps To ReproduceTo keep it simple:

1) in p_mobj.cpp OR p_user.cpp
2) Check in P_CalcHeight the bob when the player is not on the ground.
3) Check in P_ZMovement the z position when the player is in the air.

The file provided gives the code to modify.
Additional InformationFind a way to reset to 0 the z floating bob when cl_spectator_flybob is set to 0.
Attached Filestxt file icon cl_spectator_flybob.txt [^] (1,696 bytes) 2014-12-09 00:02 [Show Content]

- Relationships

-  Notes
User avatar (0011048)
Dusk (developer)
2014-12-09 00:14
edited on: 2014-12-09 00:15

Please provide patches in diff format, they would be easier to deal with than text files like this. Also I don't think the bob field does anything for spectators. What is desired is the modification of the mo->z field.

I have an implementation on disabling the flybob as well stashed though it's a boolean cvar. I didn't finish it because I also wanted to remove the sliding of the spectator movement.

User avatar (0011049)
Ch0wW (reporter)
2014-12-09 00:45
edited on: 2014-12-09 00:54

Sorry for the .diff format, but when doing so, it reveals also every patch i'm doing, and that's not the thing I want. I'll try to find a solution next time.

- For the movebob: Check by yourself:
> SP => movebob 0 + sv_cheats 1 + Fly cmd.
You'll notice that you'll get a very very low bobbing.

As Spectators are exactly like a player without a weapon, that check and modification was done.

For the boolean, I also did it, but people could appreciate having an extremely low flyingbob when spectating. Hence the [0<x<1] float, or even for future moviemaking.

EDIT: And it's not that important if the sliding is still present or not. People that are joining with the cvar set to 0 will be on the ground first. (so maybe set the z value of the ground or ceiling when the spectator hits it could be a possible solution to have)


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: JC Ch0wW WaTaKiD
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-12-09 00:02 Ch0wW New Issue
2014-12-09 00:02 Ch0wW File Added: cl_spectator_flybob.txt
2014-12-09 00:14 Dusk Note Added: 0011048
2014-12-09 00:15 Dusk Note Edited: 0011048 View Revisions
2014-12-09 00:45 Ch0wW Note Added: 0011049
2014-12-09 00:50 Ch0wW Note Edited: 0011049 View Revisions
2014-12-09 00:50 Ch0wW Note Edited: 0011049 View Revisions
2014-12-09 00:54 Ch0wW Note Edited: 0011049 View Revisions
2014-12-31 11:01 Torr Samaho Product Version 2.0-beta => 1.3






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker