[1.3.11] Field Of View (FOV) Mod v2.3, A SCP-CB Modification

#1
Field Of View (FOV) v2.3 For "SCP - Containment Breach" for v1.3.11.
Image
Gameplay by NaniTailedFox: https://www.youtube.com/watch?v=Mpn3-UbYzlM
https://www.youtube.com/watch?v=Es7mWlTJh3A

Downloads:
Main Download To Support Me: http://zipansion.com/20116963/fov-addon
Spoiler
Otherwise, here's the Direct Download: https://mega.nz/#!A3glmbiI!hnFNtOkAGKSc ... RGhGef7S88
Link to Itch.io Page:
Image


Link to ModDb Page:
Image


Link to IndieDb Page:
Image


Changelog
Spoiler
v2.3

- Fix graphical bug when the description of the FOV Slider on the pause menu is incorrectly displayed.

v2.2

- Updated to v1.3.11.
- Changed setting description of the FOV Slider to match the style of the original game's settings implemented for v1.3.11.
- Added version number of mod within the setting description of the FOV Slider.

v2.1

- Implemented refined version of FOV slider made by Third Subvision Studio.
- Default FOV has changed to 74.
- Default FOV slider range has changed to 40 through 90.
- Simplified FOV description.
- Added Credits.
- Fixed a FOV related graphical bug involving the access codes for doors.

v2.0

