MantisBT - Zandronum
View Issue Details
0002023Zandronum[All Projects] Bugpublic2014-12-09 13:502024-03-22 05:02
Ch0wW 
 
normalminoralways
confirmedbackport later 
1.3 
 
0002023: set default chase_* values when a player dies with r_deathcamera
When dead, the chasecam, which is basically a cheat CVAR, is enabled. But if you are using high values or bad ones for chase_*, either it breaks the screen visibility, OR you can see farther than usual.

Other ZDoom ports blocks it to the default value when you're dying, so why not Zandronum?
1) chase_dist 50000
2) chase_height 30
3) r_deathcamera 1
4) Die.
5) Enjoy.
Fix must be done in P_AimCamera (function replacement in the TXT file attachment, since I cannot do .diff files yet).

Please note that it won't bug with mods like Brutal DooM, where it seems it's a camera created in ACS/Decorate (I'm not even sure, but it doesn't break).
abuse, camera, death, player
txt _Fix-P_AimCamera_function.txt (1,514) 2014-12-09 13:50
/tracker/file_download.php?file_id=1343&type=bug
Issue History
2014-12-09 13:50Ch0wWNew Issue
2014-12-09 13:50Ch0wWFile Added: _Fix-P_AimCamera_function.txt
2014-12-09 14:59Edward-sanNote Added: 0011050
2014-12-09 15:08Edward-sanNote Edited: 0011050bug_revision_view_page.php?bugnote_id=11050#r6136
2014-12-10 21:51Edward-sanNote Added: 0011052
2014-12-12 16:42Ch0wWNote Added: 0011054
2014-12-26 22:10Edward-sanNote Added: 0011092
2014-12-26 22:33Edward-sanNote Edited: 0011092bug_revision_view_page.php?bugnote_id=11092#r6158
2015-04-04 16:18Ch0wWNote Added: 0012018
2024-03-22 05:02Ru5tK1ngNote Added: 0023459
2024-03-22 05:02Ru5tK1ngStatusnew => confirmed
2024-03-22 05:02Ru5tK1ngResolutionopen => backport later

Notes
(0011050)
Edward-san   
2014-12-09 14:59   
(edited on: 2014-12-09 15:08)
I can reproduce the issue on ZDoom trunk, you can reproduce the issue by setting chase_dist greater than 32767. Bug reported on zdoom forum.

(0011052)
Edward-san   
2014-12-10 21:51   
I'm thinking about limiting the chase_dist range between 0 and 100, and chase_height between -10 and 10. Do you have any objections?
(0011054)
Ch0wW   
2014-12-12 16:42   
Sure, as long as the player lives.

When the player dies, if sv_cheats is not set to true, use default values of chase_dist & chase_height.
(0011092)
Edward-san   
2014-12-26 22:10   
(edited on: 2014-12-26 22:33)
Fixed by randi ... well, the choice is satisfying enough for now.

(0012018)
Ch0wW   
2015-04-04 16:18   
Still isn't fixed in current Zand 2.0 source code.

And the current choice would let people get 2 "no-good" cases:

• Get a screen advantage/cheat, combined with 3rd person camera;
• Get extremely weird cameras on death, like on this screen:'http://image.noelshack.com/fichiers/2015/14/1428158673-screenshot-doom-20150404-163852.png [^]'

Casually speaking, that shouldn't be a problem.
Competitively speaking, that's extremely annoying, and unfair too.
(0023459)
Ru5tK1ng   
2024-03-22 05:02   
The partial fix for this will be ported in 4.0. Afterwards we can then talk about fine tuning the fix further.