Ren'Py IA2: Cock Hero Adventure [v.2.4.9] [Tribe]

4.40 star(s) 7 Votes

Tribe

Member
Game Developer
May 5, 2021
221
480
Sukyotits
Just a quick update: I've traced this issue to it being related to a specific Mac OS. Beyond that, I'm still researching it and it will not be as simple as making a correction. Thanks again for posting this issue and I hope to find a solution soon.
 

ntentacle

Member
May 19, 2017
179
413
Heya, ntentacle! Feel free to remove the softcore content if you like (y)

In the Settings menu, you can reduce the number of strokes required (you can even disable stroke requests altogether). Furthermore, you will not be punished for skipping stroke requests; these are handled on an honor system. If you run while a trial video is playing, their favor value drops, but there is no punishment beyond that.
Good to know, and I'll give it a shot, but honestly if I remove that there wont be much left. That's sort of what I was alluding to.

And I get the point that this game is supposed to be moddable, and you're not providing the game, just the framework, but realistically speaking that's not going to happen.

Your average user is not going to scrape PMVs of of tube sites, transcode them into Webm format (which could take hours, considering most good ones are 60+ minutes long), split them into clips, and then put them into the game files. Realistically speaking people are gonna play with what's here. And what's here is 90+ percent softcore.
 

Tribe

Member
Game Developer
May 5, 2021
221
480
Good to know, and I'll give it a shot, but honestly if I remove that there wont be much left. That's sort of what I was alluding to.

And I get the point that this game is supposed to be moddable, and you're not providing the game, just the framework, but realistically speaking that's not going to happen.

Your average user is not going to scrape PMVs of of tube sites, transcode them into Webm format (which could take hours, considering most good ones are 60+ minutes long), split them into clips, and then put them into the game files. Realistically speaking people are gonna play with what's here. And what's here is 90+ percent softcore.
I understand your meaning, and I recognize that I cannot (or should not) expect everyone to provide their own content.
You also address the meat of the matter; I am here to provide the framework, which was the original plan... but I'm not going to play that card just yet. More hardcore is as simple as it gets.

I agree with you that the content needs more rounding out, and I will address it right away. Thank you for taking the time to elaborate on your concerns.
 

DigitalMan

Member
Jul 26, 2018
103
178
Instead of a level-gaining system, there will be a stat system, or, more specifically, a skill building system. Furthermore, the more skill you develop, the more spirit you will need to maintain your life after death. For the time being, the player simply floats back to the tavern; however, in the future, the player will need to have acquired the appropriate amount of spirit from combat to maintain their relative 'level'.

If the player cannot afford to sustain their life, some skill is lost, and any lasting impressions left on random succubi are reset or diminished (this also allows the player to replay specific content). I intend to avoid the traditional leveling system because I want to maintain the idea that some players consider fighting 5 succubi to be a rewarding challenge, whereas others may face 20 or more. This, of course, cannot be applied to every aspect of the game, but I will use it where I can.
Yeah, I didn't have any plans to go into actual specific stats or anything, I just wanted to have a level. I guess in that case, it was more like a "level", a number that goes up to go down lol. It was for the sensation that the succubi are actually draining something from you, since that sort of thing was the type of scenario that I wanted. It's something I've seen in a few hentai games before, but those games weren't very good. The art sucked, the gameplay sucked, and none of it was quite what I wanted. The same dilemma you had with JOI games where you liked the concept but nobody did it quite right is the dilemma I have with succubi level drain games, so that's why I want to make this mod. There's also some niche stuff that I personally want. I was thinking of adding some options in the tavern menu, where you could basically sexually harass the women at the bar, and you would inadvertently give them some of your levels doing so. Then, after they absorb those levels, they would essentially get corrupted and power hungry, and start acting like succubi themselves. So you see, it's like you hoist yourself by your own petard, and turn the nice ladies at the tavern who just wanted to help you succeed as a hero into bewitching succubi (figuratively) who want to drain you and take advantage of you. It's the sort of "level drain" situation that I like myself, making a female npc/monster who's weak normally much stronger by indulging yourself, then that formerly weak npc/monster comes to collect even more now that you can't fight her.

