XaiJu
slaen
slaen

patreon


The Void

This bug. This one bug. It pops up worse in some builds. Sometimes I can run around in game, in and out of buildings, completely fine. Then close and reopen the editor and the first building I enter I fall through the floor again. It's one of those bugs that is so game breaking to a player. It's not something fun and quirky (like the giants smashing people into the sky in Skyrim) that adds to the game. It's a bug that throws the player out of the experience. It sucks.

So I've been digging into this all week.

I'm using data layers and the world partition system to handle interiors and exteriors of the game. When the player goes from the exterior world to the interior of a building the layer holding the exterior world is hidden and the layer holding the interior is shown. Pretty simple right? There's a bit of juggling to make it happen though. The interior has to load first, the player needs to move to that interior space, then the exterior can unload. If the interior ever took just a second too long then the player would move without anything to stand on and then fall off into the void. There's also the save game logic that has to process on each layer being hidden or unhidden - but that isn't contributing to this bug. This also happens whenever the game is loaded from a save. The save game reads where the player is (interior/exterior) and loads that location then drops the player in.

There's this blueprint node "is Streaming Completed" that takes a streaming source (a component you can drop onto an actor) and sees if the streaming location around them is loaded. You can also set the priority of a streaming source. The caveat though is this doesn't seem to play well with the old data layer subsystem. The system that I was still using, not realizing that it was being replaced by something newer. But it does seem to work with the data layer manager stuff. (Also as a side thing... you might notice how all the systems have similar names 'data layer subsystem' 'data layer manager' 'world composition' 'world partition' and digging through forum posts or tutorials for this stuff can be a grind)

So...

Now I freeze the player's movement so they can't move or fall or do anything. I fade the player camera to black. I tell the new location to load and I move the player to the correct spot. I set a timer function to check if the streaming source on the player is completed and I loop that every second until it completes. Once the streaming node says it's completed I delete the timer, unload the the previous layer the player was one, unlock the player movement, and fade the player camera back in.

And this handles when a player is loading a game, when they're using a door, or when they're triggering a teleport through dialogue.

Yeah. One week. Most of it was tracking down everything and understanding why it was breaking in the way it was. And like now that I know how to put it all together the solution seems pretty simple. And -hopefully- this is the final fix for this bug.

But so far testing seems to be solid, and the levels seem to be loading a bit faster with the new data layer manager hooked up. I need to test against some of the save volumes and make sure they work well together. But between this and the save system working the level of jank should be significantly reduced in the next build.

Alright I'm hoping to be back to working on finishing up content for the build this coming week - just hope I don't run into anymore major bugs!

The Void

Comments

Oh nice. I liked the idea of grounding it in the larger political context and how the ruling class would try to manipulate things. I think I'd want to dig into a couple things: like how did schooling systems work in european history and what was the most interesting fun time period to pull ideas from. The guild system seems very renaissance period and also historical reference to disgruntled student movement or movements from academia I think (and my understanding + knowledge of history is very limited) but I think in russian politics the academics / college professors historically played a large role and represented a significant political faction? or in chinese history there were major political movements driven by the students? but yeah, things i really want to learn more about and draw inspiration from because i have no idea how things like that would play out within the larger context of the world you know? oh and then also the usual trope is to replace academia with schools of magic and figuring out if that would be a fun idea. i recently read through a couple books about this really cool idea of the scholomance https://en.wikipedia.org/wiki/Scholomance which seems like a really cool and fun location so yeah i think it's really figuring out how to ground the story in the world and how large of a part that academia would play in that world. and also the amount of detail you've outlined would be enough for an entire game and all the intrigue and factions could exist within the world of academia (which the scholomance related books essentially did)

slaen

Hmm, normally the new builds are behind the paywall and I thought that one was but maybe I misclicked something? lol no worries. They usually end up on various external unnamed sites anyways so it is what it is. Yeah, sorry about the imp scene not matching. I missed that in that build. It should be fixed in the next one that I release. I had accidentally moved the imp model in relation to the collision box check and so it offset his mesh compared to the humans' mesh. and yeah, no worries. It's good to hear if people are running into bugs or issues because I miss stuff all the time - usually because I'm busy focusing on a different part of the game. So thanks for the heads up! and welcome to the patreon!

