Report Mod
Bot Weapons and Equipment
Version 9.5 | Last Updated: 10-10-2017, 02:18 PM
Status: Public
Views: 56129
Downloads: 15269
28 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 perfectly sync to other clients (deployables only to clients also using this mod)
  • Enables the random shirt feature for Sangres as a team AI
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
Main
Bot Weapons and Equipment
Main File

Type: application/x-zip-compressedSize: 41.59 KB
Date: 10-10-2017, 02:18 PMAuthor: Shiny Hoppip
Don't steal :)

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

Today, 01:08 AM
Never mind. Problem solved. It was a BLT Networking issue across mods.

Yesterday, 11:14 PM
Application has crashed: C++ exception
[string "lib/managers/chatmanager.lua"]:103: attempt to index field '_muted_peers' (a nil value)

SCRIPT STACK
receive_message_by_peer() lib/managers/chatmanager.lua:61
send_message() lib/managers/chatmanager.lua:46
SendStringThroughChat() @mods/base/req/core/Networking.lua:134
SendToPeers() @mods/base/req/core/Networking.lua:98
functionCall() @mods/Bot Weapons/botweapons.lua:74
Update() @mods/base/req/core/DelayedCalls.lua:24
func() @mods/base/req/core/DelayedCalls.lua:10
Call() @mods/base/req/core/Hooks.lua:109
update() @mods/base/lua/GameSetup.lua:6
update() lib/setups/networkgamesetup.lua:21
core/lib/setups/coresetup.lua:537

Having this mod enabled will instantly crash upon starting the heist.

10-19-2017, 06:22 PM
Alcat101, not sure but if it does, just disable the weapon balance option and it should be fine.

10-14-2017, 04:48 AM
Will this mod conflict really badly with No Jenga Tower allowed mod? http://paydaymods.com/mods/539/NJTA

10-10-2017, 11:54 AM
It doesn't happen with any other Team AI with the mod enabled. Only Sangres.

10-10-2017, 11:48 AM
Hmm, I'll try to reproduce this, not sure how the shirt would effect this though.

10-10-2017, 11:35 AM
I disabled the mod and tried the basic loud heist again. On Day 2, I kept on restarting the day until Sangres was chosen for custody. Oddly enough, there were no crashes. After a second restart with Sangres in custody, there was still no crash. Your mod is somehow causing the crash with Sangres in custody... It might be the random shirt. But I'm not sure.

10-10-2017, 11:24 AM
Hmm, doesn't point to anything mod specific. Can you try if it still hapens with the mod disabled?

10-10-2017, 11:21 AM
Just a quick update: I tried the Basic heist loud once more, and Sangres was the chosen bot to be placed in custody. The crash happened again. Here is the report: Tue Oct 10 04:18:18 2017

Application has crashed: access violation
-------------------------------
Callstack:
         payday2_win32_release  (???)     ???                                                
         payday2_win32_release  (???)     ???                                                
         payday2_win32_release  (???)     ???                                                
         payday2_win32_release  (???)     ???                                                
         payday2_win32_release  (???)     ???                                                
         payday2_win32_release  (???)     ???                                                
         payday2_win32_release  (???)     ???                                                
         payday2_win32_release  (???)     ???                                                

-------------------------------
Current thread: Main
Script stack:
                 set_contour()  lib/units/interactions/interactionext.lua:598      
                  set_active()  lib/units/interactions/interactionext.lua:560      
                  set_active()  lib/units/interactions/interactionext.lua:1030     
                                lib/units/interactions/interactionext.lua:642      
-------------------------------
System information:
 Application version : 1.78.340.
 CPU : Intel® Core™ i7-6500U CPU @ 2.50GHz (1 core); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
 DirectX : 12.0
 GPU : Intel® HD Graphics 520 / igdumdim32.dll[21.20.16.4590]
 Language : english
 Memory :     16243MB 648KB
 OS : 6.2.9200 () 0x300-0x1 (64 bits)
 Physics : threaded
 Renderer : DX9 threaded
 Sound : Realtek Semiconductor Corp. (Speakers / Headphones (Realtek Audio))

10-10-2017, 11:12 AM
Anyways, if it happens again, still send me the crash log to have a look into it. But it should not happen anymore.

10-10-2017, 11:09 AM
No. It happened many times during the (Some examples) are the basic heist (Loud) and once on Heat street. All of them were either private or offline, and more notably, it's almost always Sangres that goes into custody that triggers it. But I get nothing on the crash report that points to it.

10-10-2017, 10:57 AM
Xanaguy, does it still happen? I never manage to get bots into custody it seems ^^ It might have been the same crash as when someone joins your game, as I think the crash happened when the AI despawned. So if it's the same reason it's fixed now.

10-10-2017, 02:27 AM
Strange. Earlier before (Idk which update) I would normally get crashes when Sangres AI disappears to go into custody. I had to swap him out to prevent crashes.

10-09-2017, 08:19 PM
Quote:Shiny Hoppip

FrightFulPath©, did that happen when someone joined?

you hit the nail on the head

10-09-2017, 04:31 PM
This is really cool, I've been wanting a feature like this ever since Crew Customisation was announced. Can't wait to try it out.

10-09-2017, 12:48 PM
Nauotit, I might add a feature in the future that will let you create your own sets ingame, atm it's only possible by editing the masks.json file.If you feel comfortable editing that, take a look at the "mega" set, it shows how to assign certain masks to certain characters and have other characters use masks from a random pool.

10-09-2017, 12:36 PM
Is it possible to create custom mask sets?
I'd like to make a Presidents set, with matching masks with heisters based on the PD:TH set and randoms for other heisters

10-09-2017, 09:56 AM
FrightFulPath©, did that happen when someone joined? Anyway, I've already fixed that one, will update soon.

10-09-2017, 05:03 AM
so... yeah:
_______________

Sun Oct 08 21:59:10 2017


Application has crashed: C++ exception
mods/Bot Weapons/lua/copactionshoot.lua:31: attempt to index local 'w_tweak' (a nil value)



SCRIPT STACK

new() core/lib/utils/coreclass.lua:35
fs_original_copmovement_actionrequest() lib/units/enemies/cop/copmovement.lua:917
action_request() @mods/Full Speed Swarm/lua/copmovement.lua:22
_upd_aim() lib/units/enemies/cop/logics/coplogicattack.lua:1224
clbk() lib/units/player_team/logics/teamailogictravel.lua:225
_execute_queued_task() lib/managers/enemymanager.lua:549
_update_queued_tasks() @mods/Full Speed Swarm/lua/enemymanager.lua:23
update() lib/managers/enemymanager.lua:49
update() lib/setups/gamesetup.lua:657
update() lib/setups/networkgamesetup.lua:21
core/lib/setups/coresetup.lua:537


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

Callstack:

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


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

Current thread: Main



10-07-2017, 12:00 AM
Shiny Hoppip

it seems the game will keep the customized legendary skins even after deleting the mod and it also allows me to use the random function so it seems ill use the legendary skins customizer only when a new legendary skins comes out