feat(reflex rework)
This commit is contained in:
parent
38316d15a5
commit
c65f07afa7
11 changed files with 131 additions and 0 deletions
BIN
BepInEx/plugins/SamSWAT.ReflexSightsRework.dll
Normal file
BIN
BepInEx/plugins/SamSWAT.ReflexSightsRework.dll
Normal file
Binary file not shown.
85
user/mods/samswat-reflexsightsrework/bundles.json
Normal file
85
user/mods/samswat-reflexsightsrework/bundles.json
Normal file
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
30
user/mods/samswat-reflexsightsrework/package.json
Normal file
30
user/mods/samswat-reflexsightsrework/package.json
Normal file
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
16
user/mods/samswat-reflexsightsrework/src/mod.ts
Normal file
16
user/mods/samswat-reflexsightsrework/src/mod.ts
Normal file
|
|
@ -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<ILogger>("WinstonLogger");
|
||||
|
||||
logger.info("Loading: ReflexSightRework bundles...");
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {mod: new ReflexSightRework()}
|
||||
Loading…
Add table
Add a link
Reference in a new issue