OpenXRay/xray-16

Hud fov.

Aberta

#1.446 aberto em 17 de set. de 2023

 (4 comentários) (0 reação) (0 responsável)C++ (519 forks)auto 404
EnhancementGame assetsHelp wantedModmaker ExperiencePlayer Experiencegood first issue

Métricas do repositório

Stars
 (3.524 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador