Ticket #43168

FOV changed from CCMD to CVAR

Open Date: 2021-11-06 21:59 Last Update: 2022-01-29 22:23

Reporter:
Owner:
(None)
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
2

Details

Hello, as you may know, the FOV of the player gets reset to 90 every time they spawn. However, I've managed to find a way to change it so that the FOV is set to a FOV CVAR on spawn. The code is ready and I've tested it client and server side: both work when I tested alone. Would you be willing to accept this commit if I submitted it? Kaminsky said I should mention that this has been done in GZDoom, however some of it is Zscript related. Despite that, I found a way to make it work. My code is similar to it. https://github.com/coelckers/gzdoom/commit/bb1709228cb0e9b66150094d9d836e50468772b4

Ticket History (3/5 Histories)

2021-11-06 21:59 Updated by: auratoostronk
  • New Ticket "FOV changed from CCMD to CVAR" created
2021-11-14 15:45 Updated by: akmdm
  • Owner Update from torr_samaho to (None)
  • Priority Update from 7 to 5 - Medium

Attachment File List

  • fov.patch(5KB)
    • fov patch
  • 10770.patch(5KB)
    • Fixed some bugs with the patch not working on servers :P

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login