4.50 star(s) 118 Votes

user182737

Member
Feb 6, 2021
258
216
I wasn`t to hot on Grims first 2 games, but this game is really good. I love it when you can see Devs visibly improving the more games they make.
Now waiting for the day when he shadow drops his 4 game.
 

kwanlier

Member
Oct 26, 2019
484
948
Regarding about this post, because I have a little bit too much free time, I wrote a fanfic about an alternate ending based on that post (TL;DR it's about what if Chad(TM) alien invades Ellen's ship instead of the facehugger), which you can read it here or

Regarding about this post, I don't know whether this is the right thread to discuss this or not, but basically, I "somehow" managed to make anything but the facehugger spawn from the egg.

What I did was make enemy that in the same room as the egg spawn from the egg by instantiate that gameobject instead of facehugger.

in the code form, it's like this
  1. Find the "tag" of monster gameobject.tag
  2. Find the name of monster that in the same room as egg through gameobject.findobjectswithtag()
  3. Use gameobject.find() to find that monster that you want to spawn
This might look easy, but it is very limited because it can only spawn the monster in that in the same room with the egg, for example
  • I can only spawn "tentacle" and "another egg" in the room directly under the central teleporter
  • I can only spawn "tentacle", "worm", "another egg" in the room under under the central teleporter
However, To what I want, I have to find a way to
  • Replace [Root]/Room_XX/Mon_List_Egg/Facehugger with [Root]/Room_XX/Mon_List_xx/[Monster's name]
If anyone knows how to do it, please continue to this thread
 

user182737

Member
Feb 6, 2021
258
216
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"
Is there a way to get the repeat for sex scenes as stand alone?
 

kwanlier

Member
Oct 26, 2019
484
948
Is there a way to get the repeat for sex scenes as stand alone?
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
 

user182737

Member
Feb 6, 2021
258
216
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
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.
 

kwanlier

Member
Oct 26, 2019
484
948
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.
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)
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);
    }
}
3.Add this after this.onEnd = true;
Code:
if (this.GM != null  && this.IsPlayerAnim )
{
this.isLoop = true;                   
}
 

kwanlier

Member
Oct 26, 2019
484
948
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.
I think you may also have to check H_Ani()/Update() and H_Ani()/H_Loop()
 

Runningaway

Member
Apr 7, 2021
124
261
Finally saw and read your new fanfic, in my opnion that ending was "Funny"
You don't have permission to view the spoiler content. Log in or register now.
Quick question, whay 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?
 

user182737

Member
Feb 6, 2021
258
216
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)
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);
    }
}
3.Add this after this.onEnd = true;
Code:
if (this.GM != null  && this.IsPlayerAnim )
{
this.isLoop = true;                
}
Thanks for the reply.
Sadly I get the same result. After cumshot she just loops the same animation.
I basically copied you code (after creating a bool for "IsPlayerAnim") and inserted it as instructed.
Got no error, using a clean csharp file.


I think you may also have to check H_Ani()/Update() and H_Ani()/H_Loop()
I think this is where it ends for me.
I have no idea what i`m supposed to check.
So i copy-pasted your first code in there, hopping it does something, but no.
Same result.
 

kwanlier

Member
Oct 26, 2019
484
948
Quick 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?
Kind of both
  • Fanfic reason: Comparing to the original ending, this one is "a happy endding" (best ending for Chad(TM) alien case) and can even lead to a "happier" sequel.
  • Gameplay reason: the idea come from people request the "press button to spawn random enemy button" (which I did not try this yet) but my brain think differently. Instead of "press button to spawn random enemy", I think of "what if I turn an egg into a gacha box" instead, and to test that function, I tries to make Chad(TM) alien to spawn from egg instead of facehugger, that's it.
 
  • Like
Reactions: Runningaway

okmbhu001

Newbie
Aug 23, 2018
32
75
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
Actually,U can ADD“this.Play(1, 1f); ” at the end of H_Ani/H_Ani : MonoBehaviour .
Like this: QQ图片20240624210223.png
 

user182737

Member
Feb 6, 2021
258
216
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.
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);"?
 

kwanlier

Member
Oct 26, 2019
484
948
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);"?
Can you try this for me?
Code:
    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;
            }
        }
    }
 

kwanlier

Member
Oct 26, 2019
484
948
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:
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;
    
}
 

user182737

Member
Feb 6, 2021
258
216
Can you try this for me?
No 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.


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]
Copying this as is threw some errors, so needed to change stuff until errors disappeared:
You don't have permission to view the spoiler content. Log in or register now.
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.


wtf is this i trying to play H games to fap guys not the coder group in here!
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
 

kwanlier

Member
Oct 26, 2019
484
948
it just loops the last animation after sex scene
As in the cumming animation?

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.
I think the this.H_Exit(); should be in a different parentheses.
can you try add
Code:
else
{
this.H_exit();
}
after the if(!this.isGallery&& !this.isLoop... condition?

wtf is this i trying to play H games to fap guys not the coder group in here
Code before Coom
 
  • Like
Reactions: McAztec
4.50 star(s) 118 Votes