Jump to content

Magic Nipple + PSQ + Mana Tanks?


llama24

Recommended Posts

Posted

Is there any way to get the mod mana tanks and magic nipple to enable only when transformed as a succubus using PSQ?
I would really like to be able to play as a human with normal magic casting. Then be able to transform into this all powerful succubus floating above the ground and shooting magic from her tits.

I can already make it so NPC's don't shoot nipple magic, but I want it to be succubus transformation specific...

(mana tanks would be nice to have the same way too...)

Posted

With XPMSE not much of a problem just add those lines in the transformation script.

string Property MAGIC_KEY = "RMFMagic" AutoReadOnly
string Property MAGIC_LEFT_KEY = "RMFMagicLeft" AutoReadOnly
string Property SHOUT_KEY = "RMFShout" AutoReadOnly

;When Transforming into a Succubus
WriteXPMSEData(akActor, MAGIC_KEY, 1, 1.0)
WriteXPMSEData(akActor, MAGIC_LEFT_KEY, 1, 1.0)
WriteXPMSEData(akActor, SHOUT_KEY, 1, 1.0)
int handle = ModEvent.Create("XPMSE_WeaponUpdate")
if (handle)
    ModEvent.Send(handle)
endIf

;When Transforming back to Human
WriteXPMSEData(akActor, MAGIC_KEY, 1, 0.0)
WriteXPMSEData(akActor, MAGIC_LEFT_KEY, 1, 0.0)
WriteXPMSEData(akActor, SHOUT_KEY, 1, 0.0)
int handle = ModEvent.Create("XPMSE_WeaponUpdate")
if (handle)
    ModEvent.Send(handle)
endIf

; Adds an extra value to the actor in form of a morph
; savelevels:
; 0 = temporal
; 1 = presistent
; 2 = RSMBodyGen
Function WriteXPMSEData(Actor akActor, string keyName, int savelevel, float value)
    if value == 0.0
        XPMSELib.RemoveXPMSEData(akActor, keyName, savelevel)
    else
        XPMSELib.WriteXPMSEData(akActor, keyName, savelevel, value)
    Endif
EndFunction
Posted

Thanks, though I'll be honest I'm a bit of a noob...
Not quite sure what you mean can you go into a bit more detail please? 

 

  • 3 weeks later...
Posted

 

With XPMSE not much of a problem just add those lines in the transformation script.

string Property MAGIC_KEY = "RMFMagic" AutoReadOnly
string Property MAGIC_LEFT_KEY = "RMFMagicLeft" AutoReadOnly
string Property SHOUT_KEY = "RMFShout" AutoReadOnly

;When Transforming into a Succubus
WriteXPMSEData(akActor, MAGIC_KEY, 1, 1.0)
WriteXPMSEData(akActor, MAGIC_LEFT_KEY, 1, 1.0)
WriteXPMSEData(akActor, SHOUT_KEY, 1, 1.0)
int handle = ModEvent.Create("XPMSE_WeaponUpdate")
if (handle)
    ModEvent.Send(handle)
endIf

;When Transforming back to Human
WriteXPMSEData(akActor, MAGIC_KEY, 1, 0.0)
WriteXPMSEData(akActor, MAGIC_LEFT_KEY, 1, 0.0)
WriteXPMSEData(akActor, SHOUT_KEY, 1, 0.0)
int handle = ModEvent.Create("XPMSE_WeaponUpdate")
if (handle)
    ModEvent.Send(handle)
endIf

; Adds an extra value to the actor in form of a morph
; savelevels:
; 0 = temporal
; 1 = presistent
; 2 = RSMBodyGen
Function WriteXPMSEData(Actor akActor, string keyName, int savelevel, float value)
    if value == 0.0
        XPMSELib.RemoveXPMSEData(akActor, keyName, savelevel)
    else
        XPMSELib.WriteXPMSEData(akActor, keyName, savelevel, value)
    Endif
EndFunction

 

Seems easy enough but PSQ is actually a BSA file and I have no idea which piece to add this line under if I unpack it.

  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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