diff --git a/project/assets/configs/bot.json b/project/assets/configs/bot.json index 4b6d635e..c9d58f83 100644 --- a/project/assets/configs/bot.json +++ b/project/assets/configs/bot.json @@ -1522,6 +1522,58 @@ "pmcBot": 0 } }, + "playerScavBrainType": { + "factory4_day": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "factory4_night": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "bigmap": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "laboratory": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "woods": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "interchange": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "lighthouse": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "rezervbase": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "shoreline": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + }, + "tarkovstreets": { + "bossKilla": 1, + "assault": 1, + "pmcBot": 1 + } + }, "maxBotCap": { "factory4_day": 13, "factory4_night": 13, diff --git a/project/src/controllers/BotController.ts b/project/src/controllers/BotController.ts index fa92a9d3..004e5100 100644 --- a/project/src/controllers/BotController.ts +++ b/project/src/controllers/BotController.ts @@ -268,6 +268,9 @@ export class BotController public getAiBotBrainTypes(): any { - return { pmc: this.pmcConfig.pmcType, assault: this.botConfig.assaultBrainType }; + return { + pmc: this.pmcConfig.pmcType, + assault: this.botConfig.assaultBrainType, + playerScav: this.botConfig.playerScavBrainType}; } } diff --git a/project/src/models/spt/config/IBotConfig.ts b/project/src/models/spt/config/IBotConfig.ts index bc699547..c552fc7e 100644 --- a/project/src/models/spt/config/IBotConfig.ts +++ b/project/src/models/spt/config/IBotConfig.ts @@ -27,6 +27,8 @@ export interface IBotConfig extends IBaseConfig showTypeInNickname: boolean; /** What ai brain should a normal scav use per map */ assaultBrainType: Record>; + /** What ai brain should a player scav use per map */ + playerScavBrainType: Record>; /** Max number of bots that can be spawned in a raid at any one time */ maxBotCap: Record; /** Chance scav has fake pscav name e.g. Scav name (player name) */