Jump to content

Triggering in game messages (not message boxes)


Pr1meSh0ck

Recommended Posts

Hi everyone,

 

I'm in a bit of a tizzle. See I'm using FO4Edit to muck around with perks at the moment, with the intent being to improve on the VATS Critical Hit system. Now I am able to alter bobblehead perks to allow the player to make critical hits outside of VATS and I have found and altered the pickup message that appears for the bobblehead to properly display this information. After looking through all of the FormID's under the 'Message tab' in FO4Edit I was not able to find anything related to the critical hit message that appears when a critical hit actually lands. However after a bit of searching I was able to find the string that was being being used, it was located in the 'Game Setting' tab (sCriticalStrike), and a quick alteration from "Critical Strike" to "BOOM Headshot" and some testing I confirmed that this was the string. The issue I am having is locating how/where this string triggered, if it is something that can be manipulated or if I will need to wait for a CK in order to begin deconstructing the critical hits.

 

Cheers,

 

Pr1meSh0ck

Link to comment
Share on other sites

Anything in gamesettings is handled by the engine, not by scripting, and isn't accessible. However, presumably critical effects do still trigger out of VATs as laser weapons only disintegrate on a crit (not every kill)? Weapons in previous iterations of the engine used to have an "onCrit SPEL" effect too which presumably triggers out-of-VATS if it's still around.

 

Try looking at the MGEFs for laser disintegration, then build reference info and see where they're used (I'm pretty sure I've seen them in an OMOD at least). That might provide a bit more info- even if it turns out it's just an enchantment that's "On kill, if not in VATS, 10% of the time, run this" as a complete fudge.

Link to comment
Share on other sites

Thanks for the reply. I took a look at laser weapons as you suggest, comparing them to ballistics, to see how the disintegrate on crit works. I believe that the effect is called in a part of the weapon(WEAP) forms, down the bottom there is a Crit Data entry, and that the chance is determined in the magic effect itself.

 

Some testing found the first part to be true, my combat rifle now gooifies people on death.

 

If you're wondering about why I'm wanting to find the critical hit trigger in particular, it is so that I can count the critical hits and unleash a 'super crit' after a certain number of critical hits, as per a suggestion on my mod. I might just have to work around this if indeed the string triggers are a part of the engine as you suggested.

 

Cheers

Link to comment
Share on other sites

  • Recently Browsing   0 members

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