Jump to content

Falling after shock for Devious Devices Integration 4.0


Recommended Posts

Posted

Falling after shock for Devious Devices Integration 4.0

View File


Patch zadEventPeriodicShocker.pex adding fall animation for shock event.

 

It looks like this:

 

Install: unpack into "\Devious Devices Integration 4.0" mod folder or if you don't use MO unpack into "\Data" folder.

 

2019-05-19 no updates, I just want to write what works with version 4.2 as well


  • Submitter
  • Submitted
    04/30/2018
  • Category
  • Requires
    Devious Devices Integration 4.0
  • Special Edition Compatible
    Not Applicable

 

  • 2 weeks later...
Posted

works great,

i used the shocker plug/piercing for arousal control to prevent DCL events

with only a little message in the upper right it was easy to ignore, but

 

NO MORE!

 

your mod made tesla great again ^^

  • 6 months later...
Posted

Can we have a psc too please?
Mostly so we can check against newer DDI versions to merge any potential changes, but also to see how it was done for papyrus beginners like me.

Posted

 

9 hours ago, Whizkid said:

does this work with the new devious intergration i.e. allow this to overwrite?

Yes, overwrite. I have it in the ModOrganizer in a separate folder for assemblies and overwrites DD, and it still works.

Posted
6 hours ago, MaikCG said:

 

Yes, overwrite. I have it in the ModOrganizer in a separate folder for assemblies and overwrites DD, and it still works.

cool thanks mate

  • 6 months later...
Posted

Out of curiosity, how did you alter the shock particle effect during the video? It looks a lot better than the purple aura briefly surrounding the character by default...

Posted

@denkou331 This is shock from DD. I do not know. Is he different?

In the script of this event:

    libs.ShockEffect.RemoteCast(akActor, akActor, akActor) <-- DD source
    libs.PlayThirdPersonAnimation(akActor, libs.AnimSwitchKeyword(akActor, "OutOfBreath"), 6, permitRestrictive=True)    <-- i added only falling, nothing else changed

 

¯\_(ツ)_/¯

  • 1 month later...
  • 3 months later...
  • 11 months later...
Posted
On 4/30/2018 at 2:43 AM, donttouchmethere said:

if you can add a scream it would be perfect :classic_biggrin:

Sorry to resurrect on old topic.. but.. this thing with a sound - still isn't done yet, right? :(

Posted
21 hours ago, evilblade said:

Sorry to resurrect on old topic.. but.. this thing with a sound - still isn't done yet, right? :(

Don't feel sorry! The tweak still works, so the topic is still relevant ?

There is still no sound available for it tho ?

  • 1 year later...
  • 1 year later...
Posted

Tried implementing it for the 5.2 release version.

 

 

Spoiler

        if vPiercing && (vPiercing.HasKeyword(libs.zad_EffectShocking))
            libs.NotifyPlayer("The piercings within you let out a painful jolt!")
            Game.ForceThirdPerson()
            libs.Trip(akActor)

            libs.Log("zadEventPeriodicShocker: vPiercing")
        ElseIf vPlug && (vPlug.HasKeyword(libs.zad_EffectShocking))
            libs.NotifyPlayer("The plug within you let out a painful jolt!")
            Game.ForceThirdPerson()
            libs.Trip(akActor)

            libs.Log("zadEventPeriodicShocker: vPlug")
        Else
            libs.NotifyPlayer("A painful jolt courses through you!")
            Game.ForceThirdPerson()
            libs.Trip(akActor)

            libs.Log("zadEventPeriodicShocker: generic")
        EndIf

 

Spoiler

Event OnVibrateStop(string eventName, string argString, float argNum, form sender)
    libs.Log("OnVibrateStop("+argString+", "+Target.GetLeveledActorBase().GetName()+")")
    if Target && argString == Target.GetLeveledActorBase().GetName()
        if Target == libs.playerRef
            libs.NotifyPlayer("Your plugs jolt you with an electric shock!")
            libs.Log("zadShockVibEffect: ShockActor")
            Game.ForceThirdPerson()
            libs.Trip(Target)

        Else
            libs.NotifyNPC(Target.GetName() + " squirms uncomfortably as the plugs within her let out a painful jolt!")
        EndIf
 

 

Does make the game a little bit more annoying, but also adds to the challenge. 

Overwrite /scripts/.

 

(backups are mandatory, naturally)

zadEventPeriodicShocker.pex zadShockVibEffect.pex

  • 2 months later...
Posted

@krzp

Can I ask you what program you use to modify these files, so that I can change their sequence to trigger/fire the shocker effect first, then choose the "out of breath" action instead of the more awkward 'trip' action next?

I did inject your two recently modified files into my Skyrim LE save, it it finally got an action to trigger after the normally occurring shocks.

  • 2 weeks later...
Posted
On 7/15/2023 at 8:15 AM, Pyreliter said:

Can I ask you what program you use to modify these files,

I use Notepad++, you can download the plugin for Papyrus compilation from the "Plugins" menu, just search for one and it'll install it for you.

Modify the psc file, and then click Plugins->Papyrus->Compile.

Do remember to have all the needed sources (psc files) where it can find it.

 

There's a good tutorial here.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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