Devlog - Earning Giantess Favor

Hey everyone! A Giantess reputation system won the September dev priority poll, and it's now live in the Testing environment (build 0.4.749). The goal of this update was to create a system where you offer a Giantess what she desires and she'll start to remember you and when you earn enough of her favor, you can ask her to do things for you! The first being asking her to dance for you at a new Giantess Altar which uses six motion captured dances!
Like the majority of updates so far, this one is really two things: dances you can earn and a system framework that every future island giantess ruler will use for favor tracking. There's also a lot of multiplayer and save system work under the hood, plus a new tool for making rivers swimmable! In this devlog, I will explain my design process for all this and implementation methodology as well as pitfalls I faced, so grab a sandwich cause this is a long one. :3

Why a Favor System

Up until this update an offering was a transaction for growth with simple mechanics where you gave a Giantess what she wanted and she grew. She didn't care who you were and it did not tie into the survival gameplay.
The long term vision for this world is multiple floating islands, each with their own Giantess ruler. I wanted your relationship with each ruler to be something you build over time so if you serve her well, you rise in her eyes and if you earn enough of her attention then she'll grant you things.
Favor is an additional progression path beside your character level, and as more Giantesses and quests are added, it will unlock tiered rewards on each giantess' island. The dance is just the first of those rewards.

Building It From Scratch

I looked deeply at an existing third party reputation system that I could buy before building anything. Its networking would have fit fine, but its save system, item based unlocks and its UI didn't match how the rest of the game works. I would have written more glue code connecting it than the whole custom system ended up taking. At its core favor is just one number per ruler per player, so I built my own.
The first real decision was where that number lives. My first instinct was the player character, since that's "you." But in this game the character is actually a disposable body. When you die, a fresh one is spawned and your controller possesses it. Anything stored on the character would reset to the starting value every time you died which would basically not allow any persistence through death. So favor lives in its own component on the player controller, which persists through death and owns the rest of your progression like your level and skill points.
Multiplayer was built in from the start so that when the game supports it, the favor system is ready to go. Favor replicates owner only, so every player sees their own standing with each ruler and nobody else's. Every change happens on the server, and the client just gets told the new value.

Five Tiers of Favor

Favor runs from 0 to 500 across five tiers, each 100 points wide: Terrible, Bad, Poor, Good and Excellent. Every player starts at 250, right in the middle of Poor.
I took a lot of inspiration from the reputation system in Star Wars Outlaws. Starting in the middle of a low tier means a ruler is unimpressed by default. You're just another speck to her until you prove otherwise. It also leaves room to fall, because favor can go down as well as up.
That last part shaped the whole design because favor isn't only a standing, it's also a currency in GSS which is something Outlaws doesn't do. When you spend favor at the Altar, you can drop a tier and you'll need to earn your way back up. Because favor can drop, every unlock checks your current favor directly instead of handing out a permanent flag the moment you cross a threshold.

Earning Favor

Completing a Giantess' desired offering earns 25 favor with her. There are two ways to deliver an offering:
  1. The easy one is handing items over while she's holding you. The game knows exactly who is in her hand, and that player is online by definition, so favor is awarded the moment she accepts.
  2. The hard one is the Tribute Chest. The whole point of the chest is that you can leave your offering and go do other things. But a chest doesn't remember who put items into it. And on a dedicated server, the player who left the tribute might be logged off by the time she wanders over and collects it. There's nobody to give the favor to even if the chest was made to track the giving player if they aren't online.
The solution is that the chest keeps track for you. When you close a Tribute Chest with her desired items inside it stamps you as the depositor. When she collects, if you're online, your favor lands right away. If you're offline, the chest banks the favor and pays it out the next time you open it. The bank is saved with the chest itself so it survives saving, loading and server restarts, without touching the core player save at all.
Banked favor is tied to you, so another player opening your chest afterward gets nothing. If you're worried about someone swapping in their own offering before she collects there is a lock system I have already designed that works for tribute chests the same as normal storage chests. And so you always know when it happens, favor changes now post a private message in your chat with the Giantess' name.

The Favor Tab

