Updated Swagnuts

This commit is contained in:
Rage 2025-01-12 03:14:20 -05:00
parent 66964b26ef
commit df12331013
365 changed files with 1335 additions and 2826 deletions

View File

@ -1,11 +1,11 @@
[General] [General]
gameName=spt gameName=spt
modid=0 modid=0
version=d2025.1.10.0 version=d2025.1.12.0
newestVersion= newestVersion=
category="1," category="1,"
nexusFileStatus=1 nexusFileStatus=1
installationFile=SWAG-Donuts-v4.0.0RC1-SPT310x.7z installationFile=SWAG-Donuts-v4.0.0RC2-SPT310x.7z
repository=Nexus repository=Nexus
ignoredVersion= ignoredVersion=
comments= comments=

View File

@ -152,8 +152,22 @@
"shoreline": 0, "shoreline": 0,
"streets": 0, "streets": 0,
"woods": 0 "woods": 0
},
"partisan": {
"customs": 15,
"factory": 0,
"factory_night": 0,
"groundzero": 0,
"groundzero_high": 0,
"interchange": 0,
"laboratory": 0,
"lighthouse": 15,
"reserve": 0,
"shoreline": 15,
"streets": 0,
"woods": 15
} }
}, },
"CustomBosses": { "CustomBosses": {
"santa": { "santa": {
"enabled": true, "enabled": true,

View File

@ -0,0 +1,136 @@
{
"customs": [
{
"BossChance": 15,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"factory": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"factory_night": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"groundzero": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"groundzero_high": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"interchange": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"laboratory": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"lighthouse": [
{
"BossChance": 15,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": [
"Zone_Island"
],
"Supports": null,
"Time": -1
}
],
"reserve": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"shoreline": [
{
"BossChance": 15,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"streets": [
{
"BossChance": 0,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
],
"woods": [
{
"BossChance": 15,
"BossEscortAmount": "0",
"BossEscortType": "followerzryachiy",
"BossName": "bosspartisan",
"BossZone": null,
"Supports": null,
"Time": -1
}
]
}

View File

@ -25,6 +25,7 @@ export const roleCase: object = {
bosskolontay: "bossKolontay", bosskolontay: "bossKolontay",
bosspunisher: "bosspunisher", bosspunisher: "bosspunisher",
bosslegion: "bosslegion", bosslegion: "bosslegion",
bosspartisan: "bossPartisan",
followerboar: "followerBoar", followerboar: "followerBoar",
followerboarclose1: "followerBoarClose1", followerboarclose1: "followerBoarClose1",
followerboarclose2: "followerBoarClose2", followerboarclose2: "followerBoarClose2",
@ -67,6 +68,7 @@ export const reverseBossNames: object = {
bossknight: "goons", bossknight: "goons",
bosszryachiy: "zryachiy", bosszryachiy: "zryachiy",
bosskolontay: "kolontay", bosskolontay: "kolontay",
bosspartisan: "partisan",
marksman: "scav_snipers", marksman: "scav_snipers",
sectantpriest: "cultists", sectantpriest: "cultists",
exusec: "rogues", exusec: "rogues",

View File

@ -53,6 +53,7 @@ import sanitar from "../config/bosses/sanitar.json";
import shturman from "../config/bosses/shturman.json"; import shturman from "../config/bosses/shturman.json";
import tagilla from "../config/bosses/tagilla.json"; import tagilla from "../config/bosses/tagilla.json";
import zryachiy from "../config/bosses/zryachiy.json"; import zryachiy from "../config/bosses/zryachiy.json";
import partisan from "../config/bosses/partisan.json";
// Spawn Configs // Spawn Configs
import bloodhounds from "../config/other/bloodhounds.json"; import bloodhounds from "../config/other/bloodhounds.json";
@ -83,7 +84,8 @@ const bossSpawnConfigs = [
sanitar, sanitar,
shturman, shturman,
tagilla, tagilla,
zryachiy zryachiy,
partisan
]; ];
const customSpawnConfigs = [ const customSpawnConfigs = [
@ -168,9 +170,9 @@ class SWAG implements IPreSptLoadMod, IPostDBLoadMod
); );
staticRouterModService.registerStaticRouter( staticRouterModService.registerStaticRouter(
`${modName}/client/match/offline/end`, `${modName}/client/match/local/end`,
[{ [{
url: "/client/match/offline/end", url: "/client/match/local/end",
action: async ( action: async (
url: string, url: string,
info: any, info: any,
@ -261,22 +263,13 @@ class SWAG implements IPreSptLoadMod, IPostDBLoadMod
{ {
try try
{ {
// Retrieve configurations const botConfig = container.resolve<ConfigServer>("ConfigServer").getConfig<IBotConfig>(ConfigTypes.BOT);
const configServer = container.resolve<ConfigServer>("ConfigServer"); const pmcConfig = container.resolve<ConfigServer>("ConfigServer").getConfig<IBotConfig>(ConfigTypes.PMC);
const botConfig = configServer.getConfig<IBotConfig>(ConfigTypes.BOT); const { convertIntoPmcChance } = pmcConfig;
const pmcConfig = configServer.getConfig<IPmcConfig>(ConfigTypes.PMC); Object.entries(convertIntoPmcChance).forEach(([mapKey, map]) => {
Object.entries(map).forEach(([roleKey, role]) => {
// Disable PMC conversion role.min = 0;
const conversionTypes = ["assault", "cursedassault", "pmcbot", "exusec", "arenafighter", "arenafighterevent", "crazyassaultevent"]; role.max = 0;
validMaps.forEach(location =>
{
conversionTypes.forEach(botType =>
{
const mapPmcChances = pmcConfig.convertIntoPmcChance[location];
if (mapPmcChances)
{
mapPmcChances[botType] = { min: 0, max: 0 };
}
}); });
}); });
logger.info("SWAG: PMC conversion is OFF (this is good - be sure this loads AFTER Realism/SVM)"); logger.info("SWAG: PMC conversion is OFF (this is good - be sure this loads AFTER Realism/SVM)");
@ -817,7 +810,7 @@ class SWAG implements IPreSptLoadMod, IPostDBLoadMod
) )
{ {
locations[map].base.BossLocationSpawn = []; locations[map].base.BossLocationSpawn = [];
return; continue;
} }
// Remove Default Boss Spawns // Remove Default Boss Spawns

View File

@ -26,19 +26,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -68,19 +55,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -110,19 +84,6 @@
"TarkovStreetsBotLimit": 11, "TarkovStreetsBotLimit": 11,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -152,19 +113,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -194,19 +142,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -236,19 +171,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -278,19 +200,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -320,19 +229,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -362,19 +258,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -404,19 +287,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -446,19 +316,6 @@
"TarkovStreetsBotLimit": 11, "TarkovStreetsBotLimit": 11,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
} }
}, },
{ {
@ -488,61 +345,6 @@
"TarkovStreetsBotLimit": 10, "TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8, "GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8 "GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 5,
"InterchangeBotLimit": 6,
"LaboratoryBotLimit": 5,
"LighthouseBotLimit": 16,
"ReserveBotLimit": 12,
"ShorelineBotLimit": 16,
"WoodsBotLimit": 16,
"CustomsBotLimit": 12,
"TarkovStreetsBotLimit": 12,
"GroundZeroBotLimit": 5,
"GroundZeroHighBotLimit": 8
}
},
{
"Name": "boss-mania",
"PMCBotLimitPresets": {
"FactoryBotLimit": 6,
"InterchangeBotLimit": 9,
"LaboratoryBotLimit": 9,
"LighthouseBotLimit": 9,
"ReserveBotLimit": 9,
"ShorelineBotLimit": 9,
"WoodsBotLimit": 9,
"CustomsBotLimit": 9,
"TarkovStreetsBotLimit": 9,
"GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8
},
"SCAVBotLimitPresets": {
"FactoryBotLimit": 6,
"InterchangeBotLimit": 9,
"LaboratoryBotLimit": 6,
"LighthouseBotLimit": 9,
"ReserveBotLimit": 9,
"ShorelineBotLimit": 9,
"WoodsBotLimit": 9,
"CustomsBotLimit": 9,
"TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 8,
"GroundZeroHighBotLimit": 8
},
"BossBotLimitPresets": {
"FactoryBotLimit": 24,
"InterchangeBotLimit": 24,
"LaboratoryBotLimit": 24,
"LighthouseBotLimit": 24,
"ReserveBotLimit": 24,
"ShorelineBotLimit": 24,
"WoodsBotLimit": 24,
"CustomsBotLimit": 24,
"TarkovStreetsBotLimit": 24,
"GroundZeroBotLimit": 24,
"GroundZeroHighBotLimit": 24
} }
} }
] ]

Some files were not shown because too many files have changed in this diff Show More