Report Mod
Bot Weapons and Equipment
Version 9.8 | Last Updated: 01-18-2018, 01:42 AM
Status: Public
Views: 56586
Downloads: 15498
32 5

Shortlink:
This started out as a mod that would let you select different weapons for the team AI to use but has evolved into much more over time. With an official implementation by Overkill, it is now based around the Crew Management and improves on that with a variety of features:
  • Lets you select secondary and akimbo weapons for the team AI
  • Lets you choose mask sets for the team AI with character specific masks or a mask of a random pool
  • Lets you select deployables the team AI will carry (only visual, not actually usable)
  • Lets you select armor the team AI will wear (only visual, does not effect their survivability)
  • Adds advanced options to all loadout selections like randomized gear or selection from categories
  • Lets you save selected loadouts as character specific so a certain character will always show up with their selected gear independend of character priority
  • Fixes the team AI weapon balance by taking into account magazine and burst size and gives single fire weapon their correct ROF
  • All the selected team AI gear will sync to other clients (some of it only to clients also using the mod)
  • Enables the random shirt feature for Sangres as a team AI
  • Lets team AI use flashlights and lasers
Additional info

You can also find this mod on GitHub, so if you want to help with anything, feel free to fork the project, make changes and create a pull request if you're done so I can look at the changes. This is also the preferred way to submit any issues you may have.

Credits
French Localisation by Mr.PlayYou [BE]
Italian Localisation by [Ca$h.it] Winston Wolfe
Korean Localisation by 스팀유저
Spanish Localisation by [Vzla] Tak_Riuto
Swedish Localisation by PsychoticFalcon
Don't steal :)

[-]
Leave a comment
To leave a comment you must log in.

12-21-2017, 11:10 AM
Hey, thanks for that. Apparently having them both enabled while also having DMR ammo fix enabled caused it to crash, removing DMR ammo fix made them work together.

12-19-2017, 03:34 PM
Ezzie, I haven't really had a problem with better bots. If your game crashes then there's bound to be a crashlog ("%appdata%\..\local\PAYDAY 2\crash.txt").

12-19-2017, 10:17 AM
Just dropping in to say that your mod is really conflicting with better bots, both mods work as they should separately but no matter what options I enable or disable on either mod, the game will crash on start up if I have both mods enabled at the same time.

Sadly I can't provide a crashlog because my game isn't generating any.

12-18-2017, 03:44 PM
Not really sure what's happening, as it's not directly caused by the mod itself. Don't have a lot of time to look into it atm.

12-18-2017, 11:32 AM
disabled wolfhud still the same

----------------------------------------------------------------------

Mon Dec 18 09:28:50 2017


Application has crashed: C++ exception
[string "lib/managers/playermanager.lua"]:933: attempt to index a nil value



SCRIPT STACK

set_unit() lib/network/base/networkpeer.lua:2285
spawn_unit_original() lib/network/base/networkpeer.lua:2157
spawn_unit() @mods/Bot Weapons/lua/networkpeer.lua:5
spawn_players() lib/network/base/basenetworksession.lua:1511
Run() lib/states/ingamewaitingforplayers.lua:277
update() @mods/PocoHud3/poco/../poco/Hud3.lua:2953
update() core/lib/utils/game_state_machine/coregamestatemachine.lua:92
update() lib/setups/setup.lua:844
update() lib/setups/gamesetup.lua:696
_update() lib/setups/networkgamesetup.lua:21
update() @mods\PocoHud3\poco\common.lua:310
core/lib/setups/coresetup.lua:537


-------------------------------

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        
         payday2_win32_release  (???)     zip_get_name                                        
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 


-------------------------------

Current thread: Main

-------------------------------