Your character sheet has a new FAVOR tab beside Core, Skills and Magic. Each ruler gets a row with her portrait, your current tier and a progress bar grouped by region. The Giantess sits under Eastern Isle, and Goddess Nae has her own row under World. What should raising Her favor possibly do in the future? >:3
Rulers you haven't interacted with yet still show at Poor since everyone starts there. The tab also updates live so if a Giantess collects from your Tribute Chest while it's open, you'll watch the bar move.

Saving Favor (and Breaking the Build D:)

Favor has to survive quitting the game so it had to go into the player save data. Editing save game structure data is always scary because it has a nasty habit of corrupting existing saves and causing everything in the game that writes to that data to break which is damn near everything in GSS.
Everything worked perfectly in the editor. Then I packaged the game and got a wall of scary "Unknown structure" errors from every blueprint that touches the player save. Since the favor data is its own small structure nested inside the player save structure, Unreal engine in test mode handles that fine because it loads things in whatever order they're needed. But when Unreal cooks a build, it loads assets in a different order and is much less forgiving. It was trying to load code before it understood the structure inside them.
The fix was straight forward but very tedious: recompile and resave every single asset that uses the save structure, in dependency order. There were a lot of them. But once everything had been resaved against the new structure, the build went through clean. It's one of those problems that ate several hours and leaves nothing visible behind which is why I wanted to mention it here. 💔

The Giantess Altar

The Altar is a new recipe at the workbench that you can craft and place at your base anytime. The idea is you use a Giantess Lure to call her over then interact with the Altar to request one of six new dances. I ultimately decided that crafting it has no favor requirement because when I'm playing a survival game and I'm in "build mode" mentally, I want to do all my base crafting at that time. So I moved the favor cost to the actual reward part which so far is getting her to dance.
To request a dance you need to be at Good tier or higher, and it costs 100 favor. Since Good starts at 300, a dance from Good always knocks you back down to Poor and that's intentional. The current values in the test build are very relaxed but as I add more favor rewards with the next update I want to make sure asking a giantess to do something should feel like a privilege and not a spammable vending machine. If you can't afford it, the interaction prompt tells you she requires more of your favor.
The tricky part as always, was size. The Altar checks that she's actually close enough before she'll dance. My first plan was a fixed range sphere around the Altar, but she starts at 10x scale and only gets bigger from there. A range that feels generous at her starting size barely reaches past her toe once she's grown during gameplay.
There are also performance impacts to that method because while it's simpler, it causes every single thing that collides with that sphere to be checked and that takes processing power that could add up if there are a lot of altars in a game. So the range check scales with her current size built on the same scaled acceptance radius math she already has.
A few more details that make it behave:
  • No interrupting her. If she's already in the middle of an animation, the request is refused and you keep your favor.
  • Server authoritative. Your favor is checked again on the server, and it's only spent if the dance actually plays. Nobody pays for a dance that doesn't happen.
  • Built for more giantesses. Each Altar targets one Giantess by her ID, so when new giantesses arrive, each one gets her own Altar.
  • Iteration in action. My first Altar blueprint fought me on placement collision. Instead of untangling it, I rebuilt it from the Giantess Lure, which already placed correctly, and swapped in the Altar's meshes.
All six dances were motion captured and their speed is calculated along with scale so they have the weight and personality you'd hope for when something that big decides to move.

Swimmable Rivers