- Updated to v1.3.10 (4GB Patch included)
- Added a designated slider to change the FOV from 0 to 100 (default has changed from 90 to 73.74, Blitz3D's default) which means the FOV can now be changed in-game.
- Added console command support (just type "fov" followed by the number desired. It is recommended you pick within the range of 40 to 120 or you may experience graphical issues).
- Removed the new freeimage.dll to prevent any incompatibility issues.
- "FOV was changed to the lower case "fov" for purely aesthetic purposes.

v1.0
- Released for v1.3.9
- Option to change FOV from the options file. Cannot be changed in-game.


The FOV Addon Has Been Featured In The Following:
Image

Image

Image


What does it do?
Spoiler
It simply allows changes to the Horizontal Field of View or simply (FOV) in SCP - Containment Breach.
What is Field of View (FOV)?
Spoiler
Field of View simply means the extent of the observable environment being visible to the player in a 3D First Person Video Game. Most FOV settings in other games (like Minecraft) utilize only Horizontal FOV and this addon will do the same. Although in this case, it can't be changed in-game but through the "options.ini" file.
Learn more in the following links about FOV: https://en.wikipedia.org/wiki/Field_of_ ... ideo_games
https://pcgamingwiki.com/wiki/Glossary: ... view_(FOV)
What does the code change?
Spoiler
It adds a FOV option as a Global for MouseLook()'s CameraZoom to utilize

Code: Select all

Global FOV# = GetINIFloat(OptionFile, "options", "fov")
It then changes the CameraZoom setting in the "MouseLook" Function" to enable a Field of View

Code: Select all

CameraZoom(Camera, Min(1.0+(CurrCameraZoom/400.0),1.1) / Tan((2*ATan(Tan((FOV#)/2)*RealGraphicWidth/RealGraphicHeight))/2.0))
"FOV#" is the number you set in the "options.ini" file
Install Instructions After Download:
Spoiler
Extract the contents and simply drag and drop the "SCP - FOV.exe" file, the new "options.ini" file and the txt files to the main game folder of a fresh install of SCP - Containment Breach.
Image
Gameplay Instructions:
Spoiler
Simply go to "options.ini" and find the "fov" setting at the "[options]" section. Change the number to what number you please (The default setting is 74).
Image
I am experiencing bugs (Graphics, Lag, MAVs etc).
Spoiler
Go to this thread for further instructions to deal with MAVs (http://undertowgames.com/forum/viewtopic.php?t=3742)
If all else fails, it is likely a bug in the current version of the game proper. If it's a mod related issue, please report them to me.
Credits:
Spoiler
TheHappyJammer: Main programmer and creator of the mod.
ENDSHN: Implemented refined version of the FOV slider.
Inclination: Implemented original version of the FOV slider.
Vane Brain: Fixed sprite related bugs in changing the FOV.
Earok: Use of CameraZoom Function to enable FOV using Sswift's original code.
Sswift: Made the code that inspired the FOV mod.
RadReed: Spotted Access Code Bug.

Created and Compiled by TheHappyJammer.

With extensive help from Vane Brain for help in finding bugs with the Blinking and Light Sprites.[/b]

"SCP - Containment Breach" Created by Undertow Games and Third Subvision Studio (https://github.com/Regalis11/scpcb).

Compiled Using Blitz3D by Blitz Research. (https://blitzresearch.itch.io/blitz3d).
Using "Mavless Bin" by juanjpro (http://undertowgames.com/forum/viewtopic.php?t=5433).

Utilizes "Resource Hacker" by Angus Johnson (http://www.angusj.com/resourcehacker/).

FOV Source Code is based on the work of sswift of the Blitz Forums and Earok of Earok.net.
Sswift's Original Code: https://www.syntaxbomb.com/index.php?topic=666.0
Expansion of Sswift's Code by Earok: http://earok.net/sections/articles/game ... es-blitz3d
More Images
Spoiler
Image
FOV slider from the pause menu
Image
Intro, Regular
Image
Intro, FOV Setting "90"
Image
173 Chamber, Regular
Image
173 Chamber, FOV Setting "90"
Image
Initial Breach, Regular
Image
Initial Breach, FOV Setting "90"
Last edited by TheHappyJammer on Fri Jul 19, 2019 11:18 pm, edited 53 times in total.
[1.2.3] SCP Containment Breach 087-B Mod:
viewtopic.php?f=11&t=4944
[1.3.11] Field Of View (FOV) Mod:
https://undertowgames.com/forum/viewtop ... f=5&t=8433

Re: [1.3.9] Field Of View (FOV) Addon, A SCP-CB Modification

#3
Zackonark wrote:It's a shame no one has said anything about this mod. It's a fantastic little addition I feel should be in the base game. I mean, the fact you even got it working is impressive from my point of view.
Thanks for the support! It really wasn't that hard to implement. The code is based on code I found in the now defunct Blitz Forums, but it was really just me wanting to have FOV as a feature since I always found the player looks like he's hugging the wall with how close the FOV was in regular SCP-CB lol
[1.2.3] SCP Containment Breach 087-B Mod:
viewtopic.php?f=11&t=4944
[1.3.11] Field Of View (FOV) Mod:
https://undertowgames.com/forum/viewtop ... f=5&t=8433

Re: [1.3.9] Field Of View (FOV) Addon, A SCP-CB Modification

#4
TheHappyJammer wrote:Thanks for the support! It really wasn't that hard to implement. The code is based on code I found in the now defunct Blitz Forums, but it was really just me wanting to have FOV as a feature since I always found the player looks like he's hugging the wall with how close the FOV was in regular SCP-CB lol
Well, if it was so easy to implement, then all the more reason to have it in the game. It really just makes me question what stopped them from doing so in the time frame of 4+ years.

One could also argue that the simple fact you can go through the source code and understand just what the hell is going on in there is impressive. Heaven knows I couldn’t
I'm a lead developer of the SCP Containment Breach Unity Remake. Check it out! You might enjoy it
Official Website

Re: [1.3.9] Field Of View (FOV) Addon, A SCP-CB Modification

#5
Zackonark wrote:
TheHappyJammer wrote:Thanks for the support! It really wasn't that hard to implement. The code is based on code I found in the now defunct Blitz Forums, but it was really just me wanting to have FOV as a feature since I always found the player looks like he's hugging the wall with how close the FOV was in regular SCP-CB lol
Well, if it was so easy to implement, then all the more reason to have it in the game. It really just makes me question what stopped them from doing so in the time frame of 4+ years.

One could also argue that the simple fact you can go through the source code and understand just what the hell is going on in there is impressive. Heaven knows I couldn’t
I do hope that the new engine that the devs are working on for CB won't be much of a hard learning curve.
[1.2.3] SCP Containment Breach 087-B Mod:
viewtopic.php?f=11&t=4944
[1.3.11] Field Of View (FOV) Mod:
https://undertowgames.com/forum/viewtop ... f=5&t=8433

Re: [1.3.10] Field Of View (FOV) Addon, A SCP-CB Modification

#6
New Update for the FOV Addon Is Now Released! It is updated to 1.3.10 and has some neat features!
Image
Downloads:
Main Download To Support Me: http://zipansion.com/20116963/fov-addon
Spoiler
Otherwise, here's the Direct Download: https://mega.nz/#!M7wF1IQJ!tyDR_I53FgsY ... 9xUWkjofKY
Link to ModDb Page:
Image


Changelog
Spoiler
v2.0

- Updated to v1.3.10 (4GB Patch included)
- Added a designated slider to change the FOV from 0 to 100 (default has changed from 90 to 73.74, Blitz3D's default) which means the FOV can now be changed in-game.
- Added console command support (just type "fov" followed by the number desired. It is recommended you pick within the range of 40 to 120 or you may experience graphical issues).
- Removed the new freeimage.dll to prevent any incompatibility issues.
- "FOV was changed to the lower case "fov" for purely aesthetic purposes.
Last edited by TheHappyJammer on Fri Aug 03, 2018 7:23 pm, edited 1 time in total.
[1.2.3] SCP Containment Breach 087-B Mod:
viewtopic.php?f=11&t=4944
[1.3.11] Field Of View (FOV) Mod:
https://undertowgames.com/forum/viewtop ... f=5&t=8433

Re: [1.3.10] Field Of View (FOV) Addon v2.1, A SCP-CB Modification

#7
Another New (But Minor) Update for the FOV Addon Is Now Released! This update mainly deals with bug fixes and refining of the slider tool.
Image


Downloads:
Main Download To Support Me: http://zipansion.com/20116963/fov-addon
Spoiler
Otherwise, here's the Direct Download: https://mega.nz/#!0zxHgZhI!Wtw7WnGojsx5 ... 3tJHukkq9I
Link to Itch.io Page:
Image


Link to ModDb Page:
Image


Changelog
Spoiler
v2.1

- Implemented refined version of FOV slider made by Third Subvision Studio.
- Default FOV has changed to 74.
- Default FOV slider range has changed to 40 through 90.
- Simplified FOV description.
- Added Credits.
- Fixed a FOV related graphical bug involving the access codes for doors.
[1.2.3] SCP Containment Breach 087-B Mod:
viewtopic.php?f=11&t=4944
[1.3.11] Field Of View (FOV) Mod:
https://undertowgames.com/forum/viewtop ... f=5&t=8433
cron