Jump to content

ammo effects


TheBlob2

Recommended Posts

make it so some ammo types will increase or decrease the strength requirement of a weapon while equipped, based on how big the powder load is. like using .44 special in a .44 magnum revolver would decrease the strength requirement by 2, or something like that

 

That should be quite trivial actually, NVSE provides the functions needed: GetPlayerCurrentAmmo and Get/SetWeaponRequiredStrength.

 

But maybe you'd better use a perk with a Modify Weapon Strength Req entry point instead, as I believe the functions above modify the base form. A perk would negate some of the strength required for the player only. Downside is that perks don't work on NPCs, although I honestly don't know if strength requirement even applies for them either.

 

As for differentiating between ammo types, you can either sort them manually into form lists according to how much strength should be negated, or you can use something like GetAmmoCasing.

 

As for implementaiton, use a GameMode script to continually detect whether the player has switched ammo, then apply strength req negation with NVSE functions or perk as explained above.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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