Skip to content

Commit

Permalink
Refactored Bot Generation (#1113)
Browse files Browse the repository at this point in the history
Co-authored-by: DrakiaXYZ <[email protected]>
Co-authored-by: Chomp <[email protected]>
  • Loading branch information
3 people authored Feb 17, 2025
1 parent ca4810c commit aff2e00
Show file tree
Hide file tree
Showing 20 changed files with 2,195 additions and 439 deletions.
25 changes: 3 additions & 22 deletions project/assets/configs/bot.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@
"bossBoar",
"bossBoarSniper",
"bossKolontay",
"bossPartisan"
"bossPartisan",
"followerBigPipe",
"followerBirdEye"
],
"durability": {
"default": {
Expand Down Expand Up @@ -2954,27 +2956,6 @@
"55d4af3a4bdc2d972f8b456f"
],
"disableLootOnBotTypes": [],
"assaultToBossConversion": {
"bossConvertEnabled": false,
"bossesToConvertToWeights": {
"bossKilla": 1,
"bossSanitar": 1,
"bossTagilla": 1,
"bossBully": 1,
"bossGluhar": 1,
"bossKojaniy": 1,
"bossKolontay": 1,
"bossKnight": 1,
"followerBigPipe": 1,
"followerBirdEye": 1
},
"bossConvertMinMax": {
"assault": {
"min": 100,
"max": 100
}
}
},
"botNameLengthLimit": 19,
"botRolesThatMustHaveUniqueName": ["assault", "pmcusec", "pmcbear"]
}
141 changes: 1 addition & 140 deletions project/assets/configs/location.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,146 +40,7 @@
"town": 1
},
"customWaves": {
"boss": {
"bigmap": [
{
"sptId": "usecbigmap",
"BossChance": 50,
"BossDifficult": "normal",
"BossEscortAmount": "0,0,2,2,2,1,1,1,1,1,0,2,3",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcUSEC",
"BossName": "pmcUSEC",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": ["pve"],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"sptId": "bearbigmap",
"BossChance": 50,
"BossDifficult": "normal",
"BossEscortAmount": "0,0,2,2,2,1,1,1,1,1,0,2,3",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcBEAR",
"BossName": "pmcBEAR",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": ["pve"],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
}
],
"woods": [
{
"sptId": "usecbigmap",
"BossChance": 50,
"BossDifficult": "normal",
"BossEscortAmount": "0,0,2,2,2,1,1,1,1,1,1,2,3",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcUSEC",
"BossName": "pmcUSEC",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": ["pve"],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"sptId": "bearbigmap",
"BossChance": 50,
"BossDifficult": "normal",
"BossEscortAmount": "0,0,2,2,2,1,1,1,1,1,1,2,3",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcBEAR",
"BossName": "pmcBEAR",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": ["pve"],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
}
],
"sandbox_high": [
{
"sptId": "usecbigmap",
"BossChance": 50,
"BossDifficult": "normal",
"BossEscortAmount": "0,0,2,2,2,1,1,1,1,1,0,2,3",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcUSEC",
"BossName": "pmcUSEC",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": ["pve"],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"sptId": "bearbigmap",
"BossChance": 50,
"BossDifficult": "normal",
"BossEscortAmount": "0,0,2,2,2,1,1,1,1,1,0,2,3",
"BossEscortDifficult": "normal",
"BossEscortType": "pmcBEAR",
"BossName": "pmcBEAR",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"DependKarma": false,
"DependKarmaPVE": false,
"ForceSpawn": false,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": ["pve"],
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
}
]
},
"boss": {},
"normal": {}
},
"openZones": {},
Expand Down
Loading

0 comments on commit aff2e00

Please sign in to comment.