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]
gameName=spt
modid=0
version=d2025.1.10.0
version=d2025.1.12.0
newestVersion=
category="1,"
nexusFileStatus=1
installationFile=SWAG-Donuts-v4.0.0RC1-SPT310x.7z
installationFile=SWAG-Donuts-v4.0.0RC2-SPT310x.7z
repository=Nexus
ignoredVersion=
comments=

View File

@ -152,6 +152,20 @@
"shoreline": 0,
"streets": 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": {

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

View File

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

View File

@ -26,19 +26,6 @@
"TarkovStreetsBotLimit": 10,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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,
"GroundZeroBotLimit": 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