- Nov 26, 2020
- 215
- 733
What type of project ?I am working for a project like your video, Can I have some experience from you?
What type of project ?I am working for a project like your video, Can I have some experience from you?
Is there a way to get the repeat for sex scenes as stand alone?Slight update#1 for KMod
I found that people have some complaints and some request, which can either be easily fixed or added.
Here are the changelog
"Some people want sex scene to be able to repeat or loop-able
- Add feature to make the sex scene to be able to repeat or loop-able"
I think, in the unmodded version of the game, try thisIs there a way to get the repeat for sex scenes as stand alone?
Thanks for the fast reply.I think, in the unmodded version of the game, try this
- Go to the H_Ani()/H_End()
- Add this.isLoop = true before this.onEnd = true
- Change this.onEnd = true to this.onEnd = false
I might have been mistaken, so sorryThanks for the fast reply.
I tried this. Sadly it just loops the last animation (after cumshot) instead of restarting the entire sex scene.
I checked how you did it, but the repeat is tied to your KMOD debuffs with a bunch of IF statements.
GameObject h_Object = GameObject.Find("Menu").GetComponent<Menu_Control>().H_Object;
if (h_Object != null)
{
H_Ani component = h_Object.GetComponent<H_Ani>();
if (component != null)
{
this.IsPlayerAnim = (component == this);
}
}
if (this.GM != null && this.IsPlayerAnim )
{
this.isLoop = true;
}
I think you may also have to check H_Ani()/Update() and H_Ani()/H_Loop()Thanks for the fast reply.
I tried this. Sadly it just loops the last animation (after cumshot) instead of restarting the entire sex scene.
I checked how you did it, but the repeat is tied to your KMOD debuffs with a bunch of IF statements.
Thanks for the reply.I might have been mistaken, so sorry
Try this
1. Create a boolean IsPlayerAnim or any name you want (KMod use this name)
2. Add this before if (this.H_Num == 14)
3.Add this after this.onEnd = true;Code:GameObject h_Object = GameObject.Find("Menu").GetComponent<Menu_Control>().H_Object; if (h_Object != null) { H_Ani component = h_Object.GetComponent<H_Ani>(); if (component != null) { this.IsPlayerAnim = (component == this); } }
Code:if (this.GM != null && this.IsPlayerAnim ) { this.isLoop = true; }
I think this is where it ends for me.I think you may also have to check H_Ani()/Update() and H_Ani()/H_Loop()
Kind of bothQuick question, why do you want to change the ending? Because of the fanfic or because you want to know more stuff about enemies spawn and things like that?
The First“1”is the gallery animated‘s number,if change to“2”that will be start for the second animated and so on。Actually,U can ADD“this.Play(1, 1f); ” at the end of H_Ani/H_Ani : MonoBehaviour .
Like this: View attachment 3765605
It works as advertised... but not what i`m searching for.The First“1”is the gallery animated‘s number,if change to“2”that will be start for the second animated and so on。
The Second“1”is control to the animated‘s speed.
Can you try this for me?It works as advertised... but not what i`m searching for.
I want the entire sex scene looped.
This "this.play(X, 1f)" think looks promising though.
I typed in as such:
this.Play(1, 1f);
this.Play(2, 1f);
this.Play(3, 1f);
this.Play(4, 1f);
this will play all animation... but at 4 it starts looping the end_scene as it does when you put either "loop" or set "end = false"
Putting
this.Play(1, 1f);
this.Play(2, 1f);
this.Play(3, 1f);
this.Play(4, 1f);
this.Play(1, 1f);
this.Play(2, 1f);
this.Play(3, 1f);
this.Play(4, 1f);
this.Play(1, 1f);
this.Play(2, 1f);
this.Play(3, 1f);
this.Play(4, 1f);
only plays till 4 and then loops that as bevor.
Is there some smart trick to let the system start again from "this.Play(1, 1f);"?
private void H_End()
{
if (!this.isGallery)
{
GameObject h_Object = GameObject.Find("Menu").GetComponent<Menu_Control>().H_Object;
if (h_Object != null)
{
H_Ani component = h_Object.GetComponent<H_Ani>();
if (component != null)
{
this.IsPlayerAnim = (component == this);
}
}
if (this.H_Num == 14)
{
this.End_Timer = 4.5f;
}
else if (this.H_Num == 15 || this.H_Num == 21 || this.H_Num == 22 || this.H_Num == 25)
{
this.End_Timer = 4f;
}
else if (this.H_Num == 3 || this.H_Num == 9 || this.H_Num == 10 || this.H_Num == 11 || this.H_Num == 12)
{
this.End_Timer = 3f;
}
else
{
this.End_Timer = 2f;
}
this.onEnd = true;
if (this.GM != null && this.IsPlayerAnim)
{
this.isLoop = true;
}
}
}
if ((this.isGallery || this.isLoop) && this.onEnd && this.End_Timer <= 0f)
{
base.GetComponent<Animator>().SetBool("isLoop", this.isLoop);
base.GetComponent<Animator>().SetInteger("State", 1);
base.GetComponent<Animator>().SetTrigger("onPlay");
base.GetComponent<Animator>().SetBool("isStopped", false);
base.GetComponent<Animator>().SetBool("isLoop", this.isLoop);
this.onEnd = false;
this.Sound_Timer = 0.2f;
this.Moan_Timer = 0f;
this.Moan_End_Timer = 0f;
this.onSoundEnd = false;
}
No change, it just loops the last animation after sex scene.Can you try this for me?
Copying this as is threw some errors, so needed to change stuff until errors disappeared:or this is from around line 106 of H_Ani() (under the if (this.H_Num <= 50 && this.H_Num != 13 && this.H_Num != 23 && this.H_Num != 29) )
}[/CODE]
We try to change code so fap is better without you needing to let go of pipi.wtf is this i trying to play H games to fap guys not the coder group in here!
As in the cumming animation?it just loops the last animation after sex scene
I think the this.H_Exit(); should be in a different parentheses.Be aware that i have no idea what i`m doing, so i don`t know if that " this.H_Exit();" is really bad at that position. But trying to change the { around just broke stuff.
else
{
this.H_exit();
}
Code before Coomwtf is this i trying to play H games to fap guys not the coder group in here
Actually your initial code “ this.isLoop = true; ” is right,but the sequence is wrong.As in the cumming animation?
I think the this.H_Exit(); should be in a different parentheses.
can you try add
after the if(!this.isGallery&& !this.isLoop... condition?Code:else { this.H_exit(); }
Code before Coom
Try My codeNo change, it just loops the last animation after sex scene.
This is how the code looks:
You don't have permission to view the spoiler content. Log in or register now.
Copying this as is threw some errors, so needed to change stuff until errors disappeared:
Be aware that i have no idea what i`m doing, so i don`t know if that " this.H_Exit();" is really bad at that position. But trying to change the { around just broke stuff.You don't have permission to view the spoiler content. Log in or register now.
We try to change code so fap is better without you needing to let go of pipi.
It`s not like we are disrupting anything important here. The 104 "did Grim release new game yet" post certainly isn`t speeding up a new release, if any is even planned
He asked for "Is there a way to get the repeat for sex scenes as stand alone?"Actually your initial code “ this.isLoop = true; ” is right,but the sequence is wrong.
View attachment 3767711