Item Install UI, and Reactor Installs

Hey Folks! Still a bit of admin to do in the first part of today, but it was back into the code this afternoon!

In today's image, there's a UI across the bottom showing different items. This is the bit I was working on Monday and a bit today, and it basically auto-generates buttons in this UI for every installable thing I define in the data. So my install/uninstall auto-generation code not only creates the necessary interactions, loots, and triggers, but then proceeds to add them to the jobs UI! Not bad.

While I was in there, I noticed a few bugs that likely crept in as I mucked around with rendering layers. Plus, I think I can leverage the existing placeholder installation grid helpers and rotation to enhance the stuff in here, so I might try that next.

The other bit I did today is that giant, honking reactor you see sitting in the hallway. I added code to make that reactor uninstallable and reinstallable, so it can be salvaged from another ship and moved. It has to be switched off first, and it has no power abilities when uninstalled, but is otherwise like all the other installable objects.

So as a test, I switched off the reactor, and the ship went dark. I then grabbed my EVA helmet to see what I was doing, and moved the reactor into the hall. Then, I was able to uninstall the backup battery from where it used to connect to the reactor, and put it into the space where the reactor was. Then, the ship lit-up again!

This is starting to get to a point where I'm feeling some amount of agency in-game, and that's pretty cool. I've been playing in a limited sandbox for so long, it's nice to finally be able to formulate a plan and execute it in-game without debug commands. Still not a game, but this was a pretty nice step towards playability!

Comments

Braderunna's picture
Braderunna

Hey, im checking in to read almost every evening, its coming along nicely!

Did you think of making anything, that any character might move underneath, at anytime, slightly transparrent? E.g the cables running in the ceiling (im guessing) across the hallway, could be made transparrent towards the center of the hallway, and stay "solid" near the walls.

Or; Items laying on the ground and living beings moving around, could have a sort of "aura" around them, making stuff above them/it transparrent. So if some tool was laying below the cables, you would be able to see it, or if a creature was standing directly below the cables (only have this example with the cables in mind right now), you would be able to see it, just as your crew member would from his point of view.

i only mention this because it IMO is a problem i often have with top down / isometric style games, where i can only see as far as to the edge of the screen, and objects could be hidden (from the players perspective) behind the roof of a house.

have a hopefully continuously good day and night

hi

dcfedor's picture
dcfedor

Hi Braderunna,

Thanks for reading, and for the encouragement! And those are some interesting suggestions. I like the "punch through" idea in particular, where the crew creates an aura of transparency around them so we see them better through obstacles.

So far, I haven't decided how I'm going to handle conduits. It's possible they'll be on a special layer that's hidden in normal view, kind of like Prison Architect or Sim City's water lines.

But whatever the solution, you're right that we can't have things hiding beneath overhangs!

Dan Fedor - Founder, Blue Bottle Games

Braderunna's picture
Braderunna

The layered thing sounds effective and simple. It is still Nice to see the cables tho, adds to the claustrophobic feeling of a small spaceship, wires everywhere, Some of them being in open view.

hi

dcfedor's picture
dcfedor

Yeah, that was my original thinking, as well. Part of the appeal of Alien(s) environments was that the ships looked like working-class ships, with exposed machinery and conduits everywhere.

Ultimately, we'll just have to try different approaches until we find one that works!

Dan Fedor - Founder, Blue Bottle Games