Added Scope and Red Dot Sight Overhaul

This commit is contained in:
Rage 2025-01-12 17:43:22 -05:00
parent a7d2afe3b0
commit 9e834694f2
83 changed files with 2435 additions and 3 deletions

View File

@ -0,0 +1,28 @@
[General]
gameName=spt
modid=0
version=d2025.1.12.0
newestVersion=
category="1,"
nexusFileStatus=1
installationFile=OpticsRework310.zip
repository=Nexus
ignoredVersion=
comments=
notes=
nexusDescription=
url=
hasCustomURL=false
lastNexusQuery=
lastNexusUpdate=
nexusLastModified=2025-01-12T22:41:52Z
nexusCategory=0
converted=false
validated=false
color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
tracked=0
[installedFiles]
1\modid=0
1\fileid=0
size=1

View File

@ -0,0 +1,64 @@
This project was created to automate most parts of building and setting up an environment.
## **NodeJS 14.15.3:**
The first step would be to install nodejs on your pc, the version you NEED is **14.15.3**
That version is the one that has been used to test the mod templates and build scripts.
It can be downloaded from here: https://nodejs.org/download/release/v14.15.3/
A system reboot may be needed after install.
## **IDE:**
The second step is having an IDE ready. For the currect purpose we've setup a VSCodium workspace file.
You CAN use Visual Studio Code if you so desire, just keep in mind that our dev tests on the mod files was done using VSCodium.
You can get VSCodium here: https://vscodium.com/#install
## **Workspace:**
Once you have NodeJS and VSCodium ready, open the mod.code-workspace file with VSCodium (File->Open Worspace from File...).
Once the project loads into VSCodium you will be recommended to install the ESLint plugin. This is HIGHLY recommended.
## **Environment Setup:**
There is a task that will automatically setup your environment to use typescript.
To run it, you just need to go to:
> Terminal->Run Task...->Show All Tasks...->npm: install
After running this task, your environment will be ready to start coding.
DO NOT remove the node_modules folder, this is an auto generated directory that has the required dependencies to be able to use typescript and more.
## **IMPORTANT:**
Before starting to work on your mod, we suggest you read about Dependency Injection and Inversion of Control as this is the adopted architecture SPT has adopted.
It will be difficult to understand some of the problems you may be having if you dont understand the basics of it.
A guide explaining all the essentials will be available on the hub on release for you to read about.
## **Coding:**
All your work should be centered around the mod.ts file as an entry point.
You can ONLY change the following properties from the package.json file: `"name"`, `"version"`, `"license"`: `"MIT"`, `"author"`, `sptVersion"`.
If you have never used typescript before, you can read about it here: https://www.typescriptlang.org/docs/
## **Distributing your mod:**
The project has been set up with an automatic task that will copy and zip ALL required files for your mod to work on SPT.
To run this task you just need to go to:
> Terminal->Run Task...->Show All Tasks...->npm: build:zip
The output will be a mod.zip file that will appear on the root of the project.
Always verify that all files were included into the zip file.

View File

