Continuing from my previous post earlier I believe the gear issue with FAIT is there's something in the Raiders inventory or an ID value causing the error trace but other people may need to test this out for themselves so we can identify if this is correct.
If anyone has the same/similar issue please try what I did below and reply to this to see if this works or it doesn't work, I'm curious to see if it's a particular or the same item(s) causing the error traces.
I went in to the Config Editor and set "Change gear for this group" for Scavs and PMC's to true and Raiders to False and no errors show up in the console window and the game works as normal. Raiders are still OP, possibly even more than PMC's in terms of gear which isn't too surprising since FAIT isn't changing the Raiders inventories. I'll be doing some more testing on this so I can narrow it down further and will update later.
(Fin if you are already aware of this just know I'm only trying to help mate and you can ignore this lol)
Display More
Which post are you referring to, exactly? -The last one I can see if the one where the mod wasn't working for 2.2.2, I think? If that's the case, there's been an update since then (1.21.4) that addressed the issue. The structure of AI inventory files changes significantly in 2.2.2, and it needed significant changes to work again. That said, if you're having an issue with 1.21.4a, please let me know, and drop off a debug hash so I can try to replicate the issue : )
After deleting this mod still bots spawn without weapon and gear only with backpacks and melee weapon // Update: after backuping everything to default and setting again bots have vests and armor but still they're spawning without weapons
I need your debug hash, please.
I have a quick question. One of my favorite parts of the mod is that it adds armbands to distinguish usec, bear, scav etc. I am color deficient, and wonder is there a way to change their colors? Trying to make it so bear, usec, rogues, raiders have the same color, hopefully blue. Is very hard for me to see the difference from some with scav. it helps me from killing scavs as a scav lol
It is, yes! -You have to modify mod.js, but this particular change is a little bit complicated. -You'd want to search for this line:
static addFactionIdentifiers()
And then below it you'll see the function that assigns armbands.
There will be a chunk of code, in particular, that looks like this:
let blue = {"5b3f3af486f774679e752c1f" : 1}
let green = {"5b3f3b0186f774021a2afef7" : 1}
let red = {"5b3f3ade86f7746b6b790d8e" : 1}
let white = {"5b3f16c486f7747c327f55f7" : 1}
let yellow = {"5b3f3b0e86f7746752107cda" : 1}
let purple = {"5f9949d869e2777a0e779ba5" : 1}
This determines which variable name is assigned to various armbands. If you scroll up, you'll see a list of all the armband IDs in the game on the left hand side, with their names on the right.
There are two ways to proceed from here: You can either change the ID that each colour references (eg: change the blue one to let blue = {"619bde7fc9546643a67df6f4" : 1} to give all bots that would normally have a blue armband the labs armband, instead), or you can add new variables following the same format (eg: add a line like: let kiba = {"619bde3dc9546643a67df6f2" : 1}) and then scroll down and assign that new colour to whichever bots you like.
On that note, most assignments look like this:
botTypes.assault.inventory.equipment.ArmBand = green. In this case, this is modifying the 'assault' bot.
If you wanted to give them the kiba armband from the example above, you'd just change that line to this:
botTypes.assault.inventory.equipment.ArmBand = kiba
However, there are also these four lines modify PMCs, accounting for the various new ways AKI can move the bot type of PMCs around, so just bear that in mind as well:
botTypes[botNameSwaps.usec].inventory.equipment.ArmBand = blue
botTypes[botNameSwaps.bear].inventory.equipment.ArmBand = red
botTypes[BotConfig.pmc.usecType].inventory.equipment.ArmBand = blue
botTypes[BotConfig.pmc.bearType].inventory.equipment.ArmBand = red
I hope that made sense!