VCO - Viewmodel Camera Offset 1.0.3

Do not ask when mod authors will update their mods or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
Due to an unusually high volume of traffic, our site may be experiencing intermittent slowdowns. If you notice any issues, log out of your account and browse anonymously so you can better utilize caching or try using forge.sp-tarkov.com to search for and download mods.

A simple client mod that allows you to offset the player camera for cosmetic purposes. Backported to 3.10, pinned comment.

After discussing with the SPT community, I decided to write a mod that lets you offset the player camera without affecting the rest of the body. This unintentionally "fixed" the bizarre way some rifles are pushed into the player's shoulder. It also allows you to move your player view up, down, sideways, back and forth with very little restriction.


With version 1.0.1, VCO supports viewmodel Presets and a detection system. More on these further below.



SamSWAT.FOV is INCOMPATIBLE with this mod. VCO will disable itself if IncreasedFOV is installed.


Here's a comparison for the SCAR-H:

3WYdjuz.jpeg


Values used for the altered offset:

  • Horizontal offset: -0.01
  • Vertical offset: 0.065
  • FOV: 80

Available mod settings (Hotkey: F12)

Setting Range (value)
↓ Export section ↓
Preset Name (for exporting) Lets you type a preset name
Export Preset Exports the preset name with the current offset values on-click
↓ Field of View section
Enable expanded range Toggles ability to unrestrict FOV
↓ Offsets section ↓
X Camera Offset -0.5 to 0.5 (default: 0.05)
Y Camera Offset -0.5 to 0.5 (default: 0.05)
Z Camera Offset -0.5 to 0.5 (default: 0.05)
↓ Settings section ↓
Select Preset (dropdown) Allows for selecting and using an existing preset
Delete the current preset Deletes the curently selected preset, if it exists
Toggle the offsets on/off Immediately toggles the viewmodel patch on/off in realtime
Toggle automatic weapon detection Toggles the detection system for if you only want the viewmodel patch on with specific weapons

Installation

  1. Download the mod
  2. Open the archive `hazelify.VCO-X.X.X-XXX.zip` with 7-Zip
  3. Drag and drop the `BepInEx` folder into your main SPT folder (where SPT.Server.exe is)
  4. Profit

Credits

