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

If you have models, sound effects, textures or anything else you would like to be put in the game, post them here. Ideas and suggestions are also welcome.
User avatar
TheHappyJammer
Technician
Posts: 62
Joined: Sun Nov 15, 2015 4:35 am

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

Postby TheHappyJammer » Wed May 23, 2018 6:32 am

Field Of View (FOV) v2.2 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


Link to Itch.io Page:
Image

Link to ModDb Page:
Image

Link to IndieDb Page:
Image

Changelog
Spoiler
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

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_view_in_video_games
https://pcgamingwiki.com/wiki/Glossary:Field_of_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-dev/theory/widescreen-issues-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 Sun Sep 09, 2018 10:46 pm, edited 51 times in total.

User avatar
Zackonark
Guard
Posts: 210
Joined: Thu Aug 20, 2015 2:40 pm

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

Postby Zackonark » Thu Jun 21, 2018 2:11 am

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.
I'm a lead developer of the SCP Containment Breach Unity Remake. Check it out! You might enjoy it
Official Website

User avatar
TheHappyJammer
Technician
Posts: 62
Joined: Sun Nov 15, 2015 4:35 am

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

Postby TheHappyJammer » Thu Jun 21, 2018 4:34 am

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

User avatar
Zackonark
Guard
Posts: 210
Joined: Thu Aug 20, 2015 2:40 pm

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

Postby Zackonark » Thu Jun 21, 2018 7:42 pm

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

User avatar
TheHappyJammer
Technician
Posts: 62
Joined: Sun Nov 15, 2015 4:35 am

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

Postby TheHappyJammer » Sat Jun 23, 2018 3:47 am

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.

User avatar
TheHappyJammer
Technician
Posts: 62
Joined: Sun Nov 15, 2015 4:35 am

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

Postby TheHappyJammer » Mon Jul 30, 2018 8:46 pm

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


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.

User avatar
TheHappyJammer
Technician
Posts: 62
Joined: Sun Nov 15, 2015 4:35 am

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

Postby TheHappyJammer » Fri Aug 03, 2018 6:22 pm

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


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.

User avatar
DropTherapy
Technician
Posts: 58
Joined: Fri Jun 24, 2016 7:05 pm
Location: screwing around in FL Studio
Contact:

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

Postby DropTherapy » Wed Aug 08, 2018 4:39 am

Something like depth of field would be a cool addition in my opinion.
http://droptherapy.weebly.com/ my website
i've only been playing SCPCB since 0.8.2, but i have still seen huge improvements. :P

User avatar
TheHappyJammer
Technician
Posts: 62
Joined: Sun Nov 15, 2015 4:35 am

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

Postby TheHappyJammer » Wed Aug 08, 2018 7:01 am

DropTherapy wrote:Something like depth of field would be a cool addition in my opinion.


I think the Texture LOD bias setting does this no?

User avatar
DropTherapy
Technician
Posts: 58
Joined: Fri Jun 24, 2016 7:05 pm
Location: screwing around in FL Studio
Contact:

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

Postby DropTherapy » Wed Aug 08, 2018 10:09 pm

TheHappyJammer wrote:
DropTherapy wrote:Something like depth of field would be a cool addition in my opinion.


I think the Texture LOD bias setting does this no?

no.
http://droptherapy.weebly.com/ my website
i've only been playing SCPCB since 0.8.2, but i have still seen huge improvements. :P


Return to “Collaboration”

Who is online

Users browsing this forum: No registered users and 5 guests