You are viewing a potentially older version of this package. View all versions.
cris-ThermalVanillaSights-0.0.2 icon

ThermalVanillaSights

Introduce thermal versions of vanilla sights

By cris
Date uploaded 2 weeks ago
Version 0.0.2
Download link cris-ThermalVanillaSights-0.0.2.zip
Downloads 77
Dependency string cris-ThermalVanillaSights-0.0.2

README

Tips:

Modify GearFovZoom in GearSightPartDataBlock or the item's ItemFPSSetting if you find part of the gear is leaked in sight while aiming/running/relaxed/etc.
Projection in thermal sights is a slightly zoomed in by default due to the shader configs.

  • For vanilla weapons:
    • You can directly apply the provided pre-configured blocks bellow on vanilla weapon PlayerOfflineGear settings. They are properly adjusted to remove leaked gear part in sight and match with correct fov zoom.
  • For modded weapons:
    • Further tweaks might be required before using to make the sights look better on your own weapons. Just change GearFovZoom and ItemFPSSetting.
    • In order to remove leaked gear part, to be more specific, increase GearFovZoom or reduce z value of localPosZoom in ItemFPSSetting to move sight position closer to the camera.

GearSightPartConfig:

{
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_2_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 14
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 14,
        "WorldFovZoom": 49,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_2_t HeavySMG",
      "internalEnabled": true,
      "persistentID": 100
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_5_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 7
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 20,
        "WorldFovZoom": 48,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_5_t BurstRifle",
      "internalEnabled": true,
      "persistentID": 101
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_6_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 6
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 15,
        "WorldFovZoom": 49,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_6_t AssaultRifle",
      "internalEnabled": true,
      "persistentID": 102
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_8_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 13
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 11,
        "WorldFovZoom": 48,
        "ZoomSensitivityModifier": 0.8
      },
      "name": "Sight_8_t DMR",
      "internalEnabled": true,
      "persistentID": 103
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_9_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 10
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 19,
        "WorldFovZoom": 48,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_9_t BurstCannon",
      "internalEnabled": true,
      "persistentID": 104
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_12_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 10
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 20,
        "WorldFovZoom": 40,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_12_t HELGun",
      "internalEnabled": true,
      "persistentID": 105
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_13_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 5
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 10,
        "WorldFovZoom": 40,
        "ZoomSensitivityModifier": 0.7
      },
      "name": "Sight_13_t HELRifle",
      "internalEnabled": true,
      "persistentID": 106
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_14_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 16
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 16,
        "WorldFovZoom": 48,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_14_t SMG",
      "internalEnabled": true,
      "persistentID": 107
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_15_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 1
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 20,
        "WorldFovZoom": 39,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_15_t Rifle",
      "internalEnabled": true,
      "persistentID": 108
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_16_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 18
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 13,
        "WorldFovZoom": 47,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_16_t Carbine",
      "internalEnabled": true,
      "persistentID": 109
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_17_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 4
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 20,
        "WorldFovZoom": 46,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_17_t DoubleTapRifle",
      "internalEnabled": true,
      "persistentID": 110
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_18_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 15
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 42,
        "WorldFovZoom": 51,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_18_t BullpupRifle",
      "internalEnabled": true,
      "persistentID": 111
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_23_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 4
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 16,
        "WorldFovZoom": 48,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_23_t HeavyAssultRifle",
      "internalEnabled": true,
      "persistentID": 112
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_22_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 8
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 7,
        "WorldFovZoom": 40,
        "ZoomSensitivityModifier": 0.5
      },
      "name": "Sight_22_t Sniper",
      "internalEnabled": true,
      "persistentID": 113
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/Sight_25_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 8
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 14,
        "WorldFovZoom": 45,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "Sight_25_t ShortRifle",
      "internalEnabled": true,
      "persistentID": 114
    },
    {
      "General": {
        "Model": "Assets/EternalPrefabs/ThermalSights/IronSights_10_B_t.prefab",
        "GearCategoryFilter": 0,
        "AssetBundle": 50,
        "BundleShard": 3
      },
      "Aligns": [
        {
          "AlignType": 6,
          "AlignName": "Sight_Align"
        }
      ],
      "SightProperties": {
        "GearFovZoom": 0,
        "WorldFovZoom": 0,
        "ZoomSensitivityModifier": 1.0
      },
      "name": "IronSights_10_B_t ChokeModShotgun",
      "internalEnabled": true,
      "persistentID": 115
    }

