UnvalidUserName Posted February 28, 2020 Share Posted February 28, 2020 (edited) 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 February 29, 2020 by UnvalidUserName Link to comment Share on other sites More sharing options...
WarMachineDD7 Posted February 29, 2020 Share Posted February 29, 2020 Have you tried using an Event Handler? The first example on the page goes through setting up an OnHitByPlayer event, and it says that GetHitLocation will work there. Link to comment Share on other sites More sharing options...
UnvalidUserName Posted February 29, 2020 Author Share Posted February 29, 2020 Thanks! I wasn't aware that NVSE had such a feature. I'll look into it and see how I'll make it work Link to comment Share on other sites More sharing options...
Recommended Posts