RPGM Lewd Battles mechanics

przpriv

Newbie
Sep 5, 2017
18
11
Hello! I got some free time, and I'm never really satisfied with the content of games, soooo I’m trying to make my own "pearl." I don't have any prior experience with any game engine or programming, but RPGM looks easy to understand and has all the functionality that I want to implement into my game. Maybe I'm too lazy or really bad at searching, but I can't find any data on NSFW battle systems—specifically, restraint mechanics, and all the bad things that could happen to a heroine when she can't move.

To summarize, I'm looking for some guides or samples on how to create lewd fights with actions that can be triggered at any time, restraint mechanics, and other actions that can only happen after the heroine is restrained. When the heroine's status is changed to "restrained," the enemy should only be able to perform specified actions.

All my attempts are pretty bad. When the heroine is restrained, the enemy still performs all the actions on the list, even trying to restrain her again. The worst part is that the enemy isn't using the actions specified for when the "restrained" status is active.
 

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,766
5,150
Speaking specifically to your problem: searching for "nsfw battle" is probably not going to help - it's more a question of finding how and where to add conditions to the actions an enemy can take in RPGM, and referencing the target character state in making that decision.

anti rpgm rant follows:
RPGM is simple only if you stick to the core built-in functionality - items, map navigation, JRPG style battles. But as soon as you start adding your own systems on top of that it becomes a programming task. Unfortunately RPGM is a very weird environment to "program" in - lots of stuff can only be accomplished by configuring triggers and events via the Developer GUI application. It can be extended by writing Javascript but then it becomes hassle of finding other people's existing modules, understanding how they are supposed to work, and the integrating that to the core game platform.
 

przpriv

Newbie
Sep 5, 2017
18
11
Thanks for your response! I'm slowly getting the hang of this engine and expanding my database of plugins for different elements. Contrary to my expectations, I see that I need to learn some basic JavaScript to better customize these plugins. I think I'm learning quickly by introducing one function at a time so that I can calmly understand how variables and switches work. As for battles, I've decided to leave them for later when I have a better grasp of the basics.

However, another question comes to mind—can you recommend a good AI generator for creating scenes? The main concern is consistency in generating characters so that they look identical but differ only in pose. If my project takes shape and gains interest, I’ll probably hire an artist to collaborate with, but for now, it makes sense to keep my expenses to a minimum. :)
 
  • Heart
Reactions: osanaiko

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,766
5,150
However, another question comes to mind—can you recommend a good AI generator for creating scenes? The main concern is consistency in generating characters so that they look identical but differ only in pose. If my project takes shape and gains interest, I’ll probably hire an artist to collaborate with, but for now, it makes sense to keep my expenses to a minimum. :)
Well, this is something that I *am* qualified to talk about, because I'm currently making a game using AI image generators.

I use "Stability Matrix" to do a local install of StableDiffusion, specifically the Automatic1111 webUI.

For the specific "look" that I want for my game, I'm using the "PonyDiffusionXL_v6" model with a specific LORA for the art style I want (mimicking the Summertime Saga game artwork style)

I've found that it takes a LOT of manual work to get specific image setups (poses / scenes), and a lot of manual image editor work to get character's looks and clothing to stay consistent. And I really do mean A LOT LOT! Stuff like "frankestein" combining lots of different source images, then using IMG2IMG to blend them together and convert into the desired art style. Doing dozens to 100s of generations to find the ones that look the best. Then again frankensteining the best ones together to fix anatomy or clothing problems. Finally, detailed photo editing of clothes/facial features, followed by a final IMG2IMG pass at a low (like 0.2) Denoising strength setting to smooth out the edits.

I might be a bit excessive in the amount of perfectionism I am putting into it.

If you want to read more about what I'm doing come checkout my Dev thread, linked in my signature.
 

XforU

Of Horingar
Game Developer
Nov 2, 2017
188
269
I haven't made a system like that, but I assume it will work something like this.

Req: gif/video plug-in.

Ability calls common event the runs your animation on screen. Attach effects and variable to said common event to track progress (cumming, state of undress and such). In case you need to interact with the scene, you'll need to set the common event to run parallel and be able to complete a task (cum, end, progress) to exit processing. Troops will also need to run a parallel event that tracks the progress var.

For abilities that only work when character is restrained you'll need to add a few conditions to abilities that work only when "restrained" state is active. You have to make sure the state gets removed at some point or make is purely visual to avoid the problem that you're having (enemy does 10 things at once)

It's not hard to do, but it will be time consuming. This isn't the best way to do it nor is it the most efficient... It's the easiest.
 
Last edited:

przpriv

Newbie
Sep 5, 2017
18
11
After reading osanaiko suggestions. I've come to the conclusion that one way or another I need to do some edditing, so
I think I'll just create an actor in Koikatsu(for example), set the pose, take a screenshot and draw the exact pose and actor in a graphics program using layers.(why not just with koikatsu? There's something wrong there, I can't say what but it doesn't fit my concept, maybe unnecessary "depth"?) The art style I want is something like Star Knightess Aura or Samurai Vandalism you know, typical anime style, simple but pretty neat. It's been a few years since I last drew something, I've never been good at drawing people, but I'm pretty good at redrawing, so I think I'm up for the challenge. For obvious reasons i think at first i just draw one or two images and fill the rest with raw koikatsu :ROFLMAO: . This game is meant to be a "proof of concept" at this stage, not a full-fledged 0.1 release.

XforU regarding your post, I have already partially figured out such a solution (at least in my mind, I still have to apply it in practice), but the biggest problem I see is that in some battles there will be two actors, one female with whom I want the enemies to interact, the other male, where it is an absolute no-no. For now, my only idea is to introduce a rule that the male actor is immune to the "restrained" status, but I think that there may be stupid situations when "enemy x" uses restrain on "actor Male"
I guess ican't have everything without a solid understanding of javascript :p
 
Last edited:
  • Like
Reactions: osanaiko

XforU

Of Horingar
Game Developer
Nov 2, 2017
188
269
After reading osanaiko suggestions. I've come to the conclusion that one way or another I need to do some edditing, so
I think I'll just create an actor in Koikatsu(for example), set the pose, take a screenshot and draw the exact pose and actor in a graphics program using layers.(why not just with koikatsu? There's something wrong there, I can't say what but it doesn't fit my concept, maybe unnecessary "depth"?) The art style I want is something like Star Knightess Aura or Samurai Vandalism you know, typical anime style, simple but pretty neat. It's been a few years since I last drew something, I've never been good at drawing people, but I'm pretty good at redrawing, so I think I'm up for the challenge.

XforU regarding your post, I have already partially figured out such a solution (at least in my mind, I still have to apply it in practice), but the biggest problem I see is that in some battles there will be two actors, one female with whom I want the enemies to interact, the other male, where it is an absolute no-no. For now, my only idea is to introduce a rule that the male actor is immune to the "restrained" status, but I think that there may be stupid situations when "enemy x" uses restrain on "actor Male"
I guess ican't have everything without a solid understanding of javascript :p
That's pretty doable without coding. Make restrain attack aoe with multiple effects and only the female will get the state since the male is immune. This is a workaround that will work while you figure something out.
 

przpriv

Newbie
Sep 5, 2017
18
11
Good tip! But I should probably start addressing all the weird temporary solutions, but when I spend two hours trying to do one thing, I get mad and put "another weird switch No. X" and go on to do something else XD
 

przpriv

Newbie
Sep 5, 2017
18
11
Fucking hell... I literally throw up with graphic processing, I absolutely have to consider outsourcing in terms of art. Below is about 20h of work on one pose... I have everything in layers so, individual appearance modifications are a smaller problem but I am still not satisfied with either the face or the hair....
You don't have permission to view the spoiler content. Log in or register now.

Any opinions?