As for the mod itself, I did make some decent progress, and I do think that I can get it working. As you said though, I probably will wait for some more updates to actually seriously try to get it to work, just so I don't have to keep uprooting myself. Either that, or I'll just update the mod as you update the game lol
 
  • Star-struck
Reactions: Tribe

PBS666

Engaged Member
Feb 19, 2019
2,731
2,633
what is the game folder path for macos?
This question has been around for a while, gang. Can someone help? I don't own or have access to a Mac.
File paths relative to PC in Ren'Py is beyond even Google's knowledge, believe it or not. zmaster2425 broke the matrix.
To see the contents folder of a Mac app on Mac, right-click the app and pick Show package contents. Then, to find the game folder in a Ren'Py game for Mac, go to /Contents/Resourses/autorun.
 
  • Star-struck
Reactions: Tribe

Kealan

Newbie
Feb 9, 2018
57
116
Your average user is not going to scrape PMVs of of tube sites, transcode them into Webm format (which could take hours, considering most good ones are 60+ minutes long), split them into clips, and then put them into the game files. Realistically speaking people are gonna play with what's here. And what's here is 90+ percent softcore.
and

I understand your meaning, and I recognize that I cannot (or should not) expect everyone to provide their own content.
You also address the meat of the matter; I am here to provide the framework, which was the original plan... but I'm not going to play that card just yet. More hardcore is as simple as it gets.

I agree with you that the content needs more rounding out, and I will address it right away. Thank you for taking the time to elaborate on your concerns.
Agreeing with your sentiment, ntentacle, this is exactly what I did. I spent a weekend or two to download some good cockhero clips from spankbang, cut them up and converted to webm for use in my Imager App adventure mode. So I will now share it here for all to use:


Note that this is just something I tried and I liked how it turned out in-game, but they could be improved. This was just to see what design rules I should follow in the future. Lemme know what you guys think of them. I will be lurking this thread for the foreseeable future anyway, following the development of this game.
 

ntentacle

Member
May 19, 2017
179
413
and



Agreeing with your sentiment, ntentacle, this is exactly what I did. I spent a weekend or two to download some good cockhero clips from spankbang, cut them up and converted to webm for use in my Imager App adventure mode. So I will now share it here for all to use:
mega folder

Note that this is just something I tried and I liked how it turned out in-game, but they could be improved. This was just to see what design rules I should follow in the future. Lemme know what you guys think of them. I will be lurking this thread for the foreseeable future anyway, following the development of this game.
1706151341541.gif
 
  • Like
Reactions: Tribe

Tribe

Member
Game Developer
May 5, 2021
221
480
Yeah, I didn't have any plans to go into actual specific stats or anything, I just wanted to have a level. I guess in that case, it was more like a "level", a number that goes up to go down lol. It was for the sensation that the succubi are actually draining something from you, since that sort of thing was the type of scenario that I wanted. It's something I've seen in a few hentai games before, but those games weren't very good. The art sucked, the gameplay sucked, and none of it was quite what I wanted. The same dilemma you had with JOI games where you liked the concept but nobody did it quite right is the dilemma I have with succubi level drain games, so that's why I want to make this mod. There's also some niche stuff that I personally want. I was thinking of adding some options in the tavern menu, where you could basically sexually harass the women at the bar, and you would inadvertently give them some of your levels doing so. Then, after they absorb those levels, they would essentially get corrupted and power hungry, and start acting like succubi themselves. So you see, it's like you hoist yourself by your own petard, and turn the nice ladies at the tavern who just wanted to help you succeed as a hero into bewitching succubi (figuratively) who want to drain you and take advantage of you. It's the sort of "level drain" situation that I like myself, making a female npc/monster who's weak normally much stronger by indulging yourself, then that formerly weak npc/monster comes to collect even more now that you can't fight her.

