Skip to content

allow players to change FOV#338

Open
bacalhau-seco wants to merge 6 commits into
Velaron:mainfrom
bacalhau-seco:main
Open

allow players to change FOV#338
bacalhau-seco wants to merge 6 commits into
Velaron:mainfrom
bacalhau-seco:main

Conversation

@bacalhau-seco
Copy link
Copy Markdown
Contributor

I was testing stuff and realized ReGameDLL overwrites whatever value you set in the default_fov cvar, so i added a small check that overwrites the fov to the default_fov cvar. Then I also made the cvar store the value so when you restart the game it stays.

default (90):
ss-07-05-2026_004

100:
ss-07-05-2026_005

120:
ss-07-05-2026_006

more than that look really ugly and i couldn't find a way to fix it. I tried just scaling the viewmodel but then it would clip

@a1batross
Copy link
Copy Markdown
Collaborator

I don't think that's something was intended by the game design.

HL let's you change FOV, if CS was supposed to do the same, they would've let you do it.

@bacalhau-seco
Copy link
Copy Markdown
Contributor Author

Well, it enhances the gameplay.
Custom crosshairs also aren't present on the original CS, ye they are implemented here and improve gameplay by a lot.
There are also clients (ex. NextClient) that let you change fov

I honestly think this pull request would've been a lot better if i had fixed that issue with the viewmodel scaling and clipping, but im not exactly sure whats causing it to clip.

@notencio
Copy link
Copy Markdown

notencio commented May 7, 2026

Good idea, in my case I would reduce it to have a better view because I find it difficult to see distant players on a smartphone screen.

@bacalhau-seco
Copy link
Copy Markdown
Contributor Author

Good idea, in my case I would reduce it to have a better view because I find it difficult to see distant players on a smartphone screen.

actually i made it so 90 is minimum...
but ig someone could change it and put it to 40>.

if its bellow 40 it goes into scoped mode

@a1batross
Copy link
Copy Markdown
Collaborator

Well, I really don't care about what Counter-Strike people wants yet I have merge access here.

If that's what people want, so be it. But for that I would like to hear other devs opinions, mainly @Vladislav4KZ who has been working hard on cs16-client on @Velaron absence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants