Jump to content

Bonus damage with modded guns?


Aurell1an

Recommended Posts

Hi everyone. I'm trying to make a new trait called Born Sniper that gives a damage bonus to weapons, but only if they have a scope. For the Sniper, Gauss, and Anti-Materiel Rifles this is easy, but for, say, the Hunting Rifle it's a little trickier. Is there a way to make it so only a scoped version gets the bonus? I've tried making it so the weapon GetIsID is HuntingRifle AND ModNVHuntingRifleScope, and I've tried changing the effect of ModNVHuntingRifleScope to be what gives the bonus if the Trait is in place, but to no avail. If I'm honest I haven't looked very hard at the latter, even though I strongly suspect it's the right way to go about things, because I know zero about scripting right now.

 

Is this possible? Even better, if someone could give me hints on how to make it so the bonus damage is only applied to shows fired while using a scope or when the enemy is over a certain distance away, that would be amazing.

 

And just for the sake of gauging public opinion, the trait will end up looking something like this:

Born Sniper (req. PER > 6)

 

x1.5 damage with scoped weapons

x0.7 damage with pistols

x0.5 damage with automatic weapons

x2.5 weapon spread with automatic weapons

 

Cheers!

Edited by Aurell1an
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...