Jump to content

Calling different sex animations


spkrforthedead

Recommended Posts

Posted

I am looking for a way to change which animation a mod plays for a certain sex action without replacing that animation for all mods. More specifically, I'd like to change the blatantly consensual animations in LoversRapers.

 

I know that to replace animations I could overwrite their .kf and .ini files with new ones, but that would cause the new animations to be used by all mods, which is not what I'm going for. Instead, I'd like to change which animation is called by the script. I've found three lines in there like this:

 

let xLoversQuest.SPos := Call xLoversCmnGetRandomSPos 01000	;バックのみ

let xLoversQuest.SPos := Call xLoversCmnGetRandomSPos 00110	;対面のみ

let xLoversQuest.SPos := Call xLoversCmnGetRandomSPos 10000	;騎乗位のみ

 

These seem to reference the three distinct groups of animations for whether the attacker is either behind or in front of the victim and another which I'm not sure about, but from here on I'm a bit lost. I think I need to know two things:

 

First, how do I define a new animation that can be called on by one of these groups?

 

Second, how do I make a new grouping of animations that can be called on by the mod?

 

I've seen this idea discussed before, but as far as I can tell nobody has ever actually released a mod for it. If there is one, please point me to it. Even if there is one though, I'd still like to know how to add/change animations just in case I don't like the ones it uses.

Guest syrevo
Posted

simple, here's how:

 

First of all you need to know what groups you want to add, for example here we will add back and face, 2 Groups of anims

 

Second, copy the motions you need (Kf files and their respective INI's) and place them in two separate folders, folder for each group, for example I copied motion 8,13,33,90,125 for the first group, and copied motion 25,80,100 for the second group.

 

Third rename the copied files accordingly keeping in mind to chose free number not taken yet, for example re=number motion 25 to motion 190 if you have that slot free and so on.

 

now after re-numbering edit their INI's find the line

set xLoversPkrQuest.sposgroup to ?

Replace ? in all the INI's with 80 for the first group and 81 for the INI's in the second group.

 

Open the following Script: xLoversCmnGetRandomSPos and add the following lines:

 

Replace "short bitmask" with "long bitmask"

 

;First Group (Back)

if (bitmask / 100000) % 10

let arTemp[ ar_Size arTemp ] := ?? (Replace ?? with lowest number of the re-numberd motions in the first group)

let arTemp[ ar_Size arTemp ] := ?? (Replace ?? with Highest number of the re-numberd motions in the first group)

endif

 

;Second Group (Face)

if (bitmask / 1000000) % 10

let arTemp[ ar_Size arTemp ] := ?? (Replace ?? with lowest number of the re-numberd motions in the second group)

let arTemp[ ar_Size arTemp ] := ?? (Replace ?? with Highest number of the re-numberd motions in the second group)

endif

 

now you can replace the lines you mentioned:

let xLoversQuest.SPos := Call xLoversCmnGetRandomSPos 01000 ;バックのみ

Should be:

let xLoversQuest.SPos := Call xLoversCmnGetRandomSPos 100000 ;First Group (Back)

 

 

 

let xLoversQuest.SPos := Call xLoversCmnGetRandomSPos 00110 ;バックのみ

Should be:

let xLoversQuest.SPos := Call xLoversCmnGetRandomSPos 1000000 ;Second Group (Face)

 

 

Move the motion files after it's re-number to their repecive location and there you go, you now have two new groups only usable by that mod without affecting or overwriting any files.

  • 1 month later...
Posted

I was wondering if I could get a little help with this. I tried the method in the post above me but it's not quite working. When the rape starts, my character and her attacker both strip but then just stand there looking at each other and moaning.

 

I did have to diverge slightly from the guide. It said to place the renamed animation and ini files in new folders, but when I did that whenever rape started it popped up with a message box saying that it couldn't find the animation file number. So I just put all the renamed animation and ini files in the same folder with the originals. That got rid of the message box, but it's still not executing the animations. Is it possible I missed some files somewhere? I copied and renamed the ini files in Data/ini and the kf files in data/meshes/characters/_male/idleanims/ani2. I also noticed there were .kf files in Data/meshes/IdleObjects/Lovers, so I went ahead and also copied an renamed the appropriate files in there.

 

Would anyone happen to have an idea where I went wrong? Thanks for the help.

Posted

Not an exact response to your question, but the russian version of LoversRaperS allows you to specify in the ini file the positions you want to see in LoversRaperS. It should solve your problem.

For this to work, you need to set the "use custom animation" parameter (not sure of the name) in Lovers settings to false.

 

http://shy.jsphr.net/upload/img/ups29960.7z

  • 1 month later...
Posted

Okay ... I'm trying to implement the suggestion there for creating animation groups ... but the part I don't understand is how sposgroup 80 equates to (bitmask / 100000) % 10 ... versus 81 being identified by (bitmask / 1000000) % 10 ... the only difference is the number of 0 ... so what if I already have a group 80 and 81 and want a group 82? would I just add 1 more zero at the end?

Archived

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

  • Recently Browsing   0 members

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