Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
Spawn with a squad of your side, customize them, recruit others while in the raid, and command them on the battlefield.
This mod makes it possible to have bots follow you around and fight alongside you against enemies. You can either spawn with a squad that is customizable through the Config Manager (default F12 key) or recruit others while in a raid.
If you enjoy this mod and would like to show your appreciation you can support me at Ko-Fi!
-
Version 3.8.2
- pitAlex
- 6.6k Downloads
- Fixed Team Status and Over There still being heard by the enemy
- Some bug fixes in the Support Tactic related to suppression action
- Improvements on the busy hand's bug detector for followers
- Peaceful Zryachiy will not be considered an enemy until you interact with him
-
Version 3.8.1
- pitAlex
- 1.5k Downloads
- improved awareness during night raids, while using nightvision
- support now checks if the player is within the blast radius when trying to use the grenade launcher
- command "team status" is no longer heard by the enemy
- added a new command "Over There" which works just like Contact but with no voice, just a hand gesture.
- some bug fixes in the support tactic
-
Version 3.8.0
- pitAlex
- 1.2k Downloads
- added a new tactic - Support - with this tactic the follower will frequently provide suppression fire. If it has grenades it will use them (SAIN does not affect them) and if has a grenade launcher as a secondary weapon it will use that on its own or when asked to do suppression fire.
- removed "Player Equipment" as an option for equipment for bots. When clonning player equipment people have reported to have delays in spawn. Because you can simply save your current equipment as a preset loadout - this is removed and you can use that instead.
- made the "Spread Out" command functional. The bot will run towards some cover when this is executed.
- updated "Contact" command to now take into consideration any visible part of the enemy instead of just the head and torso
- all direction commands are now functional (under CONTACT group)
- "That Direction" has a new function. You can look at something, a maximum 25 m distance, and do the gesture. This will make the nearest bot go there to investigate.
- "Holder" tactic has been revamped to stop bots from continuously checking for where to place themselves while the player is not moving.
- scav followers and picked-up followers will turn hostile on friendly fire
- some improvements on the cover search logic in an effort to reduce the situations where bots end up running in a wall
- spawned follower's level now affects some of it's skills (PMC only)
- improved awareness
- bug fixes
-
Version 3.7.0
- pitAlex
- 5.4k Downloads
- !! all server configuration options have been moved into the Configuration Manager, you can now update them through that and they take effect at raid start
- updated Come Here, That Direction and Stop gesture commands where you can now use them to move bots one by one where you want them.
- updated some Phrase commands to be able to be used on individual followers by looking at them. Be careful, bots too close to your view will be picked up, and thus the command will not go for all. Being in bushes can interfere with this or not seeing the bot clearly.
- altered "get back", "cover me", "hold position" and "go go go" voices to always say the same thing instead of going through different phrases in order to bring them closer to what the commands do relative to the followers
- added "On Your Own" command. This will tell bots to stay at a distance (similar to "Get Back"), switch to their default tactic, and no longer prioritize their position and safety during fights. "Cover Me" resets this
- added a field to provide a custom nickname for each follower in the Configuration Manager
- added fields to provide custom uniform (top and bottom) for each follower in the Configuration Manager
- added options for setting custom shortcut keys for Contact and Status Report phrase commands. (This means you can put these 2 on other than just F1-F12 keys)
- added "Raid End Messages" in the config manager to enable/disable messages followers may send at the end of the raid (return loot messages are excluded)
- fixed the issue with long spawn delay that was happening for some people
- attempt to fix follower still getting stuck in healing animation under certain circumstances (still not 100% of the cause or how to replicate)
- altered how the enemy is added to followers as the current method would make followers aware of any enemy position as soon as that enemy made the player his goal target.
-
Version 3.6.4-beta
- pitAlex
- 5.9k Downloads
- fixed using bear voices for USECs when englishBear is disabled
- ensure looting bots brain, if present, is disabled when a bot becomes a follower
- enforce followers to have the same side as the player on spawn
- refactor the code that deals with followers using player equipment in order to address some errors
- added flag to turn off enemy marker when reporting status
-
Version 3.6.3-beta
- pitAlex
- 1.1k Downloads
Fixed incorrect options positions of squad setup in the configuration manager that 3.6.2 has.
-
Version 3.6.2-beta
- pitAlex
- 91 Downloads
- followers picked up in raid will now have "assist" tactic. In assist mode, followers do not listen to push or hold commands, they tend to do their own thing.
- added flag to copy player's clothes for squad setup in Configuration Manager
- Extended the distance for which the bot decides to search for a shooting spot during combat (Default tactic only)
- Removed fence level settings that originally were used to force commands to work on bots (before version 3.x.x)
- fixed bug where the follower that was picked up during raid was giving back loot that was given to him (only the squad remembers should do that)
- fixed some bugs in what messages are sent to the user based on if he did not give any loot to a squad member or picked up a follower
-
Version 3.6.1-beta
- pitAlex
- 972 Downloads
- improvements on how bots push the enemy when conditions are met
- fixed cursed open door command to finally work properly
- made followers appear as friendly in the Dynamic Maps mod
- added a slider for adjusting the report status sound in the Configuration Manager
- the "Hold Position" phrase no longer triggers stay in place when out of combat. It only switches the followers to hold mode.
- made squad skill level relative to the player's skill
-
Version 3.6.0-beta
- pitAlex
- 2.7k Downloads
- removed looting bots dependency, this also means you cannot use the loot corpse command anymore but you can now tell bots to pick up loot that is elevated (like on a table)
- reserved the secure container of bots for extra ammo. The secure container of a bot will be used for adding extra ammo for the main weapon. If you create presets that include a secure container, that will be ignored and instead use the default one the bot would spawn with.
- changed "balance" tactic which is now named "default" where bots will look for shooting spots when at a distance from the enemy instead of falling back to holder tactic
- fixed bots not appearing under the same group.
- fixed BEAR still speaking English when englishBear flag is off
- fixed BTR being seen as an enemy to the followers
- changed the squad spawn logic to help deal with an error SAIN was throwing because of not liking that the followers were spawning first
- "Fire" command removed
- "Stop" command removed
- "Hold Position" command updated ( triggers hold tactic if in combat and hold position if out of combat).
- "Stop" gesture triggers hold the position for any follower within 15-meter radius.
- enabled "exit located" command to trigger followers to regroup on the player's location
-
Version 3.5.1-beta
- pitAlex
- 787 Downloads
Fixed plugin throwing an error because the cfg file was not present at startup.
Improved the cover-to-cover action as well as the regroup command.
FOGBlackbeard
not working with 3.10 ?
bbit
Very good mod
Shturman
i hope we get a update
tusyok
Sometimes, bot from same faction can throw nade and inadvertently hit teammates (shrapnel), and this will turn him automatically hostile towards his faction.
Now, if we shoot such AI - now our faction members will be hostile to us, which messes everything up.
Is there a way to remove hostility "if hit" between same faction?
DeltaFrost22
Just came back from a long time of not playing. This mod is something I always wanted in SPT but never thought I'd ever actually see, so thanks for making that dream come true. Cannot wait to play this when it gets updated.
prankaru
Is this compatible with questing bots? Not seeing incompatibilities listed anywhere but the setting around same faction friendliness/hostility makes me wonder if it would break questing bots squads
pitAlex Author
The bots you spawn with will not turn hostile regardless of how you shoot or kill. Even when you set the same side hostile to true, the spawned members remain friendly.
prankaru
Mods working great. I do have one question though, what difficulty setting are the friendly pmcs on? And is it possible to change it? The friendly pmc likes to laser things down and I find it actually wipes out most other bots with relative ease
tusyok
Can't really play without this mod, I think that this functionality is something that should be in the base game, however, I doubt that BSG will make working factions, team play, etc.
Thanks for your time and effort, Alex. It is greatly appreciated.
user114514
totally agreed!!!
ovseer
Could you please add follow gestures that change one or all of the followers from stop to follow state? Because voice commands does not seem to work with fika while the gestures do, and there's currently no way to get those stopped followers moving again with gestures. It does not require a fika dependency either.
Also, love the mod and excitingly waiting for 3.10 update
1234231321
the console says that there is no aki version string in the mod and that the mod is old, I have spt version 3.8.0
RogueTech67
You don't mention what mod version you are using, but seeing how the latest version (3.8.2) is for game version 0.14.9.1.30626 (27 Jun 2024) with SPT-AKI 3.9.8, that may be your issue.
dL1GHT
Exact same issue.
"Mod Pit Alex-friendlyPMC is missing the akiVersion field, most likely due to being out of date and incompatible with the current version of AKI - NO MODS WILL BE LOADED"
SPT-AKI 3.8.0
FriendlyPMC 3.8.0
Tried both unitytoolkit 1 and 1.0.1
BigBrain 0.4.0
DarthKiller454
Guys, this mod's versioning does not align with the SPT Version. You have to figure out yourself which is the correct one.
Abadoo
My teammate shot me as they were standing behind me during a conflict, is there a way to disable friendly fire?
Smellyfishfings
i don't know if you made the pmcs or built off of them but someone really needs to make a zombie mod with the tarkov event that had all those zombies
Crabby
im having an issue, im not sure if thats just live tarkov but anytime the companion bots heal they dont bring their guns up and are stuck with the holding the weapon animation but cant shoot and the weapon is not in their hands, it happened with my character too where after injecting a propital i fell through the ground, it happens everytime they are low health and heal
Crabby
nvm i think i figured it out, just dont put the meds in the pockets lmao only in the rig, for some reason they wont use them if they are in their pockets
Crabby
nope its not the pockets its propital, its broken aperretly
pitAlex Author
Bots don't use injectors properly in general. You have the console command followersfixheal to help with that.
MoGumbo
Is there a way to completely disable the AI voice lines? I am using SAIN
pitAlex Author
First, you disable SAIN talk, then you say "Silence" for having them stay silence for 1 minute.
Tannheuser
My HP slider stopped working - no matter what I set it to my squad always spawns in with 440 hp. Anyone else experiencing this?
Tannheuser
After further testing the HP slider works only for custom companions, not the default ones. No big deal tbh, just took me a while to figure it out.
lichking234515
how to use configuration
pitAlex Author
Default F12 is the key that opens the BepInex configuration menu
KaminO
Hello!
Is there a version for 3.6.0 please
I would like to use this mod, its perfect becuse i play on impossible sain difficulty and Ai kicking my ass.
pitAlex Author
No. And earlier versions, prior to spt 3.9 would've been very unstable by comparison.
KaminO
Oh thats a shame. Its a cool mod but i got like a 50 mods on my 3.6.0 in a mish-mash that works perfectly, cant risk updating to 3.9 and loose that. Oh well, thanks for the reply.
Baguettemeister
Gave my moron clone a PKM and he randomly decided to solo goons and won. 10/10 mod.
There are some hickups how sometimes bots spawn 100m from me, run 15m and teleport to their spawn. I guess its the russian spaghetti code of BSG so thank god for followerstome command.
pitAlex Author
There might just not be any spawnable points for them to use where you are. This, for example, I saw in shoreline if you spawn on the edge of the map near the swamp.
BlackCat
Game freezes on extract sometimes. Cannot read property of undefined.
My guess is that the bots try to get the route to me but i already wanished and crash my game.
Items picked up by the allies are still delivered while my loadout resets to whatever i had before raid.
BlackCat
Did some tests - crashes every time allie picks up an item I ordered to pick up. Error ->
TypeError: Cannot read properties of undefined (reading 'length')
TypeError: Cannot read properties of undefined (reading 'length')
at RandomUtil.getArrayValue (C:\snapshot\src\utils\RandomUtil.ts:245:39)
at RouteAction.action (O:\SPT-EFT\user\mods\friendlyPMC\src\Squad.ts:326:49)
at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:41:63)
at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:61:68)
at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:34:36)
at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:130:44)
at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\SptHttpListener.ts:64:49)
at IncomingMessage.emit (node:events:518:28)
at endReadableNT (node:internal/streams/readable:1696:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
TypeError: Cannot read properties of undefined (reading 'length')
TypeError: Cannot read properties of undefined (reading 'length')
at RandomUtil.getArrayValue (C:\snapshot\src\utils\RandomUtil.ts:245:39)
at RouteAction.action (O:\SPT-EFT\user\mods\friendlyPMC\src\Squad.ts:326:49)
at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:41:63)
at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:61:68)
at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:34:36)
at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:130:44)
at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\SptHttpListener.ts:64:49)
at IncomingMessage.emit (node:events:518:28)
at endReadableNT (node:internal/streams/readable:1696:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
pitAlex Author
Turn off raid end messages. Is your game set to be in Russian?
BlackCat
Yes my game is in russian.
I need to set on English?
pitAlex Author
Delete ru.json from "lang" folder of the friendlyPMC mod.
WizzPlays
So how do you set someone to marksman for example? I know how to make them push, holder, default, etc. But no marksman exactly.
pitAlex Author
You select that tactic in configuration menu
WizzPlays
Woops, i just saw it, thanks!
WizzPlays
Another question, does the regroup command make them use the ''support'' tactic?
pitAlex Author
No, the Support tactic has to be selected for it to be fully used. Otherwise, you can use the suppression fire command to request suppression.
WizzPlays
Nice, thank you so much.
CXM
Can anyone confirm a bot bug where they "reset' their movement path and 'loop' sometimes ? trying to figure out if it's this mod, so far not getting it with the mod enabled.
pitAlex Author
Loop in what way? That they run in circles? Or appear running in place?
CXM
Run in place. So, this happens sometimes when my buddy is near zones of death (mine fields for ex) I have dehazardfier. But Any bot can do this in any location where they move and disappear back and move in the same location, repeat
pitAlex Author
Yup, that would be the game and how it's made. Use the console command "followerstome" to teleport them to you. For the others, there is no fix.
Draku
If possible, please add a function for changing the appearance of friends, so that I can, for example, give them a different head
pitAlex Author
There is no reliable way, other than to hardcode the values, to get the head ids. Same for voice.
himesamanoyume
I apologize for bothering you again. I’ve found that as long as no AI mods that conflict with friendlypmc have been run, it is possible to generate PMCs normally in the Fika environment. However, I am now encountering two issues. First, when other players attack the generated friendly PMCs, the host crashes immediately. I believe this may be due to some checks that the friendly PMCs perform on the entities causing them damage. Second, when any player dies during a raid, all AI stops functioning. I hope the author can try to fix these two bugs if they have the time. If these issues are resolved, I believe friendlypmc will fully meet my needs for use in Fika.
pitAlex Author
I am not interested in making this mod Fika compatible because that requires actually making it dependent on FIKA so that it uses some things from it instead of the normal ones.
himesamanoyume
In short, I have compiled a solution for the two issues I mentioned earlier.
First, the crash seems to occur due to a deadlock when other players cause damage to Friendly PMC, so adding an additional check would resolve it.
Second, when any player dies, it causes Friendly PMC to release, and the line
`_bot.Brain.Activate();`//(class BotFollowerPlayer , public virtual void Dismiss() ) throws an error because it indicates that the brain has already been activated. My goal is to keep the Friendly PMC's brain functional after a player's death without reverting to the original brain, so I commented out all the code in this function.
pitAlex Author
Better to post the errors directly. Without a player boss, the FollowerBrain will no longer move around the map and find covers. So it needs to revert to the old brain.
himesamanoyume
There you are.
If I want to implement that after the BOSS player dies, its followers immediately become followers of a specific non-AI, still living player who is the BOSS's player in the raid, what should I do? Do I need to regenerate a completely new FollowerBrain to replace the original one? I tried directly modifying some attributes, but it doesn't seem to work.
I just need some ideas, as it’s too burdensome for me to read through the entire game and understand the running logic of BigBrain. Thank you.
himesamanoyume
Oh, no need. I've already done it
TheGoldenaxe001
Would there be any chance to have paid teammates as an option? A certain cost for each guy per raid, with increasing price for guys with better gear
pitAlex Author
We are not there yet. Where it will decided how you will actually acquire teammates instead of just the spawn option.
royalflush
Hey love the mod is it posible to make something like a hostage extraction with your mod like a friendly you have to save from pmcs in custom dorms or something
pitAlex Author
Not possible
Varyable
Hey appreciate the work here! This one is kind of wild I love it!
Deleted my comment as I didn't read thoroughly through the help section. It's awesome thank you.
Going to remove mods again to troubleshoot why I can't get a Friendly to spawn again.
I Have the main defaults like Big brain, waypoints, SAIN, swag+Donuts (Disabled Donuts but no go)
Just don't know if i changed a SETTING or a mod is conflicting.. Most of the mods don't touch AI so i'm having trouble.
Any help is appreciated
pitAlex Author
With SWAG they can take some time until the spawn. Unless you use custom loadouts
Varyable
Going to look more into the custom loadouts cause i've seen you mention it. I guess my issue was, he spawned for 6-8 raids fine? after maybe 10 seconds each time. Now it's never spawning despite how long I wait. So my bias is making me think I did something that caused it.
Just ran Woods and he showed up! Was running mostly factory to test settings. I'll have to keep making notes. Thanks for commenting so quickly.
AHuman
I'm having moments where AI get stuck sitting around doing nothing despite having a track on target, is there a way to get them unstuck. Regroup doesn't help and ordering them to move forward garners no response.
pitAlex Author
You have a console command followerstome to teleport them if they end up stuck in something, like under stairs. Or are you talking about a different kind of stuck?
Polarius
If they don't move at all even when use the "followerstome" command use the 'Cover Me' or 'Attention' that can reset their pathing to your location again.
Fleexe
I keep getting a bug when i load in as a scav 1 of my team mates are usec.
pitAlex Author
No fix at the moment
SgtEcho227
I need some help with this mod, when I press F12 nothing shows up.
Varyable
Happens to me a lot.. Don't think it has anything to do with this mod though as I've had this pop up for awhile.
I'll have it where just wont respond in game trying to mess with my mods. Eventually it does though, I don't know what causes the delay,
pitAlex Author
When F12 does not work, it can be some mod config crashing. Usually, if you clean up the config folder (that is BepInEx\config) this will reset them all and make things work. If you want to keep your settings, move those files one by one out and see if that eventually resolves it.
20fpsguy
i just had a strange bug i had 2 followers they would run around and follow me but wont heal them self they would sometimes run to cover but stay there wont move until i do regroup but they just run towords me and back to cover and do nothing
they just both died of bleeding they had meds on them
pitAlex Author
Do you have realism?
20fpsguy
nope
Wanuboi
Command not working i guess, Y and below i see my squad member, it says F1 but nothing happen when i press it, and when i click on it either
pitAlex Author
There are many commands. You have normal commands and interaction commands. Interaction commands are made available when looking at a door or a loot, or being close to an ally. They either appear in the center (in the case of doors) or at the bottom left.
The normal commands appear when you double tap Y and you have groups to choose from. F1 is restricted to "mumbling phrase". That does not do anything.