i have disabled gear and spawn changes and it still crashes. and stops anything from spawning
so it does not seem to work all that well
i have disabled gear and spawn changes and it still crashes. and stops anything from spawning
so it does not seem to work all that well
Can anyone upload fixed ts file here? i cant find it anywhere
Do you have a working config for lighthouse with rogues?
mine does not work at all xD
"raider_waves":{
"raider_default_role":"exUsec",
"raider_high_role":true,
"raider_high_role_chance":15,
"raider_high_role_list":"exUsec",
"wave_total":9,
"slot_min":2,
"slot_max":4,
"insta_spawn_waves":3,
"spawn_time_delay_after_insta_wave": 0,
"spawn_time_delay_for_each_min": 20,
"spawn_time_delay_for_each_max": 60,
"spawn_time_delay_accumulate_for_each_zone": false,
"spawn_location_type": "evenly",
"difficulty":{
"easy":0,
"normal":6,
"hard":3,
"impossible":0
},
"spawn_locations":{
"Zone_TreatmentRocks":1,
"Zone_TreatmentContainers":1,
"Zone_TreatmentBeach":1,
"Zone_RoofBeach":1,
"Zone_RoofContainers":1,
"Zone_RoofRocks":1,
"Zone_Hellicopter":1,
"Zone_Blockpost":1
}
},
Display More
I,m trying to spawn rogues as rider spawns on Lighthouse but i feel like im getting only PMC as a result
also what does those 2 lines do?
"usec_type": "exUsec",
"bear_type": "followerBigPipe",
Definately getting only pmc bots instead of rogues.
for tests i even modified factory:
"factory4_day":{
"map_rules": "AvoidAllPmc",
"show_generated_bots":"secret",
"max_spawn_time": 1500,
"max_spawn_time_limit_warning":false,
"max_bot_per_zone": 100,
"allow_other_bot_spawn_with_boss":true,
"has_boss":true,
"bosses_spawn_location_type":"together",
"max_boss":1,
"boss_spawn_trying_loop":1,
"allow_same_boss_spawn":false,
"bosses_also_use_scavs_spawn_locations":true,
"bosses_also_use_raiders_spawn_locations":false,
"cultists_spawn_count_for_max_boss": true,
"cultists_spawn_at_own_locations": false,
"boss_settings":[
{
"name":"gifter",
"chance":0,
"difficulty":"normal, hard",
"escort_type":null,
"escort_difficulty":null,
"wave_total":1,
"wave_spawn_time_for_each_min":20,
"wave_spawn_time_for_each_max":60,
"wave_spawn_all_same_location":false,
"spawn_locations":{
"BotZone":1
},
"trigger_id":"",
"trigger_name":"",
"supports":null,
"evenly_time_spawn": true
},
{
"name":"bossTagilla",
"chance":0,
"difficulty":"normal, hard",
"wave_total":1,
"wave_spawn_time_for_each_min":20,
"wave_spawn_time_for_each_max":60,
"wave_spawn_all_same_location":false,
"spawn_locations":{
},
"trigger_id":"",
"trigger_name":"",
"supports":[
{
"BossEscortType":"",
"BossEscortDifficult":[
"normal, hard"
],
"BossEscortAmount_min":0,
"BossEscortAmount_max":0
},
{
"BossEscortType":"",
"BossEscortDifficult":[
"normal, hard"
],
"BossEscortAmount_min":0,
"BossEscortAmount_max":0
}
],
"evenly_time_spawn": true
},
{
"name":"exUsec",
"chance":100,
"difficulty":"normal, hard",
"wave_total":10,
"insta_spawn_waves":3,
"wave_spawn_time_for_each_min":20,
"wave_spawn_time_for_each_max":60,
"wave_spawn_all_same_location":false,
"spawn_locations":{
},
"trigger_id":"",
"trigger_name":"",
"supports":[
{
"BossEscortType":"",
"BossEscortDifficult":[
"normal, hard"
],
"BossEscortAmount_min":0,
"BossEscortAmount_max":0
},
{
"BossEscortType":"followerGluharAssault",
"BossEscortDifficult":[
"normal, hard"
],
"BossEscortAmount_min":1,
"BossEscortAmount_max":3
}
],
"evenly_time_spawn": true
}
],
"wave_settings":{
"scav_waves":{
"wave_total":0,
"slot_min":1,
"slot_max":3,
"insta_spawn_waves":4,
"spawn_time_delay_after_insta_wave": 0,
"spawn_time_delay_for_each_min": 20,
"spawn_time_delay_for_each_max": 120,
"spawn_time_delay_accumulate_for_each_zone": false,
"spawn_location_type": "evenly",
"difficulty":{
"easy":2,
"normal":5,
"hard":2,
"impossible":1
},
"spawn_locations":{
"BotZone":1
}
},
"pmc_waves":{
"wave_total":0,
"slot_min":1,
"slot_max":2,
"insta_spawn_waves":4,
"spawn_scav_raider_location_chance": 44,
"spawn_time_delay_after_insta_wave": 0,
"spawn_time_delay_for_each_min": 20,
"spawn_time_delay_for_each_max": 120,
"spawn_time_delay_accumulate_for_each_zone": false,
"spawn_location_type": "evenly",
"difficulty":{
"easy":2,
"normal":6,
"hard":1,
"impossible":1
},
"spawn_locations":{
"BotZone":1
}
}
}
},
Display More
firstbornacorn added a new file:
QuoteDisplay MoreMy first publication, thanks to JBS4BMX (most of the code comes from his mod)!
I'm planning to add also ammo into the allowed items, but right now I'm stuck as it only allows putting one bullet not a whole stack.
Also cant join discord for some reason to get some modders with experience to help...
Fin, I'm not sure if im right but even if i ad exusec to the category (it seems to help with roaming ones) it does little to nothing to the ones using GL-s and MG-s. they snipe at bots and me across the bridge near the intersection xD
They also spawn all over light house.
I would suggest using a zicoman's AI Configuration for spawns you can edit them down to spawn them only on one location but it already seems good
I just tried running lighthouse, it seems that only the added waves were spawned, no vanilla spawns happened, is it a known issue?
also
lighthouse is not there
Thats why nothing spawned? (btw. it worked fine with previous version)
i tried changing to:
"aiChanges": {
"changeBots": {
"lowLevelAIs": [
"assault",
"followergluharassault",
"followergluharscout",
"followergluharsecurity",
"followergluharsnipe",
"followerkojaniy",
"followersanitar",
"followerbully"
],
"midLevelAIs": [
"pmcbot",
"assaultgroup",
"bear",
"usec"
],
"highLevelAIs": [
"bosssanitar",
"bosskojaniy",
"bosstagilla",
"bosskilla",
"bossgluhar",
"bossbully"
]
},
and still nothing spawns.
I tried rolling back to previous version and it works so its something wrong with the config even with all 3 levels populated
Hey, just downloaded new version and used the config tool to create below config.
for some reason it throws errors while loading, hope this will help improve mod while i try to create config manually.
[ERROR] Trace:
TypeError: Cannot set property 'difficulty' of undefined
at Function.replaceDifficulties (D:\SPTarkov\user\mods\zzzFin-AITweaks\src\mod.js:1401:33)
at Function.scrambleBots (D:\SPTarkov\user\mods\zzzFin-AITweaks\src\mod.js:1374:15)
at Function.setDifficulty (D:\SPTarkov\user\mods\zzzFin-AITweaks\src\mod.js:4916:13)
at AITweaks.main (D:\SPTarkov\user\mods\zzzFin-AITweaks\src\mod.js:5045:12)
at AITweaks.load (D:\SPTarkov\user\mods\zzzFin-AITweaks\src\mod.js:125:8)
at Function.executeMods (D:\SPTarkov\obj\bundle.js:26082:28)
at Function.load (D:\SPTarkov\obj\bundle.js:25971:15)
at Object.load [as aki-mods] (D:\SPTarkov\obj\bundle.js:16417:15)
at Function.load (D:\SPTarkov\obj\bundle.js:27461:27)
at Function.main (D:\SPTarkov\obj\bundle.js:15143:9)
Edit i think i found the reason:
I removed line 37
it seems to help
Edit:
yeah it stopped error from happening but nothing spawns in the raid.... no vanilla waves no additional ones
Display MoreThat's odd. I suspect you may have a misspelled bot name somewhere in your config, but it appears I messed up that error message. To replace '18' with the actual name, you'll need to open up Mod.js and find this line:
Logger.error(`Bot with name ${i} does not exist, or is missing at least one difficulty entry.This error must be fixed, or you'll likely experience errors. Check your AI category entries in the config and make sure they're all valid bot types.`)
And replace it with this:
Logger.error(`Bot with name ${botName} does not exist, or is missing at least one difficulty entry.
This error must be fixed, or you'll likely experience errors. Check your AI category entries in the config and make sure they're all valid bot types.`)
You should also be able to look in your config file and count through the bots under 'changeBots'. -The nineteenth bot from the top will be the problematic one, though if there is no nineteenth bot, then you'll want to change Mod.js to find out more.
But this only happens when i turn off behaviour changes
If i turn it back on, the errors go away as well.
I will try to test more around it. i will let you know.
I don't believe so, it's more likely due to having Behaviour Changes enabled.
if i turn bechaviour changes to false i get this error:
[ERROR] Bot with name 18 does not exist, or is missing at least one difficulty entry.
This error must be fixed, or you'll likely experience errors. Check your AI category entries in the config and make sure they're all valid bot types.
[ERROR] Trace:
TypeError: Cannot read property 'difficulty' of undefined
at Function.noTalking (D:\SPTarkov\user\mods\zzFin-AITweaks\src\mod.js:279:88)
at Function.checkTalking (D:\SPTarkov\user\mods\zzFin-AITweaks\src\mod.js:294:12)
at Function.setDifficulty (D:\SPTarkov\user\mods\zzFin-AITweaks\src\mod.js:4730:13)
at AITweaks.main (D:\SPTarkov\user\mods\zzFin-AITweaks\src\mod.js:4819:12)
at AITweaks.load (D:\SPTarkov\user\mods\zzFin-AITweaks\src\mod.js:119:8)
at Function.executeMods (D:\SPTarkov\obj\bundle.js:26082:28)
at Function.load (D:\SPTarkov\obj\bundle.js:25971:15)
at Object.load [as aki-mods] (D:\SPTarkov\obj\bundle.js:16417:15)
at Function.load (D:\SPTarkov\obj\bundle.js:27461:27)
at Function.main (D:\SPTarkov\obj\bundle.js:15143:9)
My current settings for behaviour that the server works on are:
"AIbehaviourChanges": {
"enabled": true,
"highLevelAIs": {
"default": 1,
"balanced": 0,
"aggressive": 0,
"ranged": 0
},
"midLevelAIs": {
"default": 2,
"balanced": 0,
"aggressive": 0,
"ranged": 0
},
"lowLevelAIs": {
"default": 2,
"balanced": 0,
"aggressive": 0,
"ranged": 0
}
},
Is it possible that the bosses/raiders are not beeing counted into quests because i changed their AI level?
"aiChanges": {
"changeBots": {
"lowLevelAIs": [
"assault"
],
"midLevelAIs": [
"pmcbot",
"bossbully",
"bossgluhar",
"bosskilla",
"bosstagilla",
"bosskojaniy",
"bosssanitar",
"followergluharassault",
"followergluharscout",
"followergluharsecurity",
"followergluharsnipe",
"followerkojaniy",
"followersanitar",
"followerbully",
"assaultgroup",
"bear",
"usec"
],
"highLevelAIs": [
""
]
},
Im having similar issues tot he guy in the comments....
i retried only with this mod installed.
Any idea how to fix this?
TypeError: Cannot read property '_props' of undefined
at D:\SPTarkov\obj\bundle.js:24247:58
at Array.some (<anonymous>)
at Function.isItemIncompatibleWithCurrentItems (D:\SPTarkov\obj\bundle.js:24247:29)
at Function.generateModsForItem (D:\SPTarkov\obj\bundle.js:24121:27)
at Function.generateWeapon (D:\SPTarkov\obj\bundle.js:24033:33)
at Function.generateInventory (D:\SPTarkov\obj\bundle.js:23925:22)
at Function.generateBot (D:\SPTarkov\obj\bundle.js:17169:34)
at Function.generate (D:\SPTarkov\obj\bundle.js:17194:29)
at Array.generateBots (D:\SPTarkov\user\mods\zzFin-AITweaks\src\mod.js:1474:46)
at Object.botGen [as botGenerationQueue] (D:\SPTarkov\user\mods\zzFin-AITweaks\src\mod.js:4286:64)
That would be a great feature if someone could figure out how to change it
Is there a way to make AI (all of them - PMC/SCAV/RAIDER) patrol around the map all the time not stay at one location?