slaen

Hello there i wanted to ask about something, im relatively new here so i dont know how it works i downloaded the latest version of the game from the collection and i was surprised it didnt need a subscription to be downloaded is it normal? do you make it public after a bit that is out? also i was playing this version (the 1.15.11) and i noticed that the imps defeat scene has the blowjob animation not alligned where the actual mouth of the player character is, im sorry if all this is stupid to ask but i dont know how it work here (also sorry for my bad english)

soneone7274

I've had an idea, as I often do: The scientist's guild! (Better name pending, such as The Researcher's guild, The Natural Philosophers, or The Thinkers clan.) These folks are learned folks who work for the ruling class within the cities on subjects of the ruling classes choosing. The ruling class (hereafter referred to as the Aristocrats) choose who gets the educations to become a scientist and where all scientists work. Typically, the aristocrats look for folks sufficiently brilliant, but also those who're submissive to the aristocracy's will. Thus, not many applicants are taken in by the guild. Some scientists resent having their subject of work chosen for them and occasionally perform soft protests and complain to the aristocrats faces. The aristocrats allow this and offer superficial solutions to these systemic problems, but the truth is that the aristocrats see the system functioning exactly as they made it. The Aristocrats allow soft protests and complaining because it keeps the herd of workers satisfied and working. However, some scientists see through this illusion, and rebel or leave. Those who rebel, fail. If even one succeeded, the fragile system would be shaken at best or torn down at worst. Those who leave wander the world in search of another patron or become self-sufficient. Some of these scientists who've left the scientists guild join up with the demons, others with the goblins. These scientists believe that adopting demonic or goblin lifestyles is a reasonable tradeoff for being able to choose the subject of their work. Others still become free agents, offering their expertise to the highest bidder. Oh, and of course, the inquisition like to snatch up such scientists. Intelligence organizations such as the inquisition will always need and want more brainpower. In fact, the inquisition likes to make sure that they have little to no choice in the matter. Edit: Here's an expansion of the sub factions of the scientist's guild: Experimentalists - Scientists who believe that insight can gleaned through experimentation. These fellows perform many experiments but are wasteful with resources because they don't often use mathematics to predict outcomes. Mathematicians - Folks who believe that mathematics are more important than experiments. These scientists are utterly brilliant but live in their head and don't often take action to prove their theorems worth. If being completely fluent in mathematics were all a scientist busies themselves with, these folks would be first among equals! They sometimes give lectures, but never to their experimentalist contemporaries. Engineers - Folks who apply their mathematics to building infrastructure, such as sewers, roads, and structures. Though quite practical and eager to serve, they cannot build without the aristocrat's permission. It's these folks, perhaps more than any other, that feel the brunt of aristocrat's dominion. Professors - Outgoing teachers that pass on knowledge to the next generation, few that it may be. These folks offer lectures, suggestions, and their incredible wealth of knowledge to the students. Tragically, they hide their sadness and discontentment from their students. This internal turmoil is borne from their prohibition from informing their students of the limited freedoms that scientists really have. Students - The up and coming (potential) stars of science. Learners gradually absorbing everything that the scientist's guild has to teach. They don't yet understand the lack of freedom that a fully-fledged scientist has, and the staff are prohibited from telling them this. Only when they have graduated, which needs to be approved by the aristocrats, is the terrible truth of their station revealed. Emeriti - Retired scientists and professors, voluntarily or otherwise. They still hold their old title but are discarded by the aristocracy. Most have accrued enough funds to purchase an estate or a home. They will still give lectures to whomever asks for one concerning their specialized subject. The primary branches of science taught at science guild campuses are physics, chemistry, biology, geology, astronomy, and mathematics. What do you think?

Oscar Wilde


More Creators