Jump to content

Center of Mass Damge


UnvalidUserName

Recommended Posts

I'm making a bullet time mod. The mod is almost complete, it runs well without causing fps issues and most perks that affect VATS work on bullet time doing similarish things. Most of them, except Center Of Mass.

 

Turns out that 15% extra damage for hitting someone on the chest is the hardest thing to code on my mod. If you use Entry Point perk for it, it doesn't work. Reason being, GetHitLocation doesn't work at all unless it's on the same frame the target gets killed, which makes me wonder what is the point of GetHitLocation if it works the same that GetKillingBlowLimb but with further constrains.

 

The only way I found so far is to modify EVERY creature's BodyPartData to change the damage they take from torso shots. This is not a good solution at all as it means that my mod would be incompatible with pretty much anything that changes creatures stats or adds further creatures into the game.

 

Anyone knows how could I code this effect? How do I grant the player extra damage for hitting an specific limb with no weapon in particular?

 

Thanks in advance for any help and for reading this.

 

 

EDIT: Typo

Edited by UnvalidUserName
Link to comment
Share on other sites

  • Recently Browsing   0 members

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