that will not prevent the gun from firing that will prevent the gun from shooting projectiles but it will still play the firing animation and sounds
you need to do state ammo checks
It'd still work for my purposes, if it could affect only certain guns of the same datablock. But it can't. I've got it figured out... I think...
Can I use assets from another addon? I'd rather not package it with duplicate assets. (Weapon_Gun requirement but everyone has it.) Instead of ./filename do I just put /Weapon_Gun/filename? How would I put the file path? I've forgotten how to do file paths like that... Is it ../Weapon_Gun/filename? .. is up a folder, right?
Also, particles and such are included. Can I just delete those? Will it know how to use them from the other files? If not, how do I reference them?
EDIT: It seems to be working with all the un-modified stuff referenced in the other addon folder (I used a different filepath from elsewhere in the file, for some damage image or something), but it still does damage. Apparently I missed a gun->fakeGun modification. Or something else stupid.
EDIT EDIT: Yep, it was just that I was still using the original projectile.