@ -0,0 +1,643 @@
{
"manifest": [
{
"key": "assets/content/items/mods/scopes/scope_7mm_vomz_target_ring.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/systems/effects/collimator.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_25_4mm_vomz_pilad_4x32m.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_34mm_s&b_pm_ii_3_12x50.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_30mm_razor_hd_gen_2_1_6x24.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_30mm_s&b_pm_ii_1_8x24.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_30mm_burris_fullfield_tac30_1_4x24.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/items/mods/scopes/scope_30mm_burris_fullfield_tac30_1_4x24_textures.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_30mm_burris_fullfield_tac30_1_4x24_textures.bundle",
"dependencyKeys": [
]
},
{
"key": "assets/content/items/mods/scopes/scope_30mm_eotech_vudu_1_6x24.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_aimpoint_micro_h1_high_mark.bundle",
"dependencyKeys": [
]
},
{
"key": "assets/content/items/mods/scopes/scope_30mm_march_tactical_3-24x42.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_30mm_leupold_mark4_lr_6,5_20x50.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_34mm_hensoldt_zf_4_16x56_ff.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_mark",
"dependencyKeys": [
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_belomo_pk_06.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_monstrum_compact_prism_scope_2x32.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_dovetail_npz_1p29_4x.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_eotech_hhs_1.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_eotech_exps3_gloss_nrm",
"assets/content/items/mods/scopes/scope_all_eotech_g33_gloss_nrm",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"assets/content/items/mods/scopes/scope_all_eotech_hhs_1_mesh",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_eotech_hhs_1_tan.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_eotech_exps3_gloss_nrm",
"assets/content/items/mods/scopes/scope_all_eotech_g33_gloss_nrm",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"assets/content/items/mods/scopes/scope_all_eotech_hhs_1_tan_mesh",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_34mm_nightforce_atacr_7_35x56.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_dovetail_belomo_pso_1m2_4x24.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_dovetail_belomo_pso_1_4x24.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_dovetail_belomo_pso_1m2_1_4x24.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_trijicon_acog_ta11_3,5x35.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_ekb_okp7.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/systems/effects/collimator.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_p90_fn_ring_sight_std.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/systems/effects/collimator.bundle",
"cubemaps",
"shaders",
"assets/systems/effects/opticsight/opticsightsmasks.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_kmz_1p59_3_10x.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"shaders",
"assets/content/items/mods/scopes/scope_base_kmz_1p59_1p69_3_10x_textures",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_kmz_1p69_3_10x.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"shaders",
"assets/content/items/mods/scopes/scope_base_kmz_1p59_1p69_3_10x_textures",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_eotech_553.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/systems/effects/collimator.bundle",
"cubemaps",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_valday_ps320.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_progress_pu_3,5x.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"cubemaps",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_dovetail_npz_nspum_3,5x.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/paroxe/ultimatebloom/dirttexturesample/createdwithdirtgenerator2.bundle",
"assets/systems/effects/nightvision.bundle",
"assets/systems/effects/nightvision/mask_nv_textures",
"assets/commonassets/physics/physicsmaterials.bundle",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_burris_fast_fire_3.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_base_burris_fast_fire_3_textures.bundle",
"assets/content/items/mods/scopes/scope_all_aimpoint_micro_h1_high_mark",
"assets/systems/effects/collimator.bundle",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_sig_romeo_8t.bundle",
"dependencyKeys": [
"assets/commonassets/physics/physicsmaterials.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_walther_mrs.bundle",
"dependencyKeys": [
"assets/systems/effects/collimator.bundle",
"assets/commonassets/physics/physicsmaterials.bundle",
"cubemaps",
"shaders"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_elcan_specter_dr_1-4_fde.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_elcan_specter_dr_textures.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/items/mods/scopes/scope_all_elcan_specter_dr_marks.bundle",
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/items/mods/scopes/scope_all_elcan_specter_dr_1-4_mesh",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_elcan_specter_dr_1-4.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_elcan_specter_dr_textures.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/items/mods/scopes/scope_all_elcan_specter_dr_marks.bundle",
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/items/mods/scopes/scope_all_elcan_specter_dr_1-4_mesh",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_trijicon_rmr.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_sig_romeo_4.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_trijicon_srs_02.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_aimpoint_micro_t1.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_leupold_deltapoint.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_aimpoint_micro_t1.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_aimpooint_comp_m4.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_tan.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_textures",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_mark",
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_mesh",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_textures",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_mark",
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/items/mods/scopes/scope_base_trijicon_acog_ta01nsn_4x32_mesh",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_ncstar_advance_dual_optic_3_9x_42.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/items/mods/scopes/scope_all_aimpoint_micro_h1_high_mark",
"assets/systems/effects/collimator.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle",
"packages/com.unity.postprocessing/postprocessing/postprocessresources.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_holosun_hs401g5.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/glow_particle_bright.bundle",
"assets/systems/effects/multiflare/multiflare.bundle",
"assets/systems/effects/collimator.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/systems/effects/laserbeam/laser.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_valday_krechet.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_valday_krechet_mark.bundle",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_sig_bravo4_4x30.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_leupold_mark4_hamr.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/content/textures/holemanager/round_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_base_primary_arms_compact_prism_scope_2,5x.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/systems/effects/opticsight/opticsightsmasks.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_elcan_specter_dr_marks.bundle",
"dependencyKeys": [
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_eotech_exps3.bundle",
"dependencyKeys": [
"shaders",
"assets/content/items/mods/scopes/scope_all_eotech_exps3_tan_textures",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_eotech_exps3_gloss_nrm",
"assets/content/items/mods/scopes/scope_all_eotech_xps3_textures.bundle",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle",
"assets/content/items/mods/scopes/scope_all_eotech_exps3_mesh"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_eotech_xps3-2.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_eotech_xps3_textures.bundle",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_eotech_xps3-0.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/items/mods/scopes/scope_all_eotech_xps3_textures.bundle",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/scopes/scope_all_vortex_razor_amg_uh-1.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/content/textures/holemanager/eotech_spec_mask.bundle",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/recievers/reciever_ar15_hk_hk416a5_std.bundle",
"dependencyKeys": [
"cubemaps",
"assets/content/items/mods/recievers/reciever_ar15_hk_hk416a5_std_assets.bundle",
"assets/content/weapons/hk416/textures/client_assets.bundle",
"shaders",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/recievers/reciever_ar15_colt_m4a1_std.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/recievers/reciever_ar15_adar_2-15_std.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/recievers/reciever_ar15_lone_star_tx15_lightweight.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/recievers/reciever_ar15_noveske_gen3.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
},
{
"key": "assets/content/items/mods/recievers/reciever_ar15_vltor_mur-1s.bundle",
"dependencyKeys": [
"shaders",
"cubemaps",
"assets/commonassets/physics/physicsmaterials.bundle"
]
}
]
}

View File

@ -0,0 +1,31 @@
{
"name": "OpticRework",
"version": "1.3.2",
"main": "src/mod.js",
"license": "NCSA",
"author": "ACOGforlife, SAMSWAT",
"sptVersion": "3.x.x",
"loadBefore": [],
"loadAfter": [],
"incompatibilities": [],
"contributors": [],
"isBundleMod": true,
"scripts": {
"setup": "npm i",
"build": "node ./build.mjs",
"buildinfo": "node ./build.mjs --verbose"
},
"devDependencies": {
"@types/node": "20.11",
"@typescript-eslint/eslint-plugin": "7.2",
"@typescript-eslint/parser": "7.2",
"archiver": "^6.0",
"eslint": "8.57",
"fs-extra": "11.2",
"ignore": "^5.2",
"os": "^0.1",
"tsyringe": "4.8.0",
"typescript": "5.4",
"winston": "3.12"
}
}

View File

@ -0,0 +1,27 @@
"use strict";
/*
* Class Mod
* Original Code by ACOGforlife and SAMSWAT
* Refactor for typescript by Tuhjay
* Maintained by Fontaine
* Maintained by Murasame
* Written for AKI 3.10.x
* Last Change made Janauary 13th 2025
*/
Object.defineProperty(exports, "__esModule", { value: true });
const opticRework_1 = require("./opticRework");
class Mod {
// Code added here will load BEFORE the server has started loading
preSptLoad(container) {
// get the logger from the server container
const logger = container.resolve("WinstonLogger");
logger.info("Initializing Optic Rework... ");
}
// Code added here will be run AFTER the server has started
postDBLoad(container) {
const opticChanges = new opticRework_1.opticRework();
const runCode = opticChanges.runModLogic(container);
}
}
module.exports = { mod: new Mod() };
//# sourceMappingURL=mod.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"mod.js","sourceRoot":"","sources":["mod.ts"],"names":[],"mappings":";AAAA;;;;;;;EAOE;;AAMF,+CAA6C;AAE7C,MAAM,GAAG;IAER,kEAAkE;IACxD,UAAU,CAAC,SAA8B;QAE5C,2CAA2C;QAC3C,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAU,eAAe,CAAC,CAAC;QAC3D,MAAM,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;IACjD,CAAC;IAED,2DAA2D;IACpD,UAAU,CAAC,SAA8B;QAE5C,MAAM,YAAY,GAAG,IAAI,yBAAW,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,YAAY,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACxD,CAAC;CACJ;AAED,MAAM,CAAC,OAAO,GAAG,EAAE,GAAG,EAAE,IAAI,GAAG,EAAE,EAAE,CAAA"}

View File

@ -0,0 +1,34 @@
/*
* Class Mod
* Original Code by ACOGforlife and SAMSWAT
* Refactor for typescript by Tuhjay
* Maintained by Fontaine
* Written for AKI 3.9.x
* Last Change made July 16th 2024
*/
import { DependencyContainer } from "tsyringe";
import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod";
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
import { ILogger } from "@spt/models/spt/utils/ILogger";
import { opticRework } from "./opticRework";
class Mod implements IPreSptLoadMod, IPostDBLoadMod
{
// Code added here will load BEFORE the server has started loading
public preSptLoad(container: DependencyContainer): void
{
// get the logger from the server container
const logger = container.resolve<ILogger>("WinstonLogger");
logger.info("Initializing Optic Rework... ");
}
// Code added here will be run AFTER the server has started
public postDBLoad(container: DependencyContainer): void
{
const opticChanges = new opticRework();
const runCode = opticChanges.runModLogic(container);
}
}
module.exports = { mod: new Mod() }

View File

@ -0,0 +1,679 @@
"use strict";
/*
* OpticRework Class
* Original Code by ACOGforlife and SAMSWAT
* Refactor for typescript by Tuhjay
* Written for AKI 3.10.x
* Last Change made Janauary 13th 2025
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.opticRework = void 0;
const tsyringe_1 = require("C:/snapshot/project/node_modules/tsyringe");
let opticRework = class opticRework {
runModLogic(container) {
//connect to the "server"
const databaseServer = container.resolve("DatabaseServer");
//initialize database table
const tables = databaseServer.getTables();
//initialize array of items
const item = tables.templates.items;
/*
* New typescript has a few differences compared to JS
*
* Object creation from the database is going to be pass by reference
* This means that any change made to the variable also changes the original object
* So we do not have to clone the object, make changes, and then replace the original with the clone
* We only need to edit the variable we create for our changes to made
*
* Example:
* const *yourchosennamefortheitem* = item["*itemIDgrabbedfromdatabase*"];
* We then make changes to your new variable and these are reflected by the original
*
* For a list of item IDs visit the database created by the SPT AKI team https://db.sp-tarkov.com/search
* For the list of targetable attributes look up your selected item in the items.json located in *Yourinstallationpath*\Aki_Data\Server\database\templates
*
* Change ergonomics of a scope:
* const bravo4 = item["57adff4f24597737f373b6e6"];
* bravo4._props.Ergonomics = 50;
* When in game you should now see that the bravo 4x scope adds 50 ergo rather than subtracting 2
*
*/
/* const bravo4 = item["57adff4f24597737f373b6e6"];
bravo4._props.AimSensitivity[0] = [0.2025]; */
//bravo4._props.Ergonomics = 50; Test case use to easily verify that we actually do things to the items.
let sb_pm_ii_1_8x24 = item["617151c1d92c473c770214ab"];
/* sb_pm_ii_1_8x24._props.AimSensitivity[0] = [
0.14,
0.62
];
sb_pm_ii_1_8x24._props.Zooms[0] = [
8,
1
]; */
sb_pm_ii_1_8x24._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
sb_pm_ii_1_8x24._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
let vortex_hd_genii = item["618ba27d9008e4636a67f61d"];
vortex_hd_genii._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
vortex_hd_genii._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
let sb_pm_ii_3_12x50 = item["61714eec290d254f5e6b2ffc"];
/* sb_pm_ii_3_12x50._props.AimSensitivity[0] = [
0.03,
0.125
];
sb_pm_ii_3_12x50._props.Zooms[0] = [
12,
3
]; */
sb_pm_ii_3_12x50._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
sb_pm_ii_3_12x50._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
/* let hamrmk4 = item["544a3a774bdc2d3a388b4567"];
hamrmk4._props.AimSensitivity[0] = [0.2025]; */
//hamrmk4._props.Ergonomics = 50;
/* let ta01nsn = item["5c05293e0db83400232fff80"];
ta01nsn._props.AimSensitivity[0] = [0.2025];
let ta01nsntan = item["5c052a900db834001a66acbd"];
ta01nsntan._props.AimSensitivity[0] = [0.2025];
let elcanspecterdr = item["57ac965c24597706be5f975c"];
elcanspecterdr._props.Slots[0]._props.filters[0].Filter = [
"5a32aa0cc4a28232996e405f",
"5a33b2c9c4a282000c5a9511",
"577d128124597739d65d0e56"
];
elcanspecterdr._props.AimSensitivity[0] = [
0.2025,
0.7
];
let elcanspecterdrfde = item["57aca93d2459771f2c7e26db"];
elcanspecterdrfde._props.Slots[0]._props.filters[0].Filter = [
"5a32aa0cc4a28232996e405f",
"5a33b2c9c4a282000c5a9511",
"577d128124597739d65d0e56"
];
elcanspecterdrfde._props.AimSensitivity[0] = [
0.2025,
0.7
];
let acogta11 = item["59db7e1086f77448be30ddf3"];
acogta11._props.AimSensitivity[0] = [0.2643];
let valdayps320 = item["5c0517910db83400232ffee5"];
valdayps320._props.AimSensitivity[0] = [
0.1883,
0.7
]; */
let vss = item["57838ad32459774a17445cd2"];
vss._props.SightingRange = 25;
vss._props.IronSightRange = 25;
let val = item["57c44b372459772d2b39b8ce"];
val._props.SightingRange = 25;
val._props.IronSightRange = 25;
let xps32 = item["584924ec24597768f12ae244"];
xps32._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
xps32._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let srs2 = item["5d2da1e948f035477b1ce2ba"];
srs2._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
srs2._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let xps30 = item["58491f3324597764bc48fa02"];
xps30._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
xps30._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let eotech553 = item["570fd6c2d2720bc6458b457f"];
eotech553._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
eotech553._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let hs401g5 = item["5b30b0dc5acfc400153b7124"];
hs401g5._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
hs401g5._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let compm4 = item["5c7d55de2e221644f31bff68"];
compm4._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
compm4._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let p90ring = item["5cebec38d7f00c00110a652a"];
p90ring._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
p90ring._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let hhs1tan = item["5c0a2cec0db834001b7ce47d"];
/* hhs1tan._props.AimSensitivity[0] = [
0.2867,
0.7
]; */
hhs1tan._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
hhs1tan._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let exps3 = item["558022b54bdc2dac148b458d"];
exps3._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
exps3._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let hhs1 = item["5c07dd120db834001c39092d"];
/* hhs1._props.AimSensitivity[0] = [
0.2867,
0.7
]; */
hhs1._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
hhs1._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let okp7dovetail = item["57486e672459770abd687134"];
okp7dovetail._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
okp7dovetail._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let valday1p78 = item["5c0505e00db834001b735073"];
valday1p78._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
valday1p78._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let aksionekp818 = item["591c4efa86f7741030027726"];
aksionekp818._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
aksionekp818._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let aksionekp802 = item["5947db3f86f77447880cf76f"];
aksionekp802._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
aksionekp802._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let walthermrs = item["570fd721d2720bc5458b4596"];
walthermrs._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
walthermrs._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let romeo8t = item["60a23797a37c940de7062d02"];
romeo8t._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
romeo8t._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let valdaykrechet = item["609a63b6e2ff132951242d09"];
valdaykrechet._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
valdaykrechet._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let pilad142 = item["584984812459776a704a82a6"];
pilad142._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
pilad142._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let okp7 = item["570fd79bd2720bc7458b4583"];
okp7._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
okp7._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
let razoramguh1 = item["59f9d81586f7744c7506ee62"];
razoramguh1._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
];
razoramguh1._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
];
/* let kmz1p69 = item["5d0a3e8cd7ad1a6f6a3d35bd"];
kmz1p69._props.AimSensitivity[0] = [
0.2067,
0.2067,
0.08,
0.08
];
let pu35 = item["5b3f7c1c5acfc40dc5296b1d"];
pu35._props.AimSensitivity[0] = [
0.2629
]; */
let nightforceatacr = item["5aa66be6e5b5b0214e506e97"];
/* nightforceatacr._props.AimSensitivity[0] = [
0.1014,
0.0713
];
nightforceatacr._props.Zooms[0] = [
7,
18
]; */
nightforceatacr._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
nightforceatacr._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
/* let ncstaradop4 = item["5dfe6104585a0c3e995c7b82"];
ncstaradop4._props.AimSensitivity[0] = [
0.22,
0.0767
];
let pso1m2 = item["5c82343a2e221644f31c0611"];
pso1m2._props.AimSensitivity[0] = [
0.2025,
0.2025
];
let pso1m21 = item["576fd4ec2459777f0b518431"];
pso1m21._props.AimSensitivity[0] = [
0.2025,
0.2025
]; */
let mark4lr = item["5a37cb10c4a282329a73b4e7"];
/* mark4lr._props.AimSensitivity[0] = [
0.06
];
mark4lr._props.Zooms[0] = [
8
]; */
mark4lr._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
mark4lr._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
];
/* let fullfieldtac30 = item["5b2388675acfc4771e1be0be"];
fullfieldtac30._props.AimSensitivity[0] = [
0.7,
0.15
];
let eotechvudu = item["5b3b99475acfc432ff4dcbee"];
eotechvudu._props.AimSensitivity[0] = [
0.15,
0.7
];
let pso1 = item["5c82342f2e221644f31c060e"];
pso1._props.AimSensitivity[0] = [
0.2025,
0.2025
];
let pilad4x32 = item["5dff772da3651922b360bf91"];
pilad4x32._props.AimSensitivity[0] = [
0.2025
];
let marchtactical = item["57c5ac0824597754771e88a9"];
marchtactical._props.AimSensitivity[0] = [
0.1093
];
marchtactical._props.Zooms[0] = [
8
];
let kmz1p59 = item["5d0a3a58d7ad1a669c15ca14"];
kmz1p59._props.AimSensitivity[0] = [
0.2267,
0.2267,
0.08,
0.08
]; */
let flirrs32 = item["5d1b5e94d7ad1a2b865a96b0"];
/* flirrs32._props.AimSensitivity[0] = [
0.3511,
0.0978
]; */
flirrs32._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400
];
flirrs32._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400
];
/* let hensoldtff4 = item["56ea70acd2720b844b8b4594"];
hensoldtff4._props.Zooms[0] = [
4,
12
]; */
return "done";
}
};
exports.opticRework = opticRework;
exports.opticRework = opticRework = __decorate([
(0, tsyringe_1.injectable)()
], opticRework);
//# sourceMappingURL=opticRework.js.map

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,724 @@
/*
* OpticRework Class
* Original Code by ACOGforlife and SAMSWAT
* Refactor for typescript by Tuhjay
* written for AKI 3.0.0
* Last Change made July 6th 2022
*/
import { injectable } from "tsyringe";
import { DatabaseServer } from "@spt/servers/DatabaseServer";
import { DependencyContainer } from "@spt/models/external/tsyringe";
@injectable()
export class opticRework
{
public runModLogic(container: DependencyContainer): string
{
//connect to the "server"
const databaseServer = container.resolve<DatabaseServer>("DatabaseServer");
//initialize database table
const tables = databaseServer.getTables();
//initialize array of items
const item = tables.templates.items;
/*
* New typescript has a few differences compared to JS
*
* Object creation from the database is going to be pass by reference
* This means that any change made to the variable also changes the original object
* So we do not have to clone the object, make changes, and then replace the original with the clone
* We only need to edit the variable we create for our changes to made
*
* Example:
* const *yourchosennamefortheitem* = item["*itemIDgrabbedfromdatabase*"];
* We then make changes to your new variable and these are reflected by the original
*
* For a list of item IDs visit the database created by the SPT AKI team https://db.sp-tarkov.com/search
* For the list of targetable attributes look up your selected item in the items.json located in *Yourinstallationpath*\Aki_Data\Server\database\templates
*
* Change ergonomics of a scope:
* const bravo4 = item["57adff4f24597737f373b6e6"];
* bravo4._props.Ergonomics = 50;
* When in game you should now see that the bravo 4x scope adds 50 ergo rather than subtracting 2
*
*/
const bravo4 = item["57adff4f24597737f373b6e6"];
bravo4._props.AimSensitivity[0] = [0.2025];
//bravo4._props.Ergonomics = 50; Test case use to easily verify that we actually do things to the items.
let sb_pm_ii_1_8x24 = item["617151c1d92c473c770214ab"];
sb_pm_ii_1_8x24._props.AimSensitivity[0] = [
0.14,
0.62
];
sb_pm_ii_1_8x24._props.Zooms[0] = [
8,
1
]
sb_pm_ii_1_8x24._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
sb_pm_ii_1_8x24._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
let vortex_hd_genii = item["618ba27d9008e4636a67f61d"];
vortex_hd_genii._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
vortex_hd_genii._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
let sb_pm_ii_3_12x50 = item["61714eec290d254f5e6b2ffc"];
sb_pm_ii_3_12x50._props.AimSensitivity[0] = [
0.03,
0.125
];
sb_pm_ii_3_12x50._props.Zooms[0] = [
12,
3
]
sb_pm_ii_3_12x50._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
sb_pm_ii_3_12x50._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
let hamrmk4 = item["544a3a774bdc2d3a388b4567"];
hamrmk4._props.AimSensitivity[0] = [0.2025];
//hamrmk4._props.Ergonomics = 50;
let ta01nsn = item["5c05293e0db83400232fff80"];
ta01nsn._props.AimSensitivity[0] = [0.2025];
let ta01nsntan = item["5c052a900db834001a66acbd"];
ta01nsntan._props.AimSensitivity[0] = [0.2025];
let elcanspecterdr = item["57ac965c24597706be5f975c"];
elcanspecterdr._props.Slots[0]._props.filters[0].Filter = [
"5a32aa0cc4a28232996e405f",
"5a33b2c9c4a282000c5a9511",
"577d128124597739d65d0e56"
]
elcanspecterdr._props.AimSensitivity[0] = [
0.2025,
0.7
]
let elcanspecterdrfde = item["57aca93d2459771f2c7e26db"];
elcanspecterdrfde._props.Slots[0]._props.filters[0].Filter = [
"5a32aa0cc4a28232996e405f",
"5a33b2c9c4a282000c5a9511",
"577d128124597739d65d0e56"
]
elcanspecterdrfde._props.AimSensitivity[0] = [
0.2025,
0.7
]
let acogta11 = item["59db7e1086f77448be30ddf3"];
acogta11._props.AimSensitivity[0] = [0.2643];
let valdayps320 = item["5c0517910db83400232ffee5"];
valdayps320._props.AimSensitivity[0] = [
0.1883,
0.7
]
let vss = item["57838ad32459774a17445cd2"];
vss._props.SightingRange = 25;
vss._props.IronSightRange = 25;
let val = item["57c44b372459772d2b39b8ce"];
vss._props.SightingRange = 25;
vss._props.IronSightRange = 25;
let xps32 = item["584924ec24597768f12ae244"];
xps32._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
xps32._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let srs2 = item["5d2da1e948f035477b1ce2ba"];
srs2._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
srs2._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let xps30 = item["58491f3324597764bc48fa02"];
xps30._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
xps30._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let eotech553 = item["570fd6c2d2720bc6458b457f"];
eotech553._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
eotech553._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let hs401g5 = item["5b30b0dc5acfc400153b7124"];
hs401g5._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
hs401g5._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let compm4 = item["5c7d55de2e221644f31bff68"];
compm4._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
compm4._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let p90ring = item["5cebec38d7f00c00110a652a"];
p90ring._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
p90ring._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let hhs1tan = item["5c0a2cec0db834001b7ce47d"];
hhs1tan._props.AimSensitivity[0] = [
0.2867,
0.7
]
hhs1tan._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
hhs1tan._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let exps3 = item["558022b54bdc2dac148b458d"];
exps3._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
exps3._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let hhs1 = item["5c07dd120db834001c39092d"];
hhs1._props.AimSensitivity[0] = [
0.2867,
0.7
]
hhs1._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
hhs1._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let okp7dovetail = item["57486e672459770abd687134"];
okp7dovetail._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
okp7dovetail._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let valday1p78 = item["5c0505e00db834001b735073"];
valday1p78._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
valday1p78._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let aksionekp818 = item["591c4efa86f7741030027726"];
aksionekp818._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
aksionekp818._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let aksionekp802 = item["5947db3f86f77447880cf76f"];
aksionekp802._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
aksionekp802._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let walthermrs = item["570fd721d2720bc5458b4596"];
walthermrs._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
walthermrs._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let romeo8t = item["60a23797a37c940de7062d02"];
romeo8t._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
romeo8t._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let valdaykrechet = item["609a63b6e2ff132951242d09"];
valdaykrechet._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
valdaykrechet._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let pilad142 = item["584984812459776a704a82a6"];
pilad142._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
pilad142._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let okp7 = item["570fd79bd2720bc7458b4583"];
okp7._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
okp7._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let razoramguh1 = item["59f9d81586f7744c7506ee62"];
razoramguh1._props.OpticCalibrationDistances = [
25,
50,
100,
150,
200
]
razoramguh1._props.CalibrationDistances[0] = [
25,
50,
100,
150,
200
]
let kmz1p69 = item["5d0a3e8cd7ad1a6f6a3d35bd"];
kmz1p69._props.AimSensitivity[0] = [
0.2067,
0.2067,
0.08,
0.08
]
let pu35 = item["5b3f7c1c5acfc40dc5296b1d"];
pu35._props.AimSensitivity[0] = [
0.2629
]
let nightforceatacr = item["5aa66be6e5b5b0214e506e97"];
nightforceatacr._props.AimSensitivity[0] = [
0.1014,
0.0713
]
nightforceatacr._props.Zooms[0] = [
7,
18
]
nightforceatacr._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
nightforceatacr._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
let ncstaradop4 = item["5dfe6104585a0c3e995c7b82"];
ncstaradop4._props.AimSensitivity[0] = [
0.22,
0.0767
]
let pso1m2 = item["5c82343a2e221644f31c0611"];
pso1m2._props.AimSensitivity[0] = [
0.2025,
0.2025
]
let pso1m21 = item["576fd4ec2459777f0b518431"];
pso1m21._props.AimSensitivity[0] = [
0.2025,
0.2025
]
let mark4lr = item["5a37cb10c4a282329a73b4e7"];
mark4lr._props.AimSensitivity[0] = [
0.06
]
mark4lr._props.Zooms[0] = [
8
]
mark4lr._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
mark4lr._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400,
450,
500,
550,
600,
650
]
let fullfieldtac30 = item["5b2388675acfc4771e1be0be"];
fullfieldtac30._props.AimSensitivity[0] = [
0.7,
0.15
]
let eotechvudu = item["5b3b99475acfc432ff4dcbee"];
eotechvudu._props.AimSensitivity[0] = [
0.15,
0.7
]
let pso1 = item["5c82342f2e221644f31c060e"];
pso1._props.AimSensitivity[0] = [
0.2025,
0.2025
]
let pilad4x32 = item["5dff772da3651922b360bf91"];
pilad4x32._props.AimSensitivity[0] = [
0.2025
]
let marchtactical = item["57c5ac0824597754771e88a9"];
marchtactical._props.AimSensitivity[0] = [
0.1093
]
marchtactical._props.Zooms[0] = [
8
]
let kmz1p59 = item["5d0a3a58d7ad1a669c15ca14"];
kmz1p59._props.AimSensitivity[0] = [
0.2267,
0.2267,
0.08,
0.08
]
let flirrs32 = item["5d1b5e94d7ad1a2b865a96b0"];
flirrs32._props.AimSensitivity[0] = [
0.3511,
0.0978
]
flirrs32._props.OpticCalibrationDistances = [
50,
100,
150,
200,
250,
300,
350,
400
]
flirrs32._props.CalibrationDistances[0] = [
50,
100,
150,
200,
250,
300,
350,
400
]
let hensoldtff4 = item["56ea70acd2720b844b8b4594"];
hensoldtff4._props.Zooms[0] = [
4,
12
]
return "done";
}
}

View File

@ -1,6 +1,5 @@
# This file was automatically generated by Mod Organizer.
-Unsorted_separator
-Version 1.26.0_separator
-Version 1.27.0_separator
-Visceral Combat
-Backburner_separator
+Config Files
@ -36,6 +35,7 @@
+Ref SPT Friendly Quests
-New Traders & Tweaks_separator
+Weapon Customizer
+Scope and Red Dot Sight Overhaul
+Unlock Arena Lockboxes
+Station Refueling
+Quick Throw Grenades

View File

@ -1,5 +1,6 @@
# This file was automatically generated by Mod Organizer.
+Unsorted_separator
-Version 1.26.0_separator
-Version 1.27.0_separator
-Visceral Combat
+Backburner_separator
+Config Files
@ -35,6 +36,7 @@
+Ref SPT Friendly Quests
+New Traders & Tweaks_separator
-Weapon Customizer
+Scope and Red Dot Sight Overhaul
+Unlock Arena Lockboxes
+Station Refueling
-Quick Throw Grenades