前回書いた関連コードは、modder向けのPOSTから解説付きで読めます。先に気づけ自分。 http://www.loverslab.com/topic/37652-sexlab-aroused-redux-december-05-2016/?p=945545 それと、たまにプレイ後でもArousalが下がらないことがあって、なんでだろうと思っていたことがあったんだけど、 Bool canHaveOrgasm = False
If (animation.HasTag("Anal") || animation.HasTag("Vaginal") || animation.HasTag("Masturbation") || animation.HasTag("Fisting"))
canHaveOrgasm = True
EndIf
slamainscr.pscの、これが原因な気がする。よく読めば公式にも、
Females can only have orgasm (arousal goes down) only if animation is tagged as Anal/Vaginal/Masturbation/Fisting
と書いてあって、そりゃそうだ、と。
今度下がらなかったらプレイ内容を思い出そう。ああ、こうして人はどんどん没入感から遠ざかっていくのだ……。
閑話休題。
まだTimeRateの話
GetActorTimeRate()のコードが、 Float res = StorageUtil.GetFloatValue(akRef, "SLAroused.TimeRate", 10.0)
res = res * Math.pow(1.5, - daysSinceLastSex / slaConfig.TimeRateHalfLife)
になっていたので、ずっと勝手に騙されて悩んでいたけど、実際にはこれは、 Float storedTimeRate = StorageUtil.GetFloatValue(akRef, "SLAroused.TimeRate", 10.0)
current...