System information:
Application version : 1.85.486.
CPU : AMD FX™-8150 Eight-Core Processor (4 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE5
DirectX : 12.0 
GPU : NVIDIA GeForce GTX 970 / nvldumd.dll[23.21.13.8813]
Language : english
Memory :     8173MB 244KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Headphones (High Definition Audio )


-------------------------------

12-18-2017, 07:05 AM
If you're using Better Bots too, please disable Bot equipment on there to ensure that bots arent wearing two sets of armor.

12-17-2017, 10:24 PM
Dunno what's happening exactly, you might want to try with WolfHUD disabled and see if it still crashes.

12-17-2017, 07:23 AM
crashs everytime i equip armor for bots

----------------------------------------------------------------------

Sun Dec 17 05:14:01 2017


Application has crashed: C++ exception
[string "lib/managers/playermanager.lua"]:933: attempt to index a nil value



SCRIPT STACK

spawned_player() @mods/WolfHUD-master/lua/GameInfoManager.lua:2732
set_unit() lib/network/base/networkpeer.lua:2285
spawn_unit_original() lib/network/base/networkpeer.lua:2157
spawn_unit() @mods/Bot Weapons/lua/networkpeer.lua:5
spawn_players() lib/network/base/basenetworksession.lua:1511
update_original() lib/states/ingamewaitingforplayers.lua:277
Run() @mods/WolfHUD-master/lua/MenuTweaks.lua:592
update() @mods/PocoHud3/poco/../poco/Hud3.lua:2953
update() core/lib/utils/game_state_machine/coregamestatemachine.lua:92
update() lib/setups/setup.lua:844
update() lib/setups/gamesetup.lua:696
_update() lib/setups/networkgamesetup.lua:21
update() @mods\PocoHud3\poco\common.lua:310
core/lib/setups/coresetup.lua:537


-------------------------------

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        
         payday2_win32_release  (???)     zip_get_name                                        
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 
                           ???  (???)     ???                                                 


-------------------------------

Current thread: Main

-------------------------------

System information:
Application version : 1.85.486.
CPU : AMD FX™-8150 Eight-Core Processor (4 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE5
DirectX : 12.0 
GPU : NVIDIA GeForce GTX 970 / nvldumd.dll[23.21.13.8813]
Language : english
Memory :     8173MB 244KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Headphones (High Definition Audio ))

12-03-2017, 12:26 PM
Major Mozzer, check the "Disable bot equipment" option in Better Bots" then.

12-03-2017, 03:31 AM
I do.

12-02-2017, 12:44 PM
This probably isn't a bug of the mod, as the crash happens in the original function call which is only called by the mod at this point. Maybe you can give some more info when it happened?

12-02-2017, 12:46 AM
Application has crashed: C++ exception
[string "lib/network/base/networkpeer.lua"]:2159: attempt to index local 'unit' (a nil value)

SCRIPT STACK
spawn_unit() @mods/Bot Weapons/lua/networkpeer.lua:5
_spawn_dropin_player() lib/network/base/hostnetworksession.lua:701
chk_spawn_member_unit() lib/network/base/hostnetworksession.lua:680
lib/network/base/handlers/connectionnetworkhandler.lua:627

12-01-2017, 10:13 AM
Do you use Better Bots?

12-01-2017, 03:32 AM
For some reason the bots seem to carry two deployables at the same time and only wear the light ballistic vest even though I set both options to random

11-29-2017, 12:35 PM
Because that addon changes code of this mod which makes BLT think there's an update since the code now differs from the one on the server.

11-29-2017, 10:36 AM
Wow, you're right. Any idea why that happens?

11-29-2017, 01:53 AM
Are you using the Bot Armor skins addon? If so then that's the cause

11-29-2017, 12:17 AM
Why does it always show there's a new update on the download manager?

11-27-2017, 08:25 PM
This happens when another mod sloppily changes weapon data which causes this mods changes to the weapon data to be overwritten. Either disabling the weapon changes option or removing the mod in conflict will fix this. That said, I will add a sanity check so that at least it doesnt crash.

11-27-2017, 08:23 PM
i had one that i was testing out and i disabled it and now it doesn't crash anymore.