Annagrama

Newbie
Dec 11, 2020
44
59
85
I had to edit renpy/common/00library.rpyc to get dev mode on, my installation didn't come with a file in the game folder for that. Not sure where you got that or if you made it yourself, but if you're crashing immediately with no error after this fix I just uploaded then it might be that conflicting with my script file changes.

Google Drive
Ooooh, I see what happened.
I use a script to enable both modes each time I download a new version. That script must create those new files instead of modifyin 00library.crpy, and that must somehow cause the unintended behavior. I'll make sure I don't use it when trying your mods :)


not sure what the issue is. still isnt working.

but i did forget to mention i have the DEV mode in addition to Sandbox Mode, if that matters?

sorry, thanks for your efforts.
This might be more complicated. Buth DogMammoth and I are making changes to script.crpy, screens.crpy and other files, so having both mods at the same time might not be compatible. Maybe we could join efforts in the near future to combine our stuff, but for now I'd suggest making 2 copies of the game and installing the mods separately
 
  • Heart
Reactions: superstripfight13
May 15, 2018
139
130
164
it doesnt matter, i already removed my main save and started fresh. i pretty much had the skill tree all filled out anyway.

i was just using the BATTLE option to battle any opponent i wanted. not a fan of any story within the EXPLORE option. just want to set my character attribute levels and play out different battles. thats fun for me.

Would like the auto battle feature installed by someone hopefully. more spit moves on cock, more face licking, perhaps some POV facesitting too. Breast Smothering to face.

Not a fan of the "skill checks" during battles. Mini Games need work. if it was up to me, i wouldnt have any of them. just once you are in a hold, blowjob or insertion move....you can heavy attack, reg attack, wait, slow breathing to decrease lust, and thats it until your freed or you cum.

Thanks for reading, and any considerations my rants may get.
 

DogMammoth

Newbie
May 24, 2018
74
115
96
Sure thing!
Tomorrow I get back home, so I'll be able to code a little more and develop more enemies or collaborate further ^—^
Merged everything and added buttons to your battle menu to include a submenu for my modded characters in the Forest, Meadow, and Coast.

Tested a bit and seems like everything works, if any errors pop up I'll fix them.

i was just using the BATTLE option to battle any opponent i wanted. not a fan of any story within the EXPLORE option. just want to set my character attribute levels and play out different battles. thats fun for me.
If you want to use Pekomon's sandbox with my characters, you can find it in this link in the "DogM + Pekomon mods" folder.

 

FerousMetal

Newbie
Apr 9, 2018
65
140
68
Ooooh, I see what happened.
I use a script to enable both modes each time I download a new version. That script must create those new files instead of modifyin 00library.crpy, and that must somehow cause the unintended behavior. I'll make sure I don't use it when trying your mods :)




This might be more complicated. Buth DogMammoth and I are making changes to script.crpy, screens.crpy and other files, so having both mods at the same time might not be compatible. Maybe we could join efforts in the near future to combine our stuff, but for now I'd suggest making 2 copies of the game and installing the mods separately
My version of the game doesn't have a dev file, can you share how to enable dev mode / how to edit 00library.crpy? Apologies if I just missed it.
 

DogMammoth

Newbie
May 24, 2018
74
115
96
My version of the game doesn't have a dev file, can you share how to enable dev mode / how to edit 00library.crpy? Apologies if I just missed it.

In \HeroCorruption2-1.80-win\renpy\common you can find 00library.rpy. Open it in an editor and find a chunk of code that looks like this:

if config.script_version:
config.developer = False
config.default_developer = False
else:
config.developer = True
config.default_developer = True

Delete it or comment it out, replace it with this:

config.developer = True

Here is what mine looks like with the code commented out:
1761592839248.png
 

Annagrama

Newbie
Dec 11, 2020
44
59
85
MY FIRST NEW MODDED ENEMY: SARAH