As for the mod itself, I did make some decent progress, and I do think that I can get it working. As you said though, I probably will wait for some more updates to actually seriously try to get it to work, just so I don't have to keep uprooting myself. Either that, or I'll just update the mod as you update the game lol
Your mod ideas are really cool! I don't see any major conflicts further down the road either. Furthermore, town PCs will be as simple to add as enemies in the future, so adding corruptible girls to the tavern shouldn't be too difficult.
I, too, enjoy a good level drain scenario and am interested to see what you have in store. :D
 

ntentacle

Member
May 19, 2017
179
413
and



Agreeing with your sentiment, ntentacle, this is exactly what I did. I spent a weekend or two to download some good cockhero clips from spankbang, cut them up and converted to webm for use in my Imager App adventure mode. So I will now share it here for all to use:
mega folder

Note that this is just something I tried and I liked how it turned out in-game, but they could be improved. This was just to see what design rules I should follow in the future. Lemme know what you guys think of them. I will be lurking this thread for the foreseeable future anyway, following the development of this game.
I downloaded and converted a couple of long ones the other day.

Out of curiousity what video editing software did you use to split it up into clips? I converted a really solid 2 hour one into webm the other night, but I'm not up to date on what free/freemium video editing options are good right now.
 

Tribe

Member
Game Developer
May 5, 2021
221
480
and



Agreeing with your sentiment, ntentacle, this is exactly what I did. I spent a weekend or two to download some good cockhero clips from spankbang, cut them up and converted to webm for use in my Imager App adventure mode. So I will now share it here for all to use:
mega folder

Note that this is just something I tried and I liked how it turned out in-game, but they could be improved. This was just to see what design rules I should follow in the future. Lemme know what you guys think of them. I will be lurking this thread for the foreseeable future anyway, following the development of this game.
You're wonderful!
The only formatting thing I would suggest is to list the video that are associated with the link so that others can create lists and avoid duplicating your hard work. Thank you for sharing Kealan!!!
 

Kealan

Newbie
Feb 9, 2018
57
116
Out of curiousity what video editing software did you use to split it up into clips?
I used , it's free and works well for cutting up stuff I find. Others in the Venus's Club girl packs thread also use it and have recommended other software if you're interested or don't find Shotcut cuts it.

The only formatting thing I would suggest is to list the video that are associated with the link
I think I didn't change much in the filenames of the clips with respect to the downloaded file, so they should be findable.
Just to check I did just that so this is the current list of clips I downloaded from spankbang (and Milovana) and converted to IA2 rounds:
  • by psa_love
  • by W3rdandy
  • by xxxWhoa
  • by AlchemyX
  • by ViceCityLights
  • by mathison
  • by MickeyR87
  • by calsensei
I think that was it, will check this weekend or something.
 
Last edited:
  • Like
  • Red Heart
Reactions: anchit3 and Tribe

Greenbean33

Newbie
May 25, 2021
72
33
Yeah, I didn't have any plans to go into actual specific stats or anything, I just wanted to have a level. I guess in that case, it was more like a "level", a number that goes up to go down lol. It was for the sensation that the succubi are actually draining something from you, since that sort of thing was the type of scenario that I wanted. It's something I've seen in a few hentai games before, but those games weren't very good. The art sucked, the gameplay sucked, and none of it was quite what I wanted. The same dilemma you had with JOI games where you liked the concept but nobody did it quite right is the dilemma I have with succubi level drain games, so that's why I want to make this mod. There's also some niche stuff that I personally want. I was thinking of adding some options in the tavern menu, where you could basically sexually harass the women at the bar, and you would inadvertently give them some of your levels doing so. Then, after they absorb those levels, they would essentially get corrupted and power hungry, and start acting like succubi themselves. So you see, it's like you hoist yourself by your own petard, and turn the nice ladies at the tavern who just wanted to help you succeed as a hero into bewitching succubi (figuratively) who want to drain you and take advantage of you. It's the sort of "level drain" situation that I like myself, making a female npc/monster who's weak normally much stronger by indulging yourself, then that formerly weak npc/monster comes to collect even more now that you can't fight her.

