Hi,
I've set about trying to implement damage threshold into Fallout 3, since I believe it is a very, very important combat mechanic from the previous Fallout games.
I've managed to set up a very stupid, simple, and functional only for the main player system which works by basically healing you every frame if you got hit while in combat. The amount of healing (threshold) is determined as a percentage of Armor Rating. Unfortunately, this is a really bad approach and doesn't fit in with the way damage threshold was implemented in Fallout 1/2.
I've tried to use the Begin OnHit block to be able to add the script to armors (right now, it's a perk), and thus be able to possibly implement a cleaner solution that would enable thresholds for ALL characters in the game (who wear armor). However, the OnHit doesn't seem to do anything for me, probably because I am a novice at modding Bethesda games, and am not using it correctly.
If anyone knows how to use the OnHit trigger I would be very grateful for an explanation!
Also, If anyone knows how to detect how much damage was done to a player during an OnHit trigger, that would be immensly helpful as well! (Right now, I'm recording health on every frame... very bad heheh)
A third question I have is if anyone knows how to add a permanent base/actor effect to NPC's. I need to add this effect to essentially all NPC's in the game, and I'd rather not try to do it at run time with a script. But if that's what needs to be done, I'd at least do that. As of right now, I'm at a loss as to how to accomplish this.
Thank you for any help!
I've set about trying to implement damage threshold into Fallout 3, since I believe it is a very, very important combat mechanic from the previous Fallout games.
I've managed to set up a very stupid, simple, and functional only for the main player system which works by basically healing you every frame if you got hit while in combat. The amount of healing (threshold) is determined as a percentage of Armor Rating. Unfortunately, this is a really bad approach and doesn't fit in with the way damage threshold was implemented in Fallout 1/2.
I've tried to use the Begin OnHit block to be able to add the script to armors (right now, it's a perk), and thus be able to possibly implement a cleaner solution that would enable thresholds for ALL characters in the game (who wear armor). However, the OnHit doesn't seem to do anything for me, probably because I am a novice at modding Bethesda games, and am not using it correctly.
If anyone knows how to use the OnHit trigger I would be very grateful for an explanation!
Also, If anyone knows how to detect how much damage was done to a player during an OnHit trigger, that would be immensly helpful as well! (Right now, I'm recording health on every frame... very bad heheh)
A third question I have is if anyone knows how to add a permanent base/actor effect to NPC's. I need to add this effect to essentially all NPC's in the game, and I'd rather not try to do it at run time with a script. But if that's what needs to be done, I'd at least do that. As of right now, I'm at a loss as to how to accomplish this.
Thank you for any help!