The AI can romance you during combat! (Patreon)
Content
Do you think AI can have feelings? Is it possible for AI to experience romance and be part of a relationship? I’m neither a Silicon Valley techbro nor a dating coach, so I’ve got no idea, but if you're curious about how AI can romance you in Sombionic, keep reading!
So far, it was only possible for you – the player to start erotic scenes with other characters, now the AI can do that too.
Here’s a brief overview of how it works, step by step so you know what actions are executed in order.
When AI hits you, it rolls a dice if it should romance you or not, there’s a random percentage each time from a range (let’s say 20 – 40 percent), in both cases a cooldown is applied, so it cannot request a new scene right after that.
We also make sure that the AI can request animations and you haven’t turned that off from the settings of the game (more explanation and an image below).
Then we wait a bunch of seconds to stack more requests if other enemies are also hitting you or hitting your friendly characters.
All of the requests are sent to 1 system that processes them.
First, it picks a scene with the player, then will try to pick a scene amongst other AI agents (currently the latter is not implemented, but for the team deathmatch game mode and boss war it will be, so AI characters can start scenes amongst each other without the player.)
Each AI that can romance you has a priority, weaker ones will start at 1 while bosses will have a higher number. The system picks the one with highest priority and requests to start it. For example if you get hit by a boss and a simple creep at the same time, the system will choose the scene with the boss. Those priorities can change during gameplay, for example in certain areas.
You have a number of seconds to press a key and decline the romance request, if you do that a cooldown is applied, so the AI cannot start a scene right away.
If you don’t decline, an erotic scene is started.
When the scene ends a cooldown is applied, so that AI has to wait before requesting another scene.
Edge cases.
This is what always takes the most time, because I have to think about all of the things that could go wrong. For example, what happens if a character wants to romance you, but you are already in an erotic animation? What if you are dead or very far away? In such cases, every character keeps a list of others who want to romance it and if something like that happens, all of them get notified - “I’m out of this, don’t bother me”.
UI Module
What if you don’t like a certain character and you never want to see erotic scenes with it?
Go to the settings and you can turn off each character’s romance ability.
There’s an option at the bottom of the AI section called “Show Animation Decline UI” – if you toggle it off, you won’t see that “Press X to decline” UI on the left side of the screen, but the AI will still be able to romance you during combat.
Here’s what else I did on the side:
A new AI that stays in place and attacks – it will be used for tentacles and tanky characters that are optional to kill, but drop a decent loot.
A new AI with low health, low movement speed, and a small target detection radius – Oh, am I making this guy weak on purpose? Exactly! This will be used as a pretty much lvl 1 creep that you can easily kill to heal yourself and it won’t be required to be eliminated in order to progress the level. I thought this could be much better than just spawning a lot of health packs you can freely pick.
Added a default inventory when you first start the game – Melany’s Pigtails + Lab Girl’s outfit + M4 Rifle (+ A UI Update) – This will prepare it for v0.3 when you will be able to customize each individual item from your inventory and take it off.
Pressing the “I” key opens the inventory rather than pressing ESC and then opening it manually
Updated the controller’s physics to be more consistent – should solve some going through walls issues while dashing