ItemFPSSettingsConfig:

    {
      "localPosHip": {
        "x": 0.088,
        "y": -0.09,
        "z": 0.35
      },
      "localRotHip": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "SwayAmount": 1.0,
      "crouchTiltAngle": -5.0,
      "localPosRelaxed": {
        "x": 0.056,
        "y": -0.12,
        "z": 0.32
      },
      "localRotRelaxed": {
        "x": 8.0,
        "y": -15.33,
        "z": -30.5
      },
      "localPosZoom": {
        "x": 0.0,
        "y": -0.05,
        "z": 0.5
      },
      "localRotZoom": {
        "x": -0.2,
        "y": 0.0,
        "z": 0.0
      },
      "bodyOffsetLocal": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "bodyRotationOffsetLocal": {
        "x": 0.0,
        "y": 10.0,
        "z": 0.0
      },
      "ItemCameraFOVDefault": 34,
      "ItemCameraFOVZoom": 15,
      "LookCameraFOVZoom": 50,
      "canAim": true,
      "onlyStartAimOnPressed": false,
      "canRelax": true,
      "customDelayUntilRelax": 2.0,
      "allowRotToAimPos": true,
      "rotToAimPosMinDis": 1.0,
      "transitionToAim": 1,
      "RecoilAnimation": 26,
      "IdleAnimation": 21,
      "WalkAnimation": 9,
      "RunAnimation": 16,
      "JumpAnimation": 7,
      "LandAnimation": 8,
      "ChargeCancelAnimation": 0,
      "DofDefault": {
        "enabled": true,
        "focusDistance": 1.0,
        "aperture": 1.0,
        "focalLength": 7.0
      },
      "DofAim": {
        "enabled": true,
        "focusDistance": 1.0,
        "aperture": 1.0,
        "focalLength": 20.0
      },
      "name": "Sniper T",
      "internalEnabled": true,
      "persistentID": 500
    },
    {
      "localPosHip": {
        "x": 0.076,
        "y": -0.085,
        "z": 0.38
      },
      "localRotHip": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "SwayAmount": 1.0,
      "crouchTiltAngle": -8.0,
      "localPosRelaxed": {
        "x": 0.06,
        "y": -0.1,
        "z": 0.4
      },
      "localRotRelaxed": {
        "x": 6.8,
        "y": -11.2,
        "z": -26.0
      },
      "localPosZoom": {
        "x": 0.0,
        "y": -0.154,
        "z": 0.27
      },
      "localRotZoom": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "bodyOffsetLocal": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.05
      },
      "bodyRotationOffsetLocal": {
        "x": 0.0,
        "y": 20.0,
        "z": 0.0
      },
      "ItemCameraFOVDefault": 32,
      "ItemCameraFOVZoom": 23,
      "LookCameraFOVZoom": 54,
      "canAim": true,
      "onlyStartAimOnPressed": false,
      "canRelax": true,
      "customDelayUntilRelax": 0.0,
      "allowRotToAimPos": true,
      "rotToAimPosMinDis": 1.0,
      "transitionToAim": 0,
      "RecoilAnimation": 28,
      "IdleAnimation": 21,
      "WalkAnimation": 9,
      "RunAnimation": 15,
      "JumpAnimation": 7,
      "LandAnimation": 8,
      "ChargeCancelAnimation": 0,
      "DofDefault": {
        "enabled": true,
        "focusDistance": 1.0,
        "aperture": 1.0,
        "focalLength": 6.5
      },
      "DofAim": {
        "enabled": true,
        "focusDistance": 1.0,
        "aperture": 1.0,
        "focalLength": 7.4
      },
      "name": "ChokeModShotgun T",
      "internalEnabled": true,
      "persistentID": 600
    }