diff --git a/BepInEx/plugins/SamSWAT.ReflexSightsRework.dll b/BepInEx/plugins/SamSWAT.ReflexSightsRework.dll new file mode 100644 index 0000000..ef6e833 Binary files /dev/null and b/BepInEx/plugins/SamSWAT.ReflexSightsRework.dll differ diff --git a/user/mods/samswat-reflexsightsrework/bundles.json b/user/mods/samswat-reflexsightsrework/bundles.json new file mode 100644 index 0000000..7ccd5b7 --- /dev/null +++ b/user/mods/samswat-reflexsightsrework/bundles.json @@ -0,0 +1,85 @@ +{ + "manifest": [ + { + "key": "assets/content/items/mods/scopes/scope_base_aimpooint_comp_m4.bundle", + "path": "BepInEx/plugins/SamSWAT.ReflexSightsRework/bundles/assets/content/items/mods/scopes/scope_base_aimpooint_comp_m4.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_holosun_hs401g5.bundle", + "path": "BepInEx/plugins/SamSWAT.ReflexSightsRework/bundles/assets/content/items/mods/scopes/scope_all_holosun_hs401g5.bundle", + "dependencyKeys": [ + "assets/commonassets/physics/physicsmaterials.bundle", + "assets/content/textures/holemanager/glow_particle_bright.bundle", + "assets/content/textures/holemanager/round_spec_mask.bundle", + "assets/systems/effects/collimator.bundle", + "assets/systems/effects/laserbeam/laser.bundle", + "assets/systems/effects/multiflare/multiflare.bundle", + "assets/systems/effects/nightvision.bundle", + "assets/systems/effects/opticsight/opticsightsmasks.bundle", + "cubemaps", + "shaders" + ] + }, + { + "key": "assets/content/items/mods/scopes/scope_all_leapers_utg_38_ita_1x30.bundle", + "path": "BepInEx/plugins/SamSWAT.ReflexSightsRework/bundles/assets/content/items/mods/scopes/scope_all_leapers_utg_38_ita_1x30.bundle", + "dependencyKeys": [ + "assets/commonassets/physics/physicsmaterials.bundle", + "assets/systems/effects/collimator.bundle", + "cubemaps", + "shaders" + ] + }, + { + "key": "assets/content/items/mods/scopes/scope_base_aimpoint_micro_t1.bundle", + "path": "BepInEx/plugins/SamSWAT.ReflexSightsRework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_micro_t1.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_aimpoint_pro.bundle", + "path": "BepInEx/plugins/SamSWAT.ReflexSightsRework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_pro.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_dovetail_belomo_pk_aa.bundle", + "path": "BepInEx/plugins/SamSWAT.ReflexSightsRework/bundles/assets/content/items/mods/scopes/scope_dovetail_belomo_pk_aa.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_sig_romeo_4.bundle", + "path": "BepInEx/plugins/SamSWAT.ReflexSightsRework/bundles/assets/content/items/mods/scopes/scope_base_sig_romeo_4.bundle", + "dependencyKeys": [ + "assets/commonassets/physics/physicsmaterials.bundle", + "assets/content/textures/holemanager/round_spec_mask.bundle", + "assets/systems/effects/opticsight/opticsightsmasks.bundle", + "cubemaps", + "shaders" + ] + } + ] +} \ No newline at end of file diff --git a/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_all_holosun_hs401g5.bundle b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_all_holosun_hs401g5.bundle new file mode 100644 index 0000000..e1ce518 Binary files /dev/null and b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_all_holosun_hs401g5.bundle differ diff --git a/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_all_leapers_utg_38_ita_1x30.bundle b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_all_leapers_utg_38_ita_1x30.bundle new file mode 100644 index 0000000..508d2b4 Binary files /dev/null and b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_all_leapers_utg_38_ita_1x30.bundle differ diff --git a/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_micro_t1.bundle b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_micro_t1.bundle new file mode 100644 index 0000000..7c4d42c Binary files /dev/null and b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_micro_t1.bundle differ diff --git a/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_pro.bundle b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_pro.bundle new file mode 100644 index 0000000..162ae8f Binary files /dev/null and b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpoint_pro.bundle differ diff --git a/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpooint_comp_m4.bundle b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpooint_comp_m4.bundle new file mode 100644 index 0000000..3982859 Binary files /dev/null and b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_aimpooint_comp_m4.bundle differ diff --git a/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_sig_romeo_4.bundle b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_sig_romeo_4.bundle new file mode 100644 index 0000000..638cbe5 Binary files /dev/null and b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_base_sig_romeo_4.bundle differ diff --git a/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_dovetail_belomo_pk_aa.bundle b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_dovetail_belomo_pk_aa.bundle new file mode 100644 index 0000000..471f82c Binary files /dev/null and b/user/mods/samswat-reflexsightsrework/bundles/assets/content/items/mods/scopes/scope_dovetail_belomo_pk_aa.bundle differ diff --git a/user/mods/samswat-reflexsightsrework/package.json b/user/mods/samswat-reflexsightsrework/package.json new file mode 100644 index 0000000..ca97525 --- /dev/null +++ b/user/mods/samswat-reflexsightsrework/package.json @@ -0,0 +1,30 @@ +{ + "name": "ReflexSightsRework", + "version": "1.0.0", + "author": "SamSwat", + "license": "MIT", + "main": "src/mod.js", + "isBundleMod": true, + "sptVersion": ">= 3.11", + "loadBefore": [], + "loadAfter": [], + "incompatibilities": [], + "contributors": [], + "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", + "tsyringe": "4.8.0", + "typescript": "5.4", + "winston": "3.12" + } +} diff --git a/user/mods/samswat-reflexsightsrework/src/mod.ts b/user/mods/samswat-reflexsightsrework/src/mod.ts new file mode 100644 index 0000000..6f013d7 --- /dev/null +++ b/user/mods/samswat-reflexsightsrework/src/mod.ts @@ -0,0 +1,16 @@ +import { DependencyContainer } from "tsyringe"; +import { IPostSptLoadMod } from "@spt/models/external/IPostSptLoadMod"; +import { ILogger } from "@spt/models/spt/utils/ILogger"; + +class ReflexSightRework implements IPostSptLoadMod +{ + public postSptLoad(container: DependencyContainer): void + { + // get the logger from the server container + const logger = container.resolve("WinstonLogger"); + + logger.info("Loading: ReflexSightRework bundles..."); + } +} + +module.exports = {mod: new ReflexSightRework()} \ No newline at end of file