HaplessScrub Posted February 22, 2020 Share Posted February 22, 2020 After way too many inexplicable instances of getting blown up by my own guns using explosive ammo of various types, I started looking for a way to protect myself from these random occurrences. The first idea I had was to add a simple Subject.GetIsReference(PlayerRef [PLYR:00000014]) = 1.000000 condition to the "Spray and Pray" perk, to no avail. Another idea I had was to make a custom base effect, which I attached to an object effect (with Subject.GetIsReference(PlayerRef [PLYR:00000014]) <> 1.000000), which I attached to a projectile, which I attached to an explosion ---> stuck that new ammo into the appropriate ammo list FLST, had a go ... aaaand nothing. I managed to find a few other folks interested in the same idea, but their respective threads were either derailed by petty moderators (not on this site) or led to a dead-end. Any suggestions or leads would be appreciated. Also - stuff me if most of the information out there relating to custom modding/scripting isn't horrendously written or downright inaccurate and misleading. Link to comment Share on other sites More sharing options...
Radioactivelad Posted February 22, 2020 Share Posted February 22, 2020 This sounds like it would just be a supped-up version of the Hit The Deck perk. It affects all explosives, but I wouldn't think it would be impossible for a Condition to check if the source of the "attack" is from the player. Link to comment Share on other sites More sharing options...
JW1 Posted February 23, 2020 Share Posted February 23, 2020 (edited) The Perk Entry window has a tab for "Attacker" - you could try setting up a version of 'Hit the Deck' with "Attacker" set to player. Edited February 23, 2020 by JW1 Link to comment Share on other sites More sharing options...
HaplessScrub Posted February 23, 2020 Author Share Posted February 23, 2020 Thanks for chiming in, fellas. Ahl be darned if I haven't been trying every permutation I can think of on that very perk. Even with the Modify Damage Threshold (defender) pumped up to 1000, 2000, and beyond, with no condition on weapon type, I still wind up blowing myself up 'over them mountains' - the crit / death effect (?) that I made sure to remove ages ago. It hasn't helped that my GECK has only been able to muster a ~4 GB log file filled with the same error message, by way of output. Everything I've been doing is through xEdit / FNVEdit. I'm wondering if it's not down to impact force, the dismember formula used under the hood, or some conflicting scripts. Possibly it's related to whatever random bug was blowing me up in the first place. Or could it be that all these changes I've been testing just aren't registering / saving properly? That last one doesn't seem to be it, since I'm able to change various visual effects and immediately see the difference, so ... stuff me. Thanks just the same, though. Link to comment Share on other sites More sharing options...
mysteriousman121 Posted February 23, 2020 Share Posted February 23, 2020 Thanks for chiming in, fellas. Ahl be darned if I haven't been trying every permutation I can think of on that very perk. Even with the Modify Damage Threshold (defender) pumped up to 1000, 2000, and beyond, with no condition on weapon type, I still wind up blowing myself up 'over them mountains' - the crit / death effect (?) that I made sure to remove ages ago. It hasn't helped that my GECK has only been able to muster a ~4 GB log file filled with the same error message, by way of output. Everything I've been doing is through xEdit / FNVEdit. I'm wondering if it's not down to impact force, the dismember formula used under the hood, or some conflicting scripts. Possibly it's related to whatever random bug was blowing me up in the first place. Or could it be that all these changes I've been testing just aren't registering / saving properly? That last one doesn't seem to be it, since I'm able to change various visual effects and immediately see the difference, so ... stuff me. Thanks just the same, though. It should be noted that the game has a minimum damage modifier of 20% so regardless of how much DT you give yourself, you will always be taking at least 20% of the original damage.Now you could go and change this minimum damage setting as well but it would end up applying to everything not just your own explosives, which is probably not desirable.So I don't think going with a simple DT Mod would be effective in your case, though sadly I also don't have a better solution to offer either. Link to comment Share on other sites More sharing options...
HaplessScrub Posted February 23, 2020 Author Share Posted February 23, 2020 Nice one, mysteryman! Link to comment Share on other sites More sharing options...
Mktavish Posted March 1, 2020 Share Posted March 1, 2020 I wonder if this would work ...https://geckwiki.com/index.php/SetOnFireWeaponEventHandler Have it set the player to a Ghost state , run a clock for .5 seconds example , then return them to normal state , and reset the handler. Although I think it would work as a deaggro also , causing enemies to need to reacquire the player as a combat target. Plus be invulnerable for that brief moment to all attacks. Link to comment Share on other sites More sharing options...
dubiousintent Posted March 2, 2020 Share Posted March 2, 2020 What about having the EventHandler toggle "godmode" (TGM)? -Dubious- Link to comment Share on other sites More sharing options...
Mktavish Posted March 2, 2020 Share Posted March 2, 2020 What about having the EventHandler toggle "godmode" (TGM)? -Dubious- That was my first thought , or the "Invulnerable" flag.But I didn't see a "Con_TGM" function ... maybe I was looking in the wrong place ?And the invulnerable flag appears to only be available for Creatures ? But both would be better than "SetGhost" if available. Link to comment Share on other sites More sharing options...
dubiousintent Posted March 2, 2020 Share Posted March 2, 2020 It's a JIP LN NVSE added "Console Function": "ToggleGodMode" (no further description). JIP also added "Explosion Functions" and "Destruction Data Functions". The "Category: JIP Functions" page is always worth exploring. -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts