A minor mod that (mostly forces ai groups to use specific faction) but can be used to add more factions aswell.
By default this mod forces most heists to either use FBI or SWAT faction (not because i was lazy to add new factions), but you can use this to add a new faction
(instructions inside of HOW TO ADD MORE FACTIONS.txt in factions folder)
Inside "levelstweakdata.lua", you can change each level's ai_group_type (for custom heists, see their main.xml)
non-existant values would crash, so if you want to reset it back to default, comment it using: "--" without the brackets
(You'd prob figure it out even without Lua knowledge, i don't wan't to make an options menu just for this)
MULTIPLAYER IS UNTESTED, MAY CAUSE UNINTENDED SIDE EFFECTS SO PROCEED WITH CAUTION
It might sync with clients, it might not.
I'd also like to thank whoever made the custom faction code, without them this wouldn't be possible (or just rlly difficult)