Report Download
Bot Weapons and Equipment
Version 8.0 | Last Updated: 05-25-2017, 10:27 PM
Filetype: application/x-zip-compressed
MD5: 88950b2560b4f61580dbbf6cb5ff77da
Status: Public
Views: 55291
Downloads: 14878
21 3
Nebby
Submitter (Submissions)
Matched Content


Shortlink:
This BLT mod allows you to choose the Team AIs weapons as well as their visual appearence via ingame menus. Weapons as well as the visual appearence like armor, masks and deployables will be synchronized with other players in your lobby (deployables are only visible to people also using the mod). Keep in mind that most of the changes are purely cosmetic and it will not enable Bots to place deployables or tank more damage. This mod will allow you to choose from your secondary and akimbo weapons  in the crew management screen, add some advanced selection options to mask and weapon selection as well as fix some vanilla NPC weapon bugs.





Additional info

NOTE: If you use Shotguns on bots, why not take a look at NPC Shotgun Pellets which makes them more useful on Team AI and Jokers by making them work like player shotguns.

You can also find Bot Weapons and Equipment 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
Russian Localisation by Magic Bitard (Currently incomplete)
Don't steal :)

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

Yesterday, 12:11 AM
Heraldo, they are all pretty equal, I tweaked all the single fire weapons to have similar dps to automatic guns

05-25-2017, 10:58 PM
What's the highest damage gun and in your opinion the best gun to equip while using this mod? The Reinfeld had a 450 damage on Vanilla so idk

05-25-2017, 02:25 PM
Hello, my friend and I constantly get this crash ever since one of the recent updates, not sure why.

Application has crashed: C++ exception
mods/Bot Weapons/lua/teamaimovement.lua:56: attempt to index local 'loadout' (a nil value)



SCRIPT STACK



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

Callstack:

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


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

Current thread: Main

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

System information:
    Application version : 1.71.243
    CPU : Intel® Core™ i5-4460 CPU @ 3.20GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
    DirectX : 10.0
    GPU : NVIDIA GeForce GTX 1060 6GB / nvd3dum.dll[22.21.13.8205]
    Language : @ID94cca2fdaccfc2cd@
    Memory :     8119MB 960KB
    OS : 6.1.7601 (Service Pack 1) 0x100-0x1 (64 bits)
    Physics : threaded
    Renderer : DX9 threaded
    Sound : Realtek Semiconductor Corp. (Speakers (Realtek High Definition Audio))

05-25-2017, 06:22 AM
foxhound50, I've checked it again and found a small oversight. It should now correctly allow custom weapons for bots where they are available.

05-25-2017, 05:47 AM
foxhound50, I'm not sure why it blocks all the custom weapons, the way I've set it up should only block the ones that don't work for AI according to Luffy. I'll have to check this again.

05-25-2017, 01:09 AM
Nvm. Found what I can tweak in the changelog. The option in the future could still be nice, though.

05-25-2017, 12:51 AM
Hey, some of these custom guns actually worked, but they can't be accessed now since your update. Is there a line I can delete to continue using them at the risk of crashing for certain guns, or can you add a check box to allow it open in the future?

05-24-2017, 11:22 PM
Nerd Venom, this is a BeardLib issue, I think Luffy is already working on it.

05-24-2017, 10:18 PM
@Nebby

I see now. Very clever.

BTW, I crash whenever someone joins my game. I've got my bots set to default masks and Reinfields in Crew Management.
Code:
Application has crashed: C++ exception
mods/BeardLib/Classes/utils.lua:273: attempt to index field 'primary' (a nil value)



SCRIPT STACK



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

Callstack:

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


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

Current thread: Main

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

System information:
    Application version : 1.71.243
    CPU : AMD FX(tm)-4100 Quad-Core Processor (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE5
    DirectX : 12.0
    GPU : AMD Radeon R7 200 Series / aticfx32.dll[22.19.162.4]
    Language : @ID94cca2fdaccfc2cd@
    Memory :     8173MB 212KB
    OS : 6.2.9200 () 0x100-0x1 (64 bits)
    Physics : threaded
    Renderer : DX9 threaded
    Sound : Advanced Micro Devices (1 - E552VLE (AMD High Definition Audio Device))

05-24-2017, 10:12 PM
It's a reminder of that very tragic event

05-24-2017, 09:51 PM
Baby Mask preset is named "Better Bots"? Is this some kind of statement like before where people using the NGBTO mod were forced to have baby masks?

05-24-2017, 05:26 PM
Ok, thanks.

05-24-2017, 04:42 PM
Tolyanich, yes, it happened because of the custom weapons. I've included a check that prevents the randomizer from picking custom weapons that bots cant use and pushed out an update.

05-24-2017, 04:37 PM
You want full crashlog? Ok. And yes, i use custom weapons.

Wed May 24 14:19:45 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 (???) ???


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

Current thread: Main
Script stack:
load() lib/managers/dynamicresourcemanager.lua:151
add_unit_by_factory_blueprint() lib/units/beings/player/huskplayerinventory.lua:113
add_weapons() @mods/Bot
Weapons/lua/teamaimovement.lua:11
post_init()
lib/units/enemies/cop/copmovement.lua:400 old_post()
lib/units/player_team/teamaibase.lua:7
post_init()
@mods/Better Bots/betterbots.lua:152
lib/units/player_team/teamaisound.lua:5
_spawn_unit()
=[C] spawn_unit()
@mods/BeardLib/Hooks/CoreSystem.lua:24
spawn_one_teamAI()
lib/managers/group_ai_states/groupaistatebase.lua:2833 fill_criminal_team_with_AI()
lib/managers/group_ai_states/groupaistatebase.lua:2948
spawn_players()
lib/network/base/basenetworksession.lua:1483 update_original()
lib/states/ingamewaitingforplayers.lua:262
update_actual()
@mods/Bodhi's War
Repair/Lua/Skipping
and
Picking/screeningcards.lua:60 @mods/TranslucentMissionBriefingGUI/ingamewaitingforplayers.lua:140
() =(tail
call):-1
@mods/PocoHud3/poco/../poco/Hud3.lua:2653 ()
=(tail
call):-1 update()
core/lib/utils/game_state_machine/coregamestatemachine.lua:92
update()
lib/setups/setup.lua:724 lib/setups/gamesetup.lua:643
() =(tail
call):-1
_update()
lib/setups/networkgamesetup.lua:21 update()
@mods/PocoHud3/poco/common.lua:309
core/lib/setups/coresetup.lua:537 ()
=(tail
call):-1
-------------------------------

System information:
Application version : 1.71.243
CPU : Intel® Core™ i7-2700K CPU @ 3.50GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 10.0
GPU : NVIDIA GeForce GTX 970 / nvd3dum.dll[21.21.13.7866]
Language : @ID69065f31945c7d82@
Memory : 16367MB 112KB
OS : 6.1.7601 (Service Pack 1) 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Realtek Semiconductor Corp. (Динамики (Realtek High Definition Audio))

05-24-2017, 01:45 PM
Tolyanich, do you use custom weapons by any chance? Also what is the crash message? You only pasted the script stack.

05-24-2017, 01:37 PM
After the last update, if I choose random weapons, a 50% chance that I will get the following crash when starting any heist:

Current thread: Main
Script stack:
load() lib/managers/dynamicresourcemanager.lua:151
add_unit_by_factory_blueprint() lib/units/beings/player/huskplayerinventory.lua:113
add_weapons() @mods/Bot
Weapons/lua/teamaimovement.lua:11
post_init()
lib/units/enemies/cop/copmovement.lua:400 old_post()
lib/units/player_team/teamaibase.lua:7
post_init()
@mods/Better Bots/betterbots.lua:152
lib/units/player_team/teamaisound.lua:5
_spawn_unit()
=[C] spawn_unit()
@mods/BeardLib/Hooks/CoreSystem.lua:24
spawn_one_teamAI()
lib/managers/group_ai_states/groupaistatebase.lua:2833 fill_criminal_team_with_AI()
lib/managers/group_ai_states/groupaistatebase.lua:2948
spawn_players()
lib/network/base/basenetworksession.lua:1483 update_original()
lib/states/ingamewaitingforplayers.lua:262
update_actual()
@mods/Bodhi's War
Repair/Lua/Skipping
and
Picking/screeningcards.lua:60 @mods/TranslucentMissionBriefingGUI/ingamewaitingforplayers.lua:140
() =(tail
call):-1
@mods/PocoHud3/poco/../poco/Hud3.lua:2653 ()
=(tail
call):-1 update()
core/lib/utils/game_state_machine/coregamestatemachine.lua:92
update()
lib/setups/setup.lua:724 lib/setups/gamesetup.lua:643
() =(tail
call):-1
_update()
lib/setups/networkgamesetup.lua:21 update()
@mods/PocoHud3/poco/common.lua:309
core/lib/setups/coresetup.lua:537 ()
=(tail
call):-1
-------------------------------

05-22-2017, 11:59 PM
Loving the new weapon equip options for the bots in Crew Management.

05-20-2017, 12:18 AM
The update also removed my problem, thank you.

05-19-2017, 07:47 PM
The recent update fixed my problem (Application has crashed: C++ exception mods/Bot Weapons/lua/botweapons.lua:231: attempt to index field 'loadout' (a nil value) ) Thank you bro =3

05-19-2017, 06:19 PM
★Usagiplex★, when does this happen? I just pushed another fix a few mins ago so that might have fixed it as well.