Weapon Scripts

  • tried to make a weapon script where i reduced the ammo of the m16 and ak47 to 30 bullets and slightly increased there fire rate but i followed every process and carefully doing it step by step vpk and stuffs but still it won't work. This is only the main problem i got but when i subscribed to fully auto scar script on the workshop it works rather than the scripts i made 
    
    Is there any mistake i made? 
    0% 0%
  • You directly edited the vpk file without extracting it first? Well, that can also work, but you'll need to check the "length" of the scripts. You see the "length" word on the bottom of your notepad++? The number there must be the same as the number before you edited the scripts, in order to make it work without bug. If the number is not the same, your vpk file will be bugged & even won't show up in addon menu
    
    Actually it would be much easier if you extract the vpk file first via "GCFScape" or "vpk.exe" to edit the weapon script, & then just repack it as vpk file again via "vpk.exe". This method is guaranteed to work, as long as there's nothing wrong on the script. (If you still don't know where the "vpk.exe" is located, check "common/Left 4 Dead 2/bin". Drag the weapon script vpk file to "vpk.exe" to automatically create a folder with the same name of the vpk file. The weapon script that you need to edit is inside there)
    100% 0%

End of results.