OpenXRay/xray-16

Hud fov.

開放

#1,446 建立於 2023年9月17日

 (4 則留言) (0 個反應) (0 位負責人)C++ (519 個分叉)auto 404
EnhancementGame assetsHelp wantedModmaker ExperiencePlayer Experiencegood first issue

倉庫指標

星標
 (3,524 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南