ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.66k stars 616 forks source link

[HL1][Feature Request] Add an option to adjust FOV #450

Closed thegreatprophetzarquon closed 10 months ago

thegreatprophetzarquon commented 11 years ago

Currently there is no option to adjust FOV in-game. The default FOV is too low for widescreen monitors (it gives me a headache). Changing FOV is currently considered a cheat in CS1.6, but is not a cheat in Half-Life (or any other non-CS game). While CS FOV should probably be left alone, a FOV slider (TF2 style) in Half-Life would be nice.

Old Thread: https://github.com/ValveSoftware/steam-for-linux/issues/1434

omen23 commented 8 years ago

i just realised this ... playing cstrike for years and then not ... i didnt even realize "what i was missing". FFS carmack implemented "cg_fov" https://steamcommunity.com/sharedfiles/filedetails/?id=165867114 we even got a guide ... what game is more competitive than quake3 ? add a FOV cvar, I demand it as programmer and player! kind regards

BlackShadow commented 5 years ago

just leaving this here and this issue can be closed.

You can adjust your FOV in Half-Life typing "default_fov (default is 90)"

@kisak-valve This issue can be closed.

07c0ff3a590b commented 4 years ago

CS 1.6 needs to allow a maximum FOV of at least 120 or 150. Playing on ultrawide screen: image If no patch is going to be ruled out then I'll reverse engineer the client and make my own tool.

BlackShadow commented 4 years ago

CS 1.6 needs to allow a maximum FOV of at least 120 or 150. Playing on ultrawide screen: image If no patch is going to be ruled out then I'll reverse engineer the client and make my own tool.

default_fov is disabled by default because it counts as a cheat in Counter-Strike. Even if you reverse engineer client.dll you won't able to join any community servers because your client.dll will differ than the actual CS's client.dll. And also editing client.dll will get you a VAC ban in result. Also there's already a reverse engineered CS in Github.

07c0ff3a590b commented 4 years ago

@BlackShadow I definitely agree with you, but this would be a memory hack instead of a custom client DLL, I have a ultra widescreen and I can't play like this can I?

The purpose of the tool is to tap inside the GoldSrc engine and change the global variable for the FOV because in 1.6 the default_fov command does not change anything within the assembly so I'll have to make a workaround considering that.

Also why not allow default_fov under sv_cheats conditions? That would at least be okay, just like in CS:GO where you are required to have sv_cheats enabled in order to use fov_cs_debug.

Edit 1: This I don't like to call it a "hack" will only be available for Non-Steam users and FOV doesn't give a huge advantage if you suck at the game, in Half Life 1 when you expand your FOV the sensitivity is also altered.

BlackShadow commented 4 years ago

Memory hacks also can be detected by VAC. I don't think FOV change will applied to the game but widescreen support surely can be added. In the meantime you can try widescreen weapon fix made by community (You can find it on Google) with aspect ratio 16:9. It's not the best result, but hey it's something. Or just completely use 4:3 . I don't know how 4:3 will result in a widescreen though.

thegreatprophetzarquon commented 10 months ago

Congrats on the update!