HaodongMo / ARC-9

The nineth weapon base for Gmod by Arctic
90 stars 51 forks source link

Modifying Weapons without using attachments #236

Closed senspooky closed 4 months ago

senspooky commented 5 months ago

Hi all,

Was wondering if there is a way to “extend” the functionality of an existing ARC9 SWEP without creating custom attachments for it?

ie. I love dar-su’s EFT packs, but hate EFT recoil, so I was intending to write an addon which modifies their recoil behaviour.

If this doesn’t already exist in some form, I’m happy to add the functionality to do so.

dar-su commented 5 months ago

Just write some kind of post register swep table changer like those stat editors Replace shitty visualrecoil stats with better recoil (though animations would suck)

senspooky commented 5 months ago

Thanks, is there any way to do it for attachments as well? I've spent a bit of time looking but can't find a hook to override attachments

Might just expose a hook into ARC9 to modify attachments