`net.hazelify` on Discord. For support, go to the SPT Discord community and ping me!

  • Version 1.0.3

    Updates!

    VirusTotal: Linked on the repo


    Changelog

    • Fixed X and Z offset values being interchanged, they now show and apply correctly
    • Added realtime refresh button (a toggle, because BepInEx goofy) for the automatic weapon detection system
    • Removed debug logging that was left in
  • Version 1.0.1-311

    Updates!

    VirusTotal: Linked on the repo


    Changelog

    • Added master toggle for viewmodel
    • Added weapon detection system; read more on this below
    • Added presets system with full export support
    • Added default configs (see `BepInEx\plugins\hazelify.VCO` folder)
    • Optimized use of Harmony patches
    • Organized a majority of the codebase


    Presets

    VCO now supports presets. You can easily use existing presets, save new presets, and delete existing presets. Unfortunately a game restart is required everytime a preset is added/deleted. This is due to BepInEx restraints.


    Advice: Only save/delete presets in the main menu, that way restarting the game is quick.


    Detection system

    VCO now has a detection system in place that comes with a config file.


    If both the master toggle + the detection toggle are both turned on, equipping a weapon whose name is in the config file will automatically apply your current preset's viewmodel offsets. If equipping a weapon whose name is NOT in the config file, your viewmodel will be reset to vanilla.


    If the master toggle is turned on, but the detection is NOT, your current preset's viewmodel offsets will be applied regardless of what item is equipped


    Config file is located here: `BepInEx\plugins\hazelify.VCO\weapons.cfg`

  • Version 1.0.0

  • 3.10 PORT!! UPDATED TO 1.0.2-310


    VirusTotal: Linked on the repo


    > DOWNLOAD LINK HERE <

    Heart 3 Thumbs Up 1
  • hi where can i report bugs for the mod ? i belive i found a bug/incompatible mod

  • You know what this one is missing now? An FOVScale type of deal. Something to allow the FOV not to zoom in on ADS as drastically. That would make it perfect. (not saying 1x true FOV, that one feels unnatural in tarkov).

  • toggle keeps resetting to "off"

    • Disable "Toggle automatic weapon detection"


      I forgot to disable this by default in the last release

    • understandable, the mod also seems to conflict with fontaine's fov fix, this mod is entirely disabled with it running

    • It's designed to be incompatible with SamSWAT's IncreasedFOV, but there's no code for FOVFix unless it uses the same config name (can be found in `BepInEx\config`:


      v335NNT.png

    • it seems more likely that the weapon positioning (while aiming) from fov fix overwrites the hipfire position with this mod, as i have not installed any samswat mods at all

    • It's entirely possible. I could add an interference patch for it

  • Sorry to insist, but I think this is my favorite mod of 3.11 <3

    Heart 1
  • Hey!

    Could you please add the option to use different presets on different weapons?

    Something like

    "M4A1": "preset1",

    "SR-25": "preset2"


    I noticed that default bsg's weapons positions are too different and when you make for example a SCAR a little bit lower then other weapons positions become a too lower

    I see that there is a option to add weapon name to config to use only them with the preset but i would prefer to use different presets on different weapons

    • Per-weapon presets are not planned, but once I have the time to look into it I will. I've thought about this too. I make no promises though

      Heart 1
    • Thank you

      By the way seems like i've found a bug

      Preset export does not work correctly. When preset gets exported X-offset and Z-offset are mixed up. X-offset gets Z-offset value and vice versa

    • Haha oops! I looked through the source code and it seems that you are right. Though the problem seems to be that Front and Back are in the place where Left and Right are. This problem arises already in the section where I bind the settings for the Bep items, so the problem is the config binding and not the preset exporting itself.


      I will have this fixed tonight! Thanks for the report.

      Heart 1
  • Amazing work! :)

    Heart 1
  • i'm extremely dumb with mods, just now learning, and i cannot seem to get the auto-detect toggle to work. I've seemingly made the viewmodel what i want, made my preset, and applied it, but when i switch weapons it reverts back to having the auto-detect box untoggled. sorry if this is just generally stupid, i have no clue what i'm doing but i love this mod. thanks, keep up the good work!!!

    • The default weapons config is here: (`BepInEx\plugins\hazelify.VCO\weapons.cfg`)


      It has these weapons in it:

      If you equip a gun that is NOT in that list, and you have `Toggle automatic weapon detection` enabled, then the mod will reset the switch, which then resets the viewmodel to vanilla.


      If you'd like to add more weapons to it, go to db.sp-tarkov.com and search the gun you want. Example: `Desert Tech MDR 5.56x45 assault rifle`


      Then insert that whole name into the list, save it, then restart the game.


      My advice: just disable `Toggle automatic weapon detection` in F12 if you want your custom viewmodel to be applid constantly. The toggle is enabled by default. I could revert it to be disabled by default, since I understand where you're coming from with this.


      Edit: I'm a silly goober and have meant to update my modpage to accommodate these new features. I apologize for not doing so!

    • you're okay! i'm just now learning this game and its modding so any and all feedback is appreciated! loving your mod though, it makes the gameplay wayyyyyy more immersive!

      Heart 1
  • dud this mod <3

    Heart 1
    • Planning the possibility of some more weapon related features animeokay

  • It is intuitive and easy to config

    Thanks for eliminate guns that cover more than half of the monitor screen

    Heart 1 Thumbs Up 2
  • Finally, body cam mod

    Thumbs Up 2
  • THANK GOD, the SCAR and SPEAR are finally usable now. Massive QoL mod.

    Heart 1
    • I thought the same. Literally makes them look like new guns