space prototype

Crew Finances Almost Running

dcfedor's picture

Hey Folks! Still cranking away at the crew finances UI, and we're almost there.

Mo' Money Matters

dcfedor's picture

Hey Folks! Still at work on the crew finances task. This time on the details page.

As mentioned yesterday, I want to focus a bit on crew finances since that's the dwindling resource which players need to live. There are others of more or less immediate concern, like life support, crew mood, and fuel. But when it comes down to it, your ability to do things in this world depends on money. Or bending/breaking the law to avoid paying money.

Livin' In the Red

dcfedor's picture

Hey Folks! Hope everyone had a good weekend. I decided to splurge and pick up Battletech, largely because of its mercenary outfit management bits. A lot of what's going on there is similar to what I'd like to do, so there's some stuff worth researching. Plus, you know, fun :)

New Interactions and AI Tweaking

dcfedor's picture

Hey Folks! A bit of a housekeeping day today, though I did get a bit more work done on making the AI more interesting. Still trying to figure out where to go from here.

The main changes of note today were adding more in-game effects to Michael's latest batch of interactions. Basically, the psychological "loot" for each interaction, whether it be more self-respect, less friendship, or whatever. Each of those interactions now has an effect on AI needs, comparable to the original batch.

New Faces, and Context Menus

dcfedor's picture

Hey Folks! A couple interesting additions today: new random faces, and context menus for clicked items.

New Signal Connections, and New AI Interactions

dcfedor's picture

Hey Folks! Finally got this new signal system working. And was able to load Michael's new interactions, to boot!

The signal system took most of the day, as there were some edge cases involving the different game modes and other details. But after all was said and done, I think the new signal system is a major improvement. Just pop open the control panel for any item with signal support, click the input you want to adjust, then you're presented with a selection mode.

N2 and O2 Both Working, but Conduit Issues

dcfedor's picture

Hey Folks! Hope everyone enjoyed their weekend. The weather here's been pretty great recently, so we actually visited the beach! Felt good to get outside after a long, wet/cool winter.

Back at work, I unfortunately had a bunch of admin work to take care of before I could get back to code. The usual monthly tax stuff, filing returns, paying bills. Plus a handful of email inquiries. But once that was done, it was back to work!

O2 Sensor and Pump Working!

dcfedor's picture

Hey Folks! Think I finally got the O2 system working. Finally!

I tried one more thing this morning to get the more generalized system working, but just kept hitting the same roadblock from different directions. The GUI and the Pump code just cannot see each other reliably enough. So as an alternative, I made the UI specific to the air pump. Doing this let me add some code to update the pumping code any time the user changes sensor settings in the UI.

Simpler Pieces

dcfedor's picture

Hey Folks! Still struggling with the pressure-controlled air pump. It's starting to get a bit disheartening, but I also know that's partially due to being mentally exhausted at the end of the day.

Previously, I tried to make one single item that could detect multiple gas partial pressures, switch pumping on from separate inputs, and switch on and off based on supplied power. The logic turned out to be way too complex to model in my data-driven system, and I got lost in abstract data across many text files.

Crazy Complex Air Pump

dcfedor's picture

Hey Folks! I managed to get the sensor-linked pump running. Well, mostly, anyway.

As of right now, the pump will start "off," and if enough power is supplied, it switches to "standby" mode (green light). It then starts sampling the atmo for N2 and O2 partial pressures, and if either are below safe levels, switches to "pump" mode and begins flooding the room with O2 and N2.

Unfortunately, that's the good news.

The bad news is that it pumps 50/50 O2/N2 instead of 20/80 as it should. I also never stops.