As for the mod itself, I did make some decent progress, and I do think that I can get it working. As you said though, I probably will wait for some more updates to actually seriously try to get it to work, just so I don't have to keep uprooting myself. Either that, or I'll just update the mod as you update the game lol
Yeah that's the same thing I'm usually seeking in level drain games. I wholeheartedly agree with you.
 

Tribe

Member
Game Developer
May 5, 2021
221
480
DigitalMan
Please keep us posted on your progress!

Kealan
Thanks for updating us with that information! I've updated the information along with a mirror to your files beneath the OP.
If you want me to remove, change, or update anything, let me know :D

ntentacle
Lotsa porn. Made a link beneath the OP under 'images and clips' that oughta spice up anyone's game a bit.

Sukyotits
Sorry to say that I'm still working on the issue you posted. I cannot duplicate it nor find a solution yet. I will seek outside help moving forward.
 

zaepfchen94

New Member
May 3, 2018
2
2
Hi i get this error under Linux, playing Hero Mode. After the first encounter before a spell is casted i get dumps after every interaction.

Code:
I'm sorry, but an uncaught exception occurred. 
 
While running game code: 
  File "game/scripts/adventure.rpy", line 2135, in script call 
    call expression enemy_personality + "_greeting_label" from _call_expression 
  File "game/scripts/adventure.rpy", line 2572, in script call 
    call CH_start_label from _call_CH_start_label_4 
  File "game/scripts/adventure.rpy", line 2742, in script 
    python: 
  File "game/scripts/adventure.rpy", line 2746, in <module> 
    clip_duration = Duration_Of_Clip(shown_image) 
  File "game/scripts/imager_app.rpy", line 249, in Duration_Of_Clip 
    local_media_info = MediaInfo.parse(os.path.join(config.gamedir, shown_image)) 
OSError: Failed to load library from libmediainfo.so.0 - libmediainfo.so.0: cannot open shared object file: No such file or directory 
 
-- Full Traceback ------------------------------------------------------------ 
 
Full traceback: 
  File "game/scripts/adventure.rpy", line 2135, in script call 
    call expression enemy_personality + "_greeting_label" from _call_expression 
  File "game/scripts/adventure.rpy", line 2572, in script call 
    call CH_start_label from _call_CH_start_label_4 
  File "game/scripts/adventure.rpy", line 2742, in script 
    python: 
  File "/home/patrick/xGames/ImagerApp2-2.4.7-pc/renpy/ast.py", line 1138, in execute 
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) 
  File "/home/patrick/xGames/ImagerApp2-2.4.7-pc/renpy/python.py", line 1122, in py_exec_bytecode 
    exec(bytecode, globals, locals) 
  File "game/scripts/adventure.rpy", line 2746, in <module> 
    clip_duration = Duration_Of_Clip(shown_image) 
  File "game/scripts/imager_app.rpy", line 249, in Duration_Of_Clip 
    local_media_info = MediaInfo.parse(os.path.join(config.gamedir, shown_image)) 
  File "python-packages/pymediainfo/__init__.py", line 431, in parse 
  File "python-packages/pymediainfo/__init__.py", line 329, in _get_library 
OSError: Failed to load library from libmediainfo.so.0 - libmediainfo.so.0: cannot open shared object file: No such file or directory 
 
Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 x86_64 
Ren'Py 8.1.3.23091805 
Imagine Erotic Application 2: Cock Hero Adventure 2.4.7 
Fri Feb  2 22:11:37 2024
 
  • Like
Reactions: Tribe

Tribe

Member
Game Developer
May 5, 2021
221
480
Hi i get this error under Linux, playing Hero Mode. After the first encounter before a spell is casted i get dumps after every interaction.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/scripts/adventure.rpy", line 2135, in script call
    call expression enemy_personality + "_greeting_label" from _call_expression
  File "game/scripts/adventure.rpy", line 2572, in script call
    call CH_start_label from _call_CH_start_label_4
  File "game/scripts/adventure.rpy", line 2742, in script
    python:
  File "game/scripts/adventure.rpy", line 2746, in <module>
    clip_duration = Duration_Of_Clip(shown_image)
  File "game/scripts/imager_app.rpy", line 249, in Duration_Of_Clip
    local_media_info = MediaInfo.parse(os.path.join(config.gamedir, shown_image))
