OpenXRay/xray-16

Hud fov.

Aperta

#1446 aperta il 17 set 2023

 (4 commenti) (0 reazioni) (0 assegnatari)C++ (519 fork)auto 404
EnhancementGame assetsHelp wantedModmaker ExperiencePlayer Experiencegood first issue

Metriche repository

Star
 (3524 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Is your feature request related to a problem? Please describe.

Since we already have FOV option as setting, possibly adding HUD fov would be great addition. Default COP rates are not best thing you can see here combined with high weapon recoil.

Describe the solution you'd like

  • Just adding hud FOV setting in menu
  • Main problem is that hud_fov cmd expects values in range 0...1, not 0...100. Probably console command should be updated to expect different range of numbers
  • With default settings some values above .7-.75 are cutting off hud rendering (usually stock). Changing src/xrEngine/device.h #define VIEWPORT_NEAR 0.2f to #define VIEWPORT_NEAR 0.05f helped me for most cases, but still stock rendering should be checked with extremely high FOV values near upper limits. + I am not also aware which side effects changing of this value can cause

Guida contributor