Jump to content

Remove Kill Impulse from all ranged weapons via script?


KiCHo666

Recommended Posts

Hello!

I may have found a way to improve body reaction to bullets.

The way it work is it takes bullet speed and body weight into account by tweaking some of the game settings.

In my tests I've exaggerated it on purpose and set few test weapons Kill Impulse to zero.
The result was much more satisfying kill reaction (tested on humans):

- if someone is shot in the head, head will go backward and they will do a backward roll
- kill shots in the right arm will cause arm to go backward and the rest of the body will rotate accordingly.
- kill shots in the legs will cause legs to go backward and the NPC will faceplant.

etc....

In vanilla game, that's barely used and no matter where you shoot someone, their body will fly backward in the same way because of the Kill Impulse used on weapons and bunch of other fake forces.

Problem is, if I remove kill impulse from all weapons then I'll need a crap ton of compatibility patches to make it compatible with other mods.
So one possible way to achive that might be via script.

Another problem is that I saw no way to change Kill Impulse on the fly. I saw in NVSE documentation GetWeapon... functions and none of them include that.

What are the chances of updating NVSE to include that?

Link to comment
Share on other sites

Your best bet would be reaching out to one of the NVSE plugin coders. Lutana is active and answering questions currently.

 

Lutana NVSE also has GetLoadedTypeArray with which you can fill an array variable with all loaded weapons from all plugins. This would make applying your change globally very easy.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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