The patch notes list rivers as a known issue where no swimming effects and no buoyancy. The fix is already done and placed on the map, it just landed after this build went out. I want to go through it in detail because it turned into two separate problems.
Problem one: drowning at the surface
While testing water, I found spots where your oxygen drained even while you floated at the surface. Holding jump popped you up for a second and refilled it, then you'd sink right back to drowning.
It's because the game decides whether you can breathe separately from whether you're swimming. A water volume puts you into swimming mode. But breathing comes from a short trace around your head, from just above to just below, looking for the water's surface. If it finds the surface close enough above your head, you're breathing. If it doesn't find a surface at all, the game assumes you're underwater and starts draining oxygen.
The river's surface only had detailed, per triangle collision, and the trace was only looking at simple collision shapes. So over rivers it never found a surface and you drowned while floating. Telling the breathing trace to check complex collision fixed it for every type of water.
Problem two: rivers are curves, water volumes are boxes
Swimming itself comes from water volumes which are boxes. Rivers are splines that curve and slope across the map. Nothing in Unreal places volumes along a spline, and placing hundreds of boxes by hand along every river was not happening.
You may have noticed that most games have completely flat swimmable water areas or water so shallow that there is no swimming in the game. That would mean we can't have rivers that slope downward in the game which is not the end of the world, but the true problem to solve as always with GSS is size! Even if a river is super shallow and not swimmable, a very tiny player would still go under the water. For this reason alone a "deeper" solution was needed.
I did consider using the water's own collision instead of volumes but this game is headed for dedicated servers. Volumes are the way because they load identically on the server and every client, so everyone agrees on who is swimming without sending any extra unnecessary network data. So the answer was making a custom editor tool for rivers to solve this age old problem every game with water faces.
The River Volume Generator walks along the river's spline and drops a box for each segment:
  • Each box turns to follow the river and is sized to 95% of the river's width, so you don't start swimming while standing on the bank.
  • Box tops sit 35 units below the water surface, which matches the height a swimmer floats at.
  • Neighboring boxes overlap by about 10% so there are no gaps on the outside of bends.
  • Every box is tagged with its river. Edit the river, click Generate again, and it clears the old boxes and builds new ones.
  • The tool itself is editor only, so it's stripped out of the game and server builds entirely.
The first version kept every box perfectly level, and the first test river broke it immediately. Some stretches rose 300 to 470 units over a single segment. A level box can only sit below the lowest point of its stretch, so at the high end the water surface could be hundreds of units above the box. You'd fall straight through the river's surface, land in the volume deep underwater and start drowning.
The fix was a Follow Slope option that tilts each box to match the river's slope, plus sampling the surface at eight points along each box so no corner ever pokes above the water. Shorter segments finished the job. I measured how often the gap between the surface and the box top was more than 60 units, which is roughly where your body sits while swimming:
  • Level boxes, 1000 unit segments: 12 boxes, 53% of stretches had a gap
  • Follow Slope, 1000 unit segments: 12 boxes, 35%
  • Follow Slope, 500 unit segments: 23 boxes, 5%
  • Follow Slope, 250 unit segments: 45 boxes, 0%
At 250 units the gap stays between 35 and 55 units the whole way down the river, so 250 became the default. The level designers have a guide for the tool and have already run it on the map's rivers, so you'll be able to swim them in the next update.

Map Progress

Two more areas are finalized: Shroom Swamp and the Pirate Outpost. I want to take a little time to explain my vision for the Pirate Outpost. I really love the aesthetic of flying galleons and age of sail ships.
I love the idea that these outlanders discover these Giantess islands and attempt to plunder resources only to be met with amazonian women and giantesses. It feels very much like King Kong and I love that vibe. I'm really looking forward to expanding on the lore as more NPCs and quests are added. The environment work is only the first step in telling the story!
Overall the map is finally taking shape as a true floating island. I cut out portions along the island border and the borders are filled in by hand with rocks for the edges.
I also hand placed seven new speck cities around the map, spread out so that wherever you decide to build your base, there's a speck settlement nearby to gather souls from. Muehehehe

What's Next

The October dev priority poll has decided on Giantess clothing removal with favor + Quest system where I can start adding some NPC's. Both of these options were unlocked by the foundational work I did with the favor system in September and I'm really happy that people wanted to see more of it so I can add some additional content to really see the favor system shine.
I've been putting together designs for the clothing removal process and the quest system since the poll ended and excited to share as I progress. Most of the work won't be streamed this time because it is very code heavy, but I'll be sure to at least show some of the giantess clothing process so for anyone interested please keep an eye on the Discord and assign yourself the Dev Stream Pings role!

Thank You!

Thank you so much for the support and for voting on what gets built. If you haven't yet, grab the latest Testing build to craft an Altar and see the favor system and dances in game. Then tell me what you'd like a Giantess' favor to unlock next! I read everything in the comments here and in the Discord feedback channel.
If you want to see this kind of work happen live, I build a lot of it on my development streams, which are saved as videos on Twitter!
💜 Join the Discord!

🎮 Don't already have the game launcher? Download it here!
❤️ This game is only possible thanks to your support! THANK YOU!!