Following the step of DogMammoth, I implemented a new enemy in the game! Her name is Sarah, she can be found in the forest, and she gets new moves and increases in difficulty each time you beat her (after 4 victories against her, she doesn't get anything new). She comes with her own Bad Ending and achievement.
I hope you enjoy her, because she isn't balanced at all and I tend to prefer fights that are a little unfair, so I hope she's not too annoying.

View attachment New_enemy_SARAH.zip

The zip. includes the files for the Hard Mode and Sandbox Mode, because at this point all my code is a little entangled, which brings me to...


Hi DogMammoth!

I'm Pekomon (or Annagrama), you probably know me from the recent activity at the Hero Corruption thread.

Inspired by you, I have created Sarah! And now, I have plans to add a few more girls to the game... But now that there's two of us adding modded content to the game, it might get a little annoying for players to have to download a bunch of separate instances of the game just to play my content and yours.
You already made the effort a couple days ago to combine my difficulty options with your modded enemies. Would you be interested in us figuring some sort of system to release our content in a way that allows for an easier user experience?

We can keep it separate, combined, or both. It's okay either way :)

If you are interested at looking at the content I added, you can find any code relating to new enemies surrounded by the comment "###_EXTRA_ENEMIES_###".
I'm including a few files that might seem out of places (such as loot.rpy or sleep.rpy), but that's because I included some new variables in script.rpy to better tract interactions with enemies (right now the game only tracks how many times you've defeated an enemy, but not how many times you lost, how many times you've just encountered them, or how did they fight end the last time you battled). This variables are used in Sarah mostly to give a little flavor during the first few lines of dialogue during combat.
(Also, the image files are not compressed in archive.rpa, they are raw image files. I haven't looked into how to do that yet)

Let me know what you think of this, and I hope you enjoy Sarah!
 
Last edited:

Shabbyslab1

New Member
May 11, 2020
1
2
85
MY FIRST NEW MODDED ENEMY: SARAH

Following the step of DogMammoth, I implemented a new enemy in the game! Her name is Sarah, she can be found in the forest, and she gets new moves and increases in difficulty each time you beat her (after 4 victories against her, she doesn't get anything new). She comes with her own Bad Ending and achievement.
I hope you enjoy her, because she isn't balanced at all and I tend to prefer fights that are a little unfair, so I hope she's not too annoying.

View attachment 5384553

The zip. includes the files for the Hard Mode and Sandbox Mode, because at this point all my code is a little entangled, which brings me to...


Hi DogMammoth!

I'm Pekomon (or Annagrama), you probably know me from the recent activity at the Hero Corruption thread.

Inspired by you, I have created Sarah! And now, I have plans to add a few more girls to the game... But now that there's two of us adding modded content to the game, it might get a little annoying for players to have to download a bunch of separate instances of the game just to play my content and yours.
You already made the effort a couple days ago to combine my difficulty options with your modded enemies. Would you be interested in us figuring some sort of system to release our content in a way that allows for an easier user experience?

We can keep it separate, combined, or both. It's okay either way :)

If you are interested at looking at the content I added, you can find any code relating to new enemies surrounded by the comment "###_EXTRA_ENEMIES_###".
I'm including a few files that might seem out of places (such as loot.rpy or sleep.rpy), but that's because I included some new variables in script.rpy to better tract interactions with enemies (right now the game only tracks how many times you've defeated an enemy, but not how many times you lost, how many times you've just encountered them, or how did they fight end the last time you battled). This variables are used in Sarah mostly to give a little flavor during the first few lines of dialogue during combat.
(Also, the image files are not compressed in archive.rpa, they are raw image files. I haven't looked into how to do that yet)

Let me know what you think of this, and I hope you enjoy Sarah!
I think the zip file is missing Sarah's enemy.rpy(c) file (the one that goes in the Enemies folder). When encountering Sarah in the Forest it simply hard crashes the game.
 
May 15, 2018
139
130
164
i have issue with Sarah too. i have sandbox hard mode. when i explore her name pops up, but its not sarah. its other opponents. i got Samantha, and Laura instead.
 
  • Wow
Reactions: Annagrama
May 15, 2018
139
130
164
indeed it works now. Awesome Character.

My only critique is that she takes wayyy too long to get on the attack. just like my favorite Liz from Plains. but still GREAT character, Thank You!

I am looking forward to seeing what you two can do with more content for this game. Perhaps i could ask you for an auto battle? would love to put a randomly named hero with strong or weak attributes and see how long he can last against opponents of my choosing.

Trying to create my own Hero Corruption UNIVERSE but i need to be able to watch some fights too. and also would like to see some more THICC MILFS, they are my jam.
 
  • Heart
Reactions: Annagrama

DogMammoth

Newbie
May 24, 2018
74
115
96
You already made the effort a couple days ago to combine my difficulty options with your modded enemies. Would you be interested in us figuring some sort of system to release our content in a way that allows for an easier user experience?
Yeah, we can combine the mods and work off of a github repository if you wanna keep things seamless for people to install everything in one place and so our mods don't conflict. I'll dm you in a little bit with my discord and a link to a repo if that works.
 

makaiforce

Member
Nov 26, 2017
223
125
191
question:

can i make a enemy who drains status from the hero and keeps it?
i've made one who "drains" hp, doing damage to the hero, and increasing her own hp, but idk if can make the same with status.
 
  • Like
Reactions: Annagrama

SchartWalt

New Member
Jul 15, 2018
3
3
146
MY FIRST NEW MODDED ENEMY: SARAH

Following the step of DogMammoth, I implemented a new enemy in the game! Her name is Sarah, she can be found in the forest, and she gets new moves and increases in difficulty each time you beat her (after 4 victories against her, she doesn't get anything new). She comes with her own Bad Ending and achievement.
I hope you enjoy her, because she isn't balanced at all and I tend to prefer fights that are a little unfair, so I hope she's not too annoying.

View attachment 5384879

The zip. includes the files for the Hard Mode and Sandbox Mode, because at this point all my code is a little entangled, which brings me to...


Hi DogMammoth!

I'm Pekomon (or Annagrama), you probably know me from the recent activity at the Hero Corruption thread.

Inspired by you, I have created Sarah! And now, I have plans to add a few more girls to the game... But now that there's two of us adding modded content to the game, it might get a little annoying for players to have to download a bunch of separate instances of the game just to play my content and yours.
You already made the effort a couple days ago to combine my difficulty options with your modded enemies. Would you be interested in us figuring some sort of system to release our content in a way that allows for an easier user experience?

We can keep it separate, combined, or both. It's okay either way :)

If you are interested at looking at the content I added, you can find any code relating to new enemies surrounded by the comment "###_EXTRA_ENEMIES_###".
I'm including a few files that might seem out of places (such as loot.rpy or sleep.rpy), but that's because I included some new variables in script.rpy to better tract interactions with enemies (right now the game only tracks how many times you've defeated an enemy, but not how many times you lost, how many times you've just encountered them, or how did they fight end the last time you battled). This variables are used in Sarah mostly to give a little flavor during the first few lines of dialogue during combat.
(Also, the image files are not compressed in archive.rpa, they are raw image files. I haven't looked into how to do that yet)

Let me know what you think of this, and I hope you enjoy Sarah!
I really like Sarah, and am extremely hyped that there now appears to be a quickly growing modding community around this game.

Personally, I'd really appreciate if a version of the mod came out that didn't include Sandbox and Hard mode, since I still prefer playing without them. But that's just a nitpick, I love the work either way!
 
  • Heart
Reactions: Annagrama

Annagrama

Newbie
Dec 11, 2020
44
59
85
I really like Sarah, and am extremely hyped that there now appears to be a quickly growing modding community around this game.

Personally, I'd really appreciate if a version of the mod came out that didn't include Sandbox and Hard mode, since I still prefer playing without them. But that's just a nitpick, I love the work either way!
Hi SchartWalt! Thanks for playing my mods, I'm really gald you are enjoying Sarah!
Next time I update I'll make it so Hard Mode and Sandbox Mode are turned off by default!

In the meantime, you can turn off Hard Mode by opening hard_mode_variables.rpy with a text editor and changing "hardmode = True" to "hardmode = False".

Sanbox is a little more tedious: sandbox_mode_variables.rpy can be edited to make all variables their default value (the default values are stated right next to each variable)
 
  • Heart
Reactions: SchartWalt

Annagrama

Newbie
Dec 11, 2020
44
59
85
question:

can i make a enemy who drains status from the hero and keeps it?
i've made one who "drains" hp, doing damage to the hero, and increasing her own hp, but idk if can make the same with status.
You can make enemies drain the Hero's stats really easily with lost_att() (or something like that, it's in script.rpy)

You can also store how much of each stat a particular enemy has stolen by saving it into a variable (you should probably make new variables for this in script.rpy).

But then you'll have to think of what this stolen stats do, since enemies don't use stats the same way as the Hero. For example STR could make their attacks stronger, VIT make their max hp higher, INT make their lust attacks stronger, CON make their addiction checks harder...
 
  • Heart
Reactions: makaiforce

makaiforce

Member
Nov 26, 2017
223
125
191
You can make enemies drain the Hero's stats really easily with lost_att() (or something like that, it's in script.rpy)

You can also store how much of each stat a particular enemy has stolen by saving it into a variable (you should probably make new variables for this in script.rpy).

But then you'll have to think of what this stolen stats do, since enemies don't use stats the same way as the Hero. For example STR could make their attacks stronger, VIT make their max hp higher, INT make their lust attacks stronger, CON make their addiction checks harder...
now we are talking!
i want some of my enemies to drain my status, and increase they own. (int and vit in particular).
can you give me an example to how do it? (i'm a total noob on ren'py modding).
 

Annagrama

Newbie
Dec 11, 2020
44
59
85
now we are talking!
i want some of my enemies to drain my status, and increase they own. (int and vit in particular).
can you give me an example to how do it? (i'm a total noob on ren'py modding).
Hi! I'm new to RenPy in general, but so far it's been fairly intuitive for the most part. This is how I'd do it:

  • First you'll need to decompile script.crpy and the corresponding enemyname.crpy files of the enemies you want to mod into *.rpy files (found in "game" and "game/Enemies" respectively).

View attachment un.rpyc
I use un.rpyc to do this. Just place it in the "game" folder and run the game to automatically decompile all .crpy files.

  • Then you'll need to write code for the enemies. Open the enemyname.rpy file of the enemy you want to mod in a text editor and try to understand how the fight works. Decide where the draining should happen, or come up with new code to give the enemy a new attack or pattern. Whenever you want them to lower the player's stats you'll need to call lostatt(), which looks like this:
    • lostatt(stat=None, amount=1)
    • The stat should be "STR","AGI","VIT","INT" or "CON". If you type "None" or don't provide a name, the stat decreased will be random.
    • The amount represents how many points of that stat will be lost, it's 1 by default but you can make it higher.
  • This means that you'll have to write something like this to use that function (the $ sign at the beginning is important):
    • $ lostatt("VIT") - Lose 1 point of VIT
    • $ lostatt("INT", 2) - Lose 2 points of INT
    • $ lostatt() - Lose 1 point of a random stat
    • $ lostatt("None", 5) - Lose 5 points of a random stat

  • Now, if you want the enemies to remember how much of each stat they have drained, there's 2 ways I can think of
    • In script.rpy add a variable to keep track of this. Around line 181 of the script, there are a bunch of variables dedicated to enemies, so if you wanted Laura to drain INT, for example, you could add something like:
      • default laura_drained_int = 0
    • Now you can use this variable in the enemy code, for example:
      • $ lostatt("INT", 2)
      • $ laura_drained_int += 2
    • This way you can keep track of that variable during the entire run, and use it to alter the enemy's behaviour

  • Way number 2
    • In the enemy file itself you can do the same, add a variable at the top of the code just like we did in script.rpy, but I'm unsure if this variable gets saved during the entire run or if it gets reset every fight.

I hope this helps you design an interesting battle!
 
3.70 star(s) 33 Votes