OSError: Failed to load library from libmediainfo.so.0 - libmediainfo.so.0: cannot open shared object file: No such file or directory

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/scripts/adventure.rpy", line 2135, in script call
    call expression enemy_personality + "_greeting_label" from _call_expression
  File "game/scripts/adventure.rpy", line 2572, in script call
    call CH_start_label from _call_CH_start_label_4
  File "game/scripts/adventure.rpy", line 2742, in script
    python:
  File "/home/patrick/xGames/ImagerApp2-2.4.7-pc/renpy/ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/home/patrick/xGames/ImagerApp2-2.4.7-pc/renpy/python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/adventure.rpy", line 2746, in <module>
    clip_duration = Duration_Of_Clip(shown_image)
  File "game/scripts/imager_app.rpy", line 249, in Duration_Of_Clip
    local_media_info = MediaInfo.parse(os.path.join(config.gamedir, shown_image))
  File "python-packages/pymediainfo/__init__.py", line 431, in parse
  File "python-packages/pymediainfo/__init__.py", line 329, in _get_library
OSError: Failed to load library from libmediainfo.so.0 - libmediainfo.so.0: cannot open shared object file: No such file or directory

Linux-6.1.0-17-amd64-x86_64-with-glibc2.36 x86_64
Ren'Py 8.1.3.23091805
Imagine Erotic Application 2: Cock Hero Adventure 2.4.7
Fri Feb  2 22:11:37 2024
Thank you for taking the time to post this, zaepfchen94!
I will look at this tonight
 
  • Like
Reactions: zaepfchen94

DigitalMan

Member
Jul 26, 2018
103
178
Phew... Well, after a great amount of effort, mostly spent learning, I've got some slight semblance of progress to show. It's really, really rough, and what I'm posting is just the code that I've written, with some notes on what I'm working and stuck on, as well as where each line I've written goes. Now, this is NOT finished, not even close. Even calling it a tech demo feels a stretch, but it's something that almost works decently well as a tech demo, so I'm posting it for the promised update on progress.

