Report Mod
Custom attachments for custom weapons
Version 1.106 | Last Updated: 11-14-2017, 02:02 PM
Status: Public
Views: 1951
Downloads: 1154
41 0
>:3
Author (Submissions)
Matthelzor
Collaborator (Submissions)
Leon S. 🌠
Collaborator (Submissions)
Groceries
Collaborator (Submissions)
Nepgearsy
Collaborator (Submissions)
Miss Ellie
Collaborator (Submissions)
Silent Enforcer
Collaborator (Submissions)
Alcat101
Collaborator (Submissions)

Shortlink:
This mod adds data of custom attachments as sights/stocks/etc to custom weapons.
Since we have a lot of custom weapons from different modders mod like this had to be created to provide remote support of custom sights/etc and temporary support for new attachment added in the game.

Extract archive content to "mod_overrides".

Code suggestions (attachments support):
https://github.com/Pawcio1337/cafcw

Mod supports (Custom weapons):
>:3's
AEK-971
AK12
AK12-76
Akimbo Sidekick
AKU-94
AP Pistol
APS
Arisaka Type 38
Baikal MP-153
Beretta 93R
CBJ-MS
CheyTac M200
Colt R0991
Duke 1911
F2000 Tactical
FD338
FN SCAR-L
FN SCAR-L M203
Galil ACE 23
HK G36K
HK XM8
HK45C
HK416
IWI Tavor X95
KAC SR-25 E2 ACC
L115
M40A5
M60
Magpul FMG-9
Marlin Model 1894 Custom
McMillan CS5
McMillan TAC-50
MPX
Ohio Ordnance HCAR
OTs-14-4A Groza
PP-19-01 Vityaz
PPSh-41
RPD
SA vz. 58P
SKS
SR-3M Vikhr
SV-98
SVD
SVT-40
SVU
S&W M&P40 Pro
Valmet Rk.62
Vepr-12
VSS
Walther P99
Winchester Model 1894
XM21
ZiD A-545

Alcat101's
Howa Type 89 & Type 64
Browning Auto Rifle
PKP Pecheneg
Trench Gun 1897
Browning Auto-5
Hecate AM-P
QBU-88
MSMC
KARD pistol
Negev
Mx4 Storm
Mini 14
Korean Arms Pack - 4 weapon
PLA Arms Pack - 3 weapon
Minebea 9
Volmer HK51-B
Gepard GM6 Lynx
SPAS-15

Ellie's
ARX-160
FY-JS

Groceries's
Magpul PDR
AN-92

Leon's
USAS-12
Deadwood 12G

Matthelzor's
UMP

Nepgearsy's
M27 IAR

Silent Enforcer's
Mossberg 590
TOZ-194
Fort-500
QBS-09
QBZ-03
QBZ-95
STG 44
MP40 
Spectre M4
Makarov Pistol

Custom attachments:
Kobra Sight
CompM4s Sight
M145 Sight
PKA-S Sight
1P69 Giperon Scope
Coyote Sight
Trijicon ACOG TA31F-RMR Scope
Hologram sight
GiTS Carry Handle Sight
Trijicon ACOG TA648 Scope
Zeiss Victory Z-Point
Delta Titanium 3-24x56 Scope
OKP-7 Sight
AR15 Stock Pack
HD33 Sight
SIGTac CP1 Prismatic Scope
Spotter attachment
SRS-02 Sight
CSGO Sniper Scope
HCOG Sight
Holosight
AOG Sight
Sniper Rifles Iron Sights
Trijicon RMR Sight
US Optics ST-10 Scope
ELO Sight
PO 4x24P Scope
Sneaky Suppressor Pack
SUSAT Scope
Kemper XL Sight
InForce WML
Mepro MOR Sight
Rusak Reflex Sight
Trijicon ACOG TA648RMR Scope
Incendiary ammo for assault rifles and pistols
Different Taser rounds for shotguns
Leupold DeltaPoint Sight on RM55 Mount
Compact Salvo 12 Suppressor
Horzine Tech Sight
1.106
- Added support for Alcat's SPAS-15 shotgun

1.105
- Updated support of Trijicon ACOG TA31F-RMR Scope mod for custom weapons.
- Updated support of Trijicon ACOG TA648RMR Scope mod for custom weapons.
- Updated HK45C code.
- Added support for >:3's - SVU mod.
1.104
- Added support for Gepard GM6 Lynx Sniper
1.103
- Added support for >:3's - McMillan CS5 mod.
- Updated HK45C code.
1.102
- Added support for >:3's - HK45C mod.
- Added support for >:3's - Walther P99 mod.
- Updated Duke's 1911 code.
1.101
- Fixed more missing rails.
- Updated support of Trijicon ACOG TA31F-RMR Scope mod for custom weapons.
1.1
- Fixed some sights wasn't adding rails for HK XM8 and PPSh-41.
1.099
- Added support for "Horzine Tech Sight" mod.
1.098
- Tweaked QBS-09 mod code.
1.097
- Updated "Delta Titanium 3-24x56 Scope" mod code.
- Added support for >:3's - SVT-40 mod.
1.096
- Updated SKS code.
1.095
- Added support for QBS-09 mod.
1.094
- Changed how custom attachments are detected this will prevent crashes if a user is using an outdated mod that recently added new attachments to code.
1.093
- Added fix for crashes by using an outdated mod.
- Added support for Akimbo APS.
1.092
- Fixed missing code for some weapons.
- Updated support of "Incendiary ammo for assault rifles and pistols" mod.
1.091
- Fixed few errors in code.
- Added support for >:3's - Beretta 93R mod.
1.088-1.090
- Added support for Deadwood 12G mod.
1.087
- Updated UMP code.
1.085-86
- Added support for Makarov Pistol mod.
1.084
- Added support for Fort-500 mod.
1.083
- Fixed potential crash with Trijicon ACOG TA648RMR Scope mod.
- Added support for "Leupold DeltaPoint Sight on RM55 Mount" mod.
1.08/1.082
- Added support for "Trijicon ACOG TA648RMR Scope" mod.
- Added support for "Incendiary ammo for assault rifles and pistols" mod.
- Added support for "Different Taser rounds for shotguns" mod.
1.079
- Updated for BeardLib Mods Manager.
- Updated L115 code.
- Minor tweaks.
1.075-76-77-78
- Added support for Alcat's Chang-Feng SMG
- Fixed error on JS2 code.
- Really fixed the error... I must be drunk while updating this part...
- Removed some code on MSMC that's not used anymore on the new version of the gun
1.074
- Added support for >:3's - Vepr-12
1.073
- Fixed error in the script.
1.072
- Added support for QBZ-03.
1.071
- Added support for >:3's - Duke 1911
- Added support for recent custom sights.
1.070
- Added support for MP40 mod.
- Added support of Sneaky Supp mod to Silent Enforcer's weapons.
1.069
- Added support for Volmer HK51-B mod.
1.068
- Added support for STG 44 mod.
1.064-67
- Added new custom optic
- Fixed Minebea 9 compatibility issues
1.063
- Fixed script error.
- Updated support of HK XM8 mod.
- Added support for >:3's - Winchester Model 1894
1.062
- Updated support of Trijicon ACOG TA31F-RMR Scope mod for custom weapons.
- Added support for >:3's - IWI Tavor X95.
- Added support for InForce WML mod.
1.061
- Updated support of AEK-971 mod.
- Added support for >:3's - AP Pistol
1.060
- Added Support for 4 Korean Weapon
1.059
- Added support to Groceries AN-92
1.058
- Added support to Mini 14
1.057
- Added support to Nepgearsy M27 IAR
1.056
- Updated support of Trijicon ACOG TA31F-RMR Scope mod for custom weapons.
- Added support for >:3's - Arisaka Type 38.
1.055
- Add support for Mx4.
1.053-1.054
- Updated support of AK-12, AK12-76 and FD338 mods.
- Added support for >:3's - XM21.
1.052
- Add support for the Negev
1.051
- Fixed error in the script.
1.050
- Added support for the QBZ-95 mod.
1.048-1.049
- Added support for SUSAT Scope mod.
1.047
- Added support of Sneaky Supp mod to Alcat's weapon
1.046
- Fixed small error.
- Updated support of CBJ-MS and MPX mod.
1.045
- Added support for >:3's - OBR 7.62.
- Updated support of KAC SR-25 E2 ACC mod.
1.044
- Fixed code for PO 4x24P Scope mod.
- Added support for Silent Enforcer's mods.
1.043
- Added support for >:3's - FN SCAR-L
1.042
- Fixed error in AKU-94 code.
1.041
- Added support for Sneaky Suppressor Pack mod.
- Added support for ELO Sight mod.
- Added support for PO 4x24P Scope mod.
1.039 - 1.040
- Added support for QBU-88 and MSMC
1.038
- Fixed crash relating to Browning Auto-5
1.037
- Added support for Alcat's - Hecate.
1.036
- Added support for >:3's - PP-19-01 Vityaz.
1.035
- Add support for Browning shotgun
1.034
- Changes how Howa sight system works
1.032-1.033
- Some custom weapons received temporary support for new gadgets (Update v1.68.199).
1.031
- Updated support of SR-3M mod.
- Updated support of VSS mod.
1.03
- Updated support of SKS mod.
- Updated support of KAC SR-25 E2 ACC mod.
1.029
- Updated support of SVD mod.
- Updated support of US Optics ST-10 Scope mod.
1.028
- Updated support of SVD mod.
1.027
- Added support for >:3's - CheyTac M200.
1.026
- Updated support of US Optics ST-10 Scope mod.
1.024-1.025
- Fixed potential crash.
1.023
- Added support for US Optics ST-10 Scope mod.
1.022
- Updated support for Trijicon ACOG TA31F-RMR Scope mod.
1.021
- Added support for Trijicon RMR Sight mod.
1.02
- Added support for >:3's - SVD.
- Added support for Alcat101's Trench Gun.
1.019
- Added support for Leon's - USAS-12.
1.018
- Added support for >:3's - HK416.
1.017
- Added support for Alcat101's upcoming PKP Pecheneg
1.016
- Fixed support for "Sniper Rifles Iron Sights" mod and it's usable now on more sniper rifles.
- Added support for Alcat101's - Howa Type 89 & Type 64 and BAR.
1.015
- Removed temporary support for "Sniper Rifles Iron Sights" mod.
- Added support for "PMAG with Rangerplate" mod.
1.014
- Added support for updated "Sniper Rifles Iron Sights" mod.
1.013
- Added support for AOG Sight mod.
- Added support for >:3's - Akimbo Sidekick.
1.012
- Added support for Banana Mag[Image: csdmad.png] , HCOG Sight, Holosight mods.
1.011
- Fixed potential crash caused by outdated UMP mod.
- Added support for >:3's - Baikal MP-153
1.01
- Fixed an issue with the FY-JS (whoops [Image: csdmad.png]) - Ellie
1.009
- Added support for Ellie's - ARX-160, FY-JS.
1.008
- Added support for CSGO Sniper Scope mod.
- Added support for >:3's - FN SCAR-L M203, L115, MPX, SKS.
1.007
- Added support for >:3's - AK-12/76, CBJ-MS, Colt R0991, PPSh-41.
- Added support for Groceries's - Magpul PDR
1.006
- Added support for >:3's - FD338, KAC SR-25 E2 ACC, Marlin Model 1894 Custom, SV-98.
- Added support for Matthelzor's - UMP
1.005
- Mod testing state ended.

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

09-28-2017, 01:32 PM
@Silent Enforcer: I release temp fix for that shortly.

09-28-2017, 01:28 PM
I figured out what cause game to crash, it's an outdated version of Incendiary ammo for assault rifles and pistols it doesn't auto-update

09-28-2017, 12:00 PM
Maybe you should the previous version? It looks like a lot of people have the same problem.

09-28-2017, 07:58 AM
See I'm getting the same crash as silent but here is the thing this is the only mod I downloaded today that goes into the Mod_Overrides folder and now I can not play the game to see if another mod installed

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



SCRIPT STACK

_setup() lib/managers/weaponfactorymanager.lua:26
init() lib/managers/weaponfactorymanager.lua:9
new() core/lib/utils/coreclass.lua:35
original() lib/setups/setup.lua:337
init_managers() @mods/base/req/core/Hooks.lua:260
init_managers() lib/setups/menusetup.lua:229
core/lib/setups/coresetup.lua:379


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

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
                      KERNEL32  (???)     BaseThreadInitThunk                                 
                         ntdll  (???)     RtlUnicodeStringToInteger                           
                         ntdll  (???)     RtlUnicodeStringToInteger                           
         payday2_win32_release  (???)     zip_get_name                                        


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

Current thread: Main
Script stack:
                      _setup()  lib/managers/weaponfactorymanager.lua:26            
                        init()  lib/managers/weaponfactorymanager.lua:9             
                         new()  core/lib/utils/coreclass.lua:35                     
                    original()  lib/setups/setup.lua:337                            
               init_managers()  @mods/base/req/core/Hooks.lua:260                   
               init_managers()  lib/setups/menusetup.lua:229                        
                                core/lib/setups/coresetup.lua:379                   

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

System information:
    Application version : 1.76.332.
    CPU : AMD FX™-6300 Six-Core Processor (3 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE5
    DirectX : 12.0
    GPU : NVIDIA GeForce GTX 750 Ti / nvd3dum.dll[21.21.13.7653]
    Language : english
    Memory :     8191MB 180KB
    OS : 6.2.9200 () 0x300-0x1 (64 bits)
    Physics : threaded
    Renderer : DX9 threaded
    Sound : Realtek Semiconductor Corp. (Speakers (Realtek High Definition Audio))

09-27-2017, 09:12 PM
@Silent Enforcer: Sadly that didn't add anything helpful i tested all weapons/attachments that was changed in last 2 updates and no crashes on my end.

09-27-2017, 07:47 PM
Code:
Application has crashed: C++ exception
[string "lib/managers/weaponfactorymanager.lua"]:65: attempt to index a nil value



SCRIPT STACK

_setup() lib/managers/weaponfactorymanager.lua:26
init() lib/managers/weaponfactorymanager.lua:9
new() core/lib/utils/coreclass.lua:35
original() lib/setups/setup.lua:337
init_managers() @mods/base/req/core/Hooks.lua:260
init_managers() lib/setups/menusetup.lua:229
core/lib/setups/coresetup.lua:379


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

Callstack:

        payday2_win32_release  (???)     ???                                                
        payday2_win32_release  (???)     ???                                                
        payday2_win32_release  (???)     ???                                                
                     KERNEL32  (???)     BaseThreadInitThunk                                
                        ntdll  (???)     RtlSubscribeWnfStateChangeNotification              
                        ntdll  (???)     RtlSubscribeWnfStateChangeNotification              
        payday2_win32_release  (???)     zip_get_name                                        


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

Current thread: Main
Script stack:
                     _setup()  lib/managers/weaponfactorymanager.lua:26            
                       init()  lib/managers/weaponfactorymanager.lua:9            
                        new()  core/lib/utils/coreclass.lua:35                    
                   original()  lib/setups/setup.lua:337                            
              init_managers()  @mods/base/req/core/Hooks.lua:260                  
              init_managers()  lib/setups/menusetup.lua:229                        
                               core/lib/setups/coresetup.lua:379                  

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

09-27-2017, 06:54 PM
where would i find that one?

09-27-2017, 06:40 PM
@NIK_F_S: Until someone post full crash.txt i can't do much as it works fine on my end.

09-27-2017, 06:27 PM
im getting it too though, maybe look into it even if its not likely?

not necessarily that error though, i thought it was something with my installation and am reinstalling right now -.-

09-27-2017, 05:07 PM
@Silent Enforcer: Last update is not likely causing that check callstack in crash.txt.

09-27-2017, 01:57 PM
New update crash my game
Code:
[string "lib/managers/weaponfactorymanager.lua"]:65: attempt to index a nil value

09-24-2017, 10:52 AM
Quote:1.088
- Added support for Deadwood 12G mod.

Did you test this? I don't see the custom attachments in the weapon customisation for the Deadwood 12G.

09-09-2017, 12:55 PM
@>:3 Yup, fixed, thanks a bunch !

09-09-2017, 11:50 AM
@Sartick: I found one error in script that could cause this i upload fix shortly.

09-09-2017, 11:37 AM
@>:3 Yeah, only with the latest version, didn't have any problem with the one before, and daz a lot of mod, I'll try to list them all while I try to find the problem from my own.

09-09-2017, 01:34 AM
@Sartick: That only happens with this mod installed ? If yes then list of installed custom mods.

09-08-2017, 11:08 PM
Yeah, I'm CTD on launch too, but weirdly it's about 
[string "core/lib/utils/coretable.lua"]:32: bad argument #1 to 'pairs' (table expected, got nil)
About coretable..?

09-08-2017, 08:39 PM
@Silent Enforcer: I guess you can thank BLT2 for that as it didn't log that error.

09-08-2017, 08:19 PM
My game crashed on launch.

...for custom weapons/Hooks/weaponfactorytweakdata_leon.lua:172: attempt to index field 'wpn_fps_sho_usas12' (a nil value)

As you can see it crashes because I don't have Leon's Usas 12, I looked in "weaponfactorytweakdata_leon.lua" and find out how to fix that. The problem is that you have only two "end" and you need to add a third one.

08-08-2017, 02:31 PM
Nevermind. I got rid of some older mods and it's fixed now