Jump to content

Setting function turn one partner at 180 degrees?


Recommended Posts

Posted

Where is it, if it exists?

 

The function to rotate one actor to 180 degrees(like to adjust the distance.). Without this, the camera one animation is always broken 

 

(OR how to regulate or write for a specific animation Offsets[3] param.

, Loc[5])

Posted

myActor.setAngle(0.0, 0.0, myActor.getAngleZ()+180.0)

 

Posted

myActor.setAngle(0.0, 0.0, myActor.getAngleZ()+180.0)

Thanks for the answer, I mean setting a specific animation (in SexLab MCM as a parameter - 

 

The reason is that it is more correct for the engine of Skyrim and 3DsMax,

 

(sslActorAlias - param-Loc[5] and  Offsets[3])

 

 

in LoversWithPk - equivalent is 

 

xLoversPkrQuest.xmeRotate180 to 1 , (mean 180)

Posted

Sorry, I am not really sure what you are looking for, @TDA.

 

If you are speaking about the rotation of an actor that is playing a SexLab animation, then the rotation can be defined when you register the animation in SexLab.

 

Inside the function that will register the animation stage, then function "SetPositionStage" has the parameter rotation (in degrees.)

function AddPositionStage(int Position, string AnimationEvent, float forward = 0.0, float side = 0.0, float up = 0.0, float rotate = 0.0, bool silent = false, bool openMouth = false, bool strapon = true, int sos = 0)

For example:

Base.AddPositionStage(1, "myAnim_f", rotate = 45.0)
Base.AddPositionStage(2, "myAnim_m", rotate = 270.0)
Will make the two actors rotated on the center position, one by 45 degrees the other for 270 degrees.
 
 
Edit: P.S. I have ZERO experience with PK or LoversWithPK. Never played Oblivion in my life.
 

 

Posted

 

Sorry, I am not really sure what you are looking for, @TDA.

 

If you are speaking about the rotation of an actor that is playing a SexLab animation, then the rotation can be defined when you register the animation in SexLab.

 

Inside the function that will register the animation stage, then function "SetPositionStage" has the parameter rotation (in degrees.)





function AddPositionStage(int Position, string AnimationEvent, float forward = 0.0, float side = 0.0, float up = 0.0, float rotate = 0.0, bool silent = false, bool openMouth = false, bool strapon = true, int sos = 0)

For example:





Base.AddPositionStage(1, "myAnim_f", rotate = 45.0)
Base.AddPositionStage(2, "myAnim_m", rotate = 270.0)
Will make the two actors rotated on the center position, one by 45 degrees the other for 270 degrees.
 
 
Edit: P.S. I have ZERO experience with PK or LoversWithPK. Never played Oblivion in my life.

 

Ohh, thanks i found it into sslAnimationDefaults.psc!

 

example^

====================================

function Some Sex(int id)

sslBaseAnimation Base = Create(id)

 

Base.Name = "Some Sex"

 

Base.SetContent(Sexual)

Base.SoundFX = Squishing

 

int a1 = Base.AddPosition(Female, addCum=VaginalAnal)

Base.AddPositionStage(a1, "_A1_S1", 0)

Base.AddPositionStage(a1, "_A1_S2", 0)

Base.AddPositionStage(a1, "_A1_S3", 0)

Base.AddPositionStage(a1, "_A1_S4", 0)

Base.AddPositionStage(a1, "_A1_S5", 0)

 

int a2 = Base.AddPosition(Male)

Base.AddPositionStage(a2, "_A2_S1", 44, rotate = 180, sos = 2)

Base.AddPositionStage(a2, "_A2_S2", 44, rotate = 180, sos = 2)

Base.AddPositionStage(a2, "_A2_S3", 44, rotate = 180, sos = 2)

Base.AddPositionStage(a2, "_A2_S4", 44, rotate = 180, sos = 4)

Base.AddPositionStage(a2, "_A2_S5", 44, rotate = 180, sos = 3)

Archived

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

  • Recently Browsing   0 members

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