Overall, the features it has that actually work are:
-Levels
-Experience
-Spirit gain that is altered by levels (the amount of spirit you get goes up based on your level, right now it's really high, but it'll be rebalanced later.)
-Levels are a separate mode, toggled at the start of a new game (it's toggled the same way hero mode is)

And that's it for now. Yeah, pretty ramshackle, huh? I could probably technically implement the draining right away, but it would also be pretty barebones for a while. I did write some dialogue for it, just for when you cum, which I'll also be posting, but it's unimplemented for now, I'll still be working on the systems themselves for a little while. My coding is probably barely up to scratch, so progress will be slow going, and your game will probably run real slow if you try to get it up and running right now, but it's what I've got for now. I'll be working on it these next few days, if anybody who actually knows how to code has some suggestions, then feel free to message me or just reply.

PS, I saved the code and dialogue in .rpy files, just use a text editor to open them, in case you didn't know. Once this mod is actually working, I'll probably upload it in a sort of DIY fashion, with the snippets of code plus where to put them in a file, and you just add them to your game's copy of adventure.rpy.

Peace.
 

Tribe

Member
Game Developer
May 5, 2021
221
480
Phew... Well, after a great amount of effort, mostly spent learning, I've got some slight semblance of progress to show...
Heya! This looks really fun so far.
I just read your code, and thanks to all the notes you left, I was able to come up with a few suggestions.

First, let me say that you're off to a beautiful start. You've made use of the defaults before trying to use them in your code. (Nice!)
I'm not sure if you're code is different than what you posted, but the defaults that you created aren't in an init block:
Python:
init:
    default level_mode = False
    default player_experience = 0
    default player_level = 1
    default level_threshold = 30

About leveling up...
To implement a level system, one must wield the while loop
Using a while loop, it doesn't matter how much exp you get, python will keep adding levels while you meet the requirements.

Example:
Python:
python:
    exp += 40  # gained 40 exp from the fight
    while exp > 20:  # if exp is greater than 20, you level up!
        exp -= 20  # if level up, reduce exp by 20
        level += 1  # add the level
The while loop will keep going and going and going, leveling up the character until the exp is gone.

However, you stated you had an issue wrapping your mind around the threshold for leveling up.
The key here isn't to adjust the threshold, but to create a threshold that works in any situation.
So instead taking level_threshold *= 1.2, use level_threshold = player_level * 1.2
This way, the threshold will increase/decrease depending on the players level (and infinitely)

In your case, you want the threshold to start at 30 and increase by 20% per level:
level_threshold = 30 * (1 + ((player_level - 1) * .2))

And thus:
Python:
python:
    def LevelUp(experience_gained):
        global player_experience
        global level_threshold  # now a base number to balance the game (NOT LOCAL)
        global player_level
       
        player_experience += experience_gained

        # establish the threshold for leveling up
        local_level_threshold = level_threshold * (1 + ((player_level - 1) * .2))

        # level up while experience is greater than the threshold
        while player_experience > local_level_threshold:
            # reduce the exp that was required to level up
            player_experience -= local_level_threshold
            # increase the level
            player_level += 1
            # re-calculate the threshold for leveling up
            local_level_threshold = level_threshold * (1 + ((player_level - 1) * .2))
If you add modified code, it's best to add a new block. If you had an issue with feeding succubi twice, it is probably because you copied the previous block over (including enemies_fed etc...)

Your code should look something like this:
Python:
python:
    # no need for the variable level_payout, just make the payout what you want
    if level_mode:
        payout = LevelPayout()
   
    # now the existing code is working for you already
    if not image_skipped:
        enemies_fed += 1
        total_enemies_fed += 1
        days_since_last_fed[enemy_key] = 0
        times_fed[enemy_key] += 1
        spirit += payout

    # if the function I wrote is used, it will add player experience on its own and level the player up if necessary
    if not image_skipped and level_mode:
        LevelUp(experience_earned)

If you intend on keeping the previous payout AND apply LevelPayout(), just use += instead of =.
 

DigitalMan

Member
Jul 26, 2018
103
178
Heya! This looks really fun so far.
I just read your code, and thanks to all the notes you left, I was able to come up with a few suggestions.

First, let me say that you're off to a beautiful start. You've made use of the defaults before trying to use them in your code. (Nice!)
I'm not sure if you're code is different than what you posted, but the defaults that you created aren't in an init block:
Python:
init:
    default level_mode = False
    default player_experience = 0
    default player_level = 1
    default level_threshold = 30

About leveling up...
To implement a level system, one must wield the while loop
Using a while loop, it doesn't matter how much exp you get, python will keep adding levels while you meet the requirements.

Example:
Python:
python:
    exp += 40  # gained 40 exp from the fight
    while exp > 20:  # if exp is greater than 20, you level up!
        exp -= 20  # if level up, reduce exp by 20
        level += 1  # add the level
The while loop will keep going and going and going, leveling up the character until the exp is gone.

However, you stated you had an issue wrapping your mind around the threshold for leveling up.
The key here isn't to adjust the threshold, but to create a threshold that works in any situation.
So instead taking level_threshold *= 1.2, use level_threshold = player_level * 1.2
This way, the threshold will increase/decrease depending on the players level (and infinitely)

In your case, you want the threshold to start at 30 and increase by 20% per level:
level_threshold = 30 * (1 + ((player_level - 1) * .2))

And thus:
Python:
python:
    def LevelUp(experience_gained):
        global player_experience
        global level_threshold  # now a base number to balance the game (NOT LOCAL)
        global player_level
      
        player_experience += experience_gained

        # establish the threshold for leveling up
        local_level_threshold = level_threshold * (1 + ((player_level - 1) * .2))

        # level up while experience is greater than the threshold
        while player_experience > local_level_threshold:
            # reduce the exp that was required to level up
            player_experience -= local_level_threshold
            # increase the level
            player_level += 1
            # re-calculate the threshold for leveling up
            local_level_threshold = level_threshold * (1 + ((player_level - 1) * .2))
Ah, thanks so much, man! I actually got every other part of the things you mentioned ironed out for the most part, but the level up formula had me completely stuck. I actually had implemented a while loop, though it was a nested while cause I didn't quite know how it worked, but it was still a bad formula in the end. It would freeze the game whenever it called the LevelUp function lol. With this, I've gotten much more done and dusted. From here on, I just have to iron out the leveling balance, so that you earn levels decently well but not too fast. I got most of the draining stuff set up, but I want to tweak it a little, as I want it to be repeatable. Basically, you can get your level drained by the succubi till level 1, then they start draining spirit. Once you implement dying, I'll work the spirit draining into that in some way. I also want to rework the deals the succubi make, cause the spice ones already are rendered moot by the way I change spice in level mode.

By the way, I made it so that experience gain is a separate function, as having it as one function gave me the issue of leveling the player up during the encounter with the succubi, which I thought would interfere with the draining part. Specifically, the player would get exp and level up during the CH part, but weirdly only if the exp earned was enough to cross the threshold. I've already fixed that issue by making the game check for a level up only during the menu after succubi encounters. That aside, I also made it so that different enemy personalities gave different exp amounts. I'll post the code once I have some more stuff done, probably tomorrow or some time this week or the next.
 

Tribe

Member
Game Developer
May 5, 2021
221
480
Ah, thanks so much, man! I actually got every other part of the things you mentioned ironed out for the most part, but the level up formula had me completely stuck. I actually had implemented a while loop, though it was a nested while cause I didn't quite know how it worked, but it was still a bad formula in the end. It would freeze the game whenever it called the LevelUp function lol. With this, I've gotten much more done and dusted. From here on, I just have to iron out the leveling balance, so that you earn levels decently well but not too fast. I got most of the draining stuff set up, but I want to tweak it a little, as I want it to be repeatable. Basically, you can get your level drained by the succubi till level 1, then they start draining spirit. Once you implement dying, I'll work the spirit draining into that in some way. I also want to rework the deals the succubi make, cause the spice ones already are rendered moot by the way I change spice in level mode.

By the way, I made it so that experience gain is a separate function, as having it as one function gave me the issue of leveling the player up during the encounter with the succubi, which I thought would interfere with the draining part. Specifically, the player would get exp and level up during the CH part, but weirdly only if the exp earned was enough to cross the threshold. I've already fixed that issue by making the game check for a level up only during the menu after succubi encounters. That aside, I also made it so that different enemy personalities gave different exp amounts. I'll post the code once I have some more stuff done, probably tomorrow or some time this week or the next.
That sounds awesome. I've been trying to make it where the player can die in peace for a while now, but it turns out there's so much that goes into it! Hopefully we can see it in the game after the next patch.

As for leveling up during the encounter. I suspected you would make a variable like the payout, experience_earned perhaps, and apply it using a function after the encounter if not image_skipped. No matter, as long as you get those levels up so they can be drained once again, everyone will be happy :p
 

DigitalMan

Member
Jul 26, 2018
103
178
Hey everybody, sorry for the radio silence. I'm still working on the mod, it's mostly done. Funnily enough, I started working on it with the desire to write the porn part, and the coding was an obstacle in the way of doing that. Ironically, I've mostly ironed out the coding parts, at the least I'm much more confident when it comes to it now, but I'm now stuck when it comes to the writing of the dialogue that I started out wanting to make. I don't know when I'll be up to working on it again, I've been stuck cause of a lack of motivation, but I won't leave you guys hanging for too long. Just thought I'd come in and make it clear that I didn't toss the project into a dustbin and left it there, it's still on my mind, and I'll try to get a proper version out soon enough.
 
4.40 star(s) 7 Votes