pitAlex added a new file:
QuoteDisplay MoreSpawn 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!
With the friendyPMC mod, you will be able to spawn with a predetermined number of followers that will help you during battles, listen to your commands, carry your loot, and return it at the end of the raid. Scav players can also spawn with allies, though they will be limited in what commands they follow and will not return loot. The same will be true for any follower picked up during the raid (PMC or Scav). They are considered allies, not team members.
There are 2 dependencies this mod relies on:
However, bots will have a hard time following around if you do not also have WAYPOINTS - EXPANDED NAVMESH
Extract the contents of the downloaded zip and it will result in 2 folders: BepInEx and user. Simply paste them into your SPT installation directory and you are ready.
Squad Configuration:
- Squad Size - The number of squad members to spawn with
- Squadmate return chance after death - Chance your followers will return the items you gave them should you die. This applies only to members you spawned with
- Use Squad setup - Enable customization for each squad member
- Squad Member Nickname - Set a custom nickname for the squad member. Leave blank for default
- Squad Member Equipment - Set custom equipment for the squad member. You can choose between default (SPT random equipment) or user-created loadout presets that can be made on the character screen.
- Squad Member Top - Set what the top clothes for the member should be. Leave blank for default. Only tops you've unlocked will show here
- Squad Member Bottom - Set what the bottom clothes for the member should be. Leave blank for default. Only the bottoms you've unlocked will show here
- Squad Member Tactic - Set the member's fight tactic. See the Gameplay Guide > Tactics for details on available tactics.
- Maximum pickup followers - Maximum followers the player can pick up during a raid. This is in addition to the squad
Miscellaneous:
- Maximum scan distance - Maximum distance to pick up any visible enemy that the player is signaling when issuing the "Contact" command
- Time to forget about the enemy (in sec.) - Maximum time a follower will remember an enemy. This is applied only at the beginning of a raid
- Squad Health Multiplier - Health multiplier for the followers you spawn with. This is applied to each body part.
- Report Status Volume - Volume of the radio sound when triggering report status
- Enemy Marker - Show enemy position when reporting status. If disabled, the enemy marker sound will also be disabled
- Raid End Messages - Followers will send messages at the end of the raid based on conditions such as if all made it out or if you picked up a follower and kept him alive. Return items messages are excluded
- Same PMC Side Hostile - Should PMC Bots of the same side be hostile to each other (followers remain friendly to you)
- BEARs speak English - Should BEAR bots speak English or Russian
- PMC Arm Bands - Should PMC bots have armbands (red for BEARs, blue for USECs) for easier identification
- Ping Squad - Shortcut key for triggering the Report call if you find it too hard to use the quick gesture menu that the game offers with F1-F12 keybinding
- Enemy Report - Shortcut key for triggering the Contact call if you find it too hard to use the quick gesture menu that the game offers with F1-F12 keybinding
The squad commands are found under the Phrase Menu of the game (Default double tap Y) and are part of groups. The mod utilizes the existing phrases as a means to issue commands to your followers. These commands can be issued to the entire squad or to an individual member of the squad by looking at them. The maximum distance for phrases to be picked up while looking at a member is 35 meters and for gestures, it is between 25 and 15 meters based on the gesture.
Not all types of followers will listen to all the commands. Scav and allies have restrictions, see below the list of commands for details.
Take note: These commands, the game makes them available based on what voice or side your character is. These commands will all be available for standard PMC voices. Custom voices can result in some of them not showing up.
In COMMAND:
- Follow Me - Ask a member of the same faction to follow you or if issued to your squad, tell them to resume follow
- Attention - A command introduced due to the glitchy behavior of Tarkov's AI to help reset your followers in case they are stuck or you want them to forget about an enemy (does not work if the enemy is still in view or too close)
- Regroup - Tell your followers to resume following if out of combat or come near your position if in combat
- Get Back - Tell your followers to follow you at a distance
- On Your Own - Tell your followers to follow at a distance, to no longer prioritize covering you during fights, and to switch to their initial tactic (initial tactic can be changed to "Holder" when issuing "Hold Position")
- Cover Me - Regroup, set them to follow you close, and make them cover you during fights
- Hold Position - Switch from the initial tactic to the "Holder" tactic
- Go Go GO - Switch back to the initial tactic
- Go Forward - Issue a push command to them to get closer to the enemy
- Stop - Tell your followers to stop in place. Does not work during combat
- Suppress - Ask for suppression fire
- Silence - Ask them to not talk for 1 minute. This command does not work when using SAIN
- Spread Out - Tell your followers to find some cover
In HELP:
- Need Help - Same as regroup, but only the closest follower will execute it
In CONTACT:
- All directions commands (in front, left, right, on six) - Makes your followers look towards the direction you signaled, relative to your look direction. All but the "in front" can also be issued to a single bot by looking at him.
In ENEMY:
- Contact - Makes your followers look toward the direction you are looking and if you have an enemy in your visual they will pick him up. This is dependent on "Maximum scan distance" and if you can clearly see the enemy's head or torso.
- Over There - Same as Contact, but instead of voice signaling it does a hand gesture towards the direction
In GESTURES (these do not work while in combat, except for "That Direction" and "Come To Me"):
- Come To Me - The bot you are looking (maximum 15 meters) at will come near your position
- That Direction - The bot closest to you, within 15 meters distance, will go towards where the player is looking at a maximum of 25 meters distance.
- Stop - All bots within 15 meters distance will stop
A followerstome console command that teleports all followers to your location. Needed as the AI can sometimes get stuck under stairs or simply run in place.
There are also commands under the quick gestures (Default Y) which become available when interaction is possible:
- Open Door - Shows up when facing a door and being close enough to it. The closest bot to you will attempt to open the door. He must be within a 20-meter distance
- Loot This - Shows up when looking at loot. The closest bot to you will attempt to pick up the loot. Only squad members you spawned with will return the loot at the raid end
As mentioned above, scavs and allies will not listen to all the commands. The commands available for them are: regroup, follow me, stop, and attention. You can imagine them being in the permanent "On Your Own" command.
Let's start by acknowledging that we are not dealing with top-tier AI here and thus your followers can end up doing stupid things or not properly engage. We cannot rely on the SAIN AI as that mod is not designed to make room for a situation where you have the player as a team leader issuing commands left and right. You will find yourself relying on Attention and Contact commands a lot. One for getting them unstuck and back to the direction you want and the other to get them to engage as they can have eagle eye observation and also be stone-deaf and oblivious to what is going on.
As mentioned in the Squad Commands section, you can issue commands to the entire team or individuals (starting with version 3.7). This allows for a combination where you can have some members stay in place while others follow you (issue Stop for all and then look at one and issue Follow Me to have just him follow) Some won't prioritize covering you while others will. The Stop and Come To Me gestures can be chained so you can move bots in the positions you want them. The Contact command will make them face the direction you want as you set them in place and go for the loot.
Tactics Details:
- Default - A balanced tactic between hold position and push. Followers will stay around you if the enemy is too far, looking for spots to shoot from and if the enemy is close enough, and is weaker than them, they will attempt to push him.
- Support - A follower with support tactic will provide frequent suppression fire, will be able to use grenades(even if SAIN disables that), and will be able to use the grenade launcher if he has it as a secondary weapon. He can use the launcher on his own or when asked to provide suppression fire.
- Marksman - A tactic best suited for a sniper bot as he will avoid getting close to the enemy and instead will try to look for spots to shoot from. If none are found they will just try to cover you. The marksman will not obey the push command
- Holder - Bots with the Holder tactic will stand around you, mostly in cover and waiting for the enemy to come into their vision or be close enough for an ambush.
- Pusher - The opposite of Holder. In Pusher mode, the bot will prioritize pushing the enemy.
Dealing with Custom Loadouts:
You can have your bots use custom load-outs provided you have created custom equipment presets. You can create presets by pressing the save button and naming the preset in the section that is above your character's loadout section in the Character screen:
This will save the loadout that can be viewed in the custom presets screen:
Any custom preset saved here will also show in the equipment list for followers in the Configuration Manager:
Q. What's next?
A. There are several features still pending to be implemented in this mod and there will always be room for improvement. However, I cannot promise what will be added as it all depends on the level of effort in terms of time and skills. My background is actually in web programming so my C# skills are limited. But here are several things I plan to add, one way or another:
- Hold Fire/ Fire at will - Commands that will tell your bots to no longer engage with any enemy unless you or they are being shot at.
- Followers to swap weapons when you give them one - Followers to swap their main weapon with the one you give them if it's better.
- Bringing back the Goons - The ability to spawn with the Goons will be back, but it will be in an inviting way and successfully finishing with them in a raid will unlock some special tactics for your followers.
- Squad Management screen - I want to get away from the Configuration Manager and have some kind of screen where you can manage your squad. Simply specifying how many to spawn with will not always be the case. You will have to pick up followers during raids and keep them alive to add more to your roster
- Equipment Lock - Right now when you have your followers spawn with the custom loadout you selected it simply clones it. But this will change where it will actually take the equipment from your stash and cloning the one you are equipped with will not be possible. Thus I will add an "Equipment BioLock" to prevent the equipment from being looted by you or anyone else so you don't lose it in case they or you die.
- Language options.
Q. Do my followers require ammo and meds?
A. They require meds. But do not put meds in the secure container. The secure container will be used for storing ammo. What ammo will be added is based on what ammo the main weapon has the bots spawn with.
Q. Why won't my followers pick up the loot?
A. Out of combat only. They need to have the available space to put the loot and they need to have the path to reach it. Avoid dropping loot in tight spaces.
Q. Why is there a delay in spawn?
A. Unfortunately, a lot of mods hook up to the spawning process and if I try to use my own method (which I did in the past) you will start having random errors and random broken bots. I must stay within the standard spawning command and that can produce delays. This is noticeable when you select "Default" as equipment.
Q. Does this work with FIKA?
A. Yes and No. It works in a system that has FIKA installed, but only for the host. If you have other players joining you can experience glitches and errors. There are no plans to make this mod FIKA compatible, to work in multiplayer.
Q. SAIN does x, y,z - can't the followers do the same?
A. NO. Sain is not designed to have bots work with the player as a team at all. SAIN is not designed to take into account a cross-map moving of a bot making decisions on what to ignore, and what to engage. SAIN is focused on combat engagement and affects the bot's senses in a way that would make your followers pick up targets left and right. SAIN can put the bot in cover holding when it detects an enemy out of sight. That is not what you want your followers to do as you move around the map. So while SAIN has some effect on the followers, it's minimal.
Q. Can you add this and that feature?
A. You can propose things, but it will all depend of the level of effort and if it makes sense to be integrated into what I am trying to achieve with this mod.
This mod had a lot of conflicts with existing bot mods and they almost all touch either the spawn behavior or the brain of the bots. Things are stable now, however, I would not rule out conflicts still happening. If you have problems, be sure to specify what other bot mods you are using in the comments.
Custom equipment can be a problem for bots you spawn with. This means equipment that comes from mods that may not be optimized for being used by bots. This can result in followers not spawning or appearing without a body and stuck in place. So avoid giving them load-outs with custom equipment.
Realism Mod can conflict with bots on the meds side. That needs to be turned off
Bots can sometimes pick up an enemy that they never saw or heard. Use the "Attention" command to reset. In some cases, you have to actually take the enemy out as they keep reacquiring him.
Bots follow in a straight line and can end up intersecting with one another. Yes, that is the navigation logic of the game and cannot be resolved.
You can have delayed spawns. This especially can happen if you have other mods that also touch the spawn behavior like Donuts and QuestingBots. When you do not select a custom loadout the bots can have a delay in spawning with you. This can range from a couple of seconds to even minutes based on your system and what else you have going on that is executing at the beginning of a raid. To resolve, use custom load-outs, see Gameplay Guide -> Dealing with Custom Loadouts
Avoid having lots of followers. The more followers you have the bigger the impact on performance. Unlike regular bots, who are designed to work with the zone they spawned in, your followers must be able to utilize all zones of the map as they follow you. Thus even with all the optimization, the more followers you have the more it has to work to figure out where each is and what covers are available around him.