Starbound

Starbound

Macrochip
k5 5. feb. 2017 kl. 18:27
Circuit Export (EDIT: and other wierd save handling feature things)
Right now I've got a few characters, and most of my circuits are on a testing character. How do I move the circuit from testing to another character - for example, the one I usually MP on.
Sidst redigeret af k5; 25. feb. 2017 kl. 8:37
< >
Viser 1-15 af 16 kommentarer
Storm_UK  [udvikler] 19. feb. 2017 kl. 14:09 
Sorry didn't spot this message earlier. You'd have to have a shared character place and pass copies of the circuits across (via workstation copies, vc datasticks, etc.) In multiplayer may be easier to do with a friend with you swapping characters.
k5 20. feb. 2017 kl. 21:56 
Any chance a simple text export/import could be added? Or possibly, instead of the circuit workbench being a shared thing, all circuits are stored locally, and the circuit datasticks are only really necessary for sharing circuits between players.

It seems a far more reasonable way than locking the circuit to a world - it did take me an hour to put together the configurable airlock manager, and having to recreate it, albeit not from scratch, is a pain.
SFC-Daniel 21. feb. 2017 kl. 6:31 
Hm no clue how but an exportsystem with extrafiles which could be send over to other people outside Starbound would actually be necessary for complicated systems "looks towards his insane configurations..." as well as for the alt chars and backup^^
Storm_UK  [udvikler] 21. feb. 2017 kl. 15:28 
I could potentially let circuits be saved up into the storage/starbound.config and downloaded again from there, but don't really want to clutter that file with the huge tables macrochips can generate. I already use that to store iec and wizard settings though, so maybe.

Will see what I can come up with.
k5 22. feb. 2017 kl. 8:19 
Are the tables really as huge as you say? For any particular component, I can at most see one field for its ID, one for its type, two for positioning coordinates, and some variable number for each individual output connection, given that the outputs can be connected to multiple other objects. As for connections feeding into a component, they can be addressed by (id)-1, (id)-2, etc. The bulk of the storage would, if the circuit gets programmed by someone who doesn't know how to lay stuff out, contain the nodes of the circuit, which would be as simple as their address and however many outputs they target.

Conceivably, it could fit into a CSV format.

The point of the circuit table then simply becomes being able to store and recall them, preferably to separate files for uploading.
Sidst redigeret af k5; 22. feb. 2017 kl. 8:21
Storm_UK  [udvikler] 22. feb. 2017 kl. 13:19 
I'm working on adding a 'broadcast' functionality to the workstation to pass circuit data thru the player.config.
Storm_UK  [udvikler] 24. feb. 2017 kl. 2:02 
aaaand that option is being shut down with SB 1.3 removing the necessary bits of Lua API which have been deemed too powerful. Dev's said such things should be done via object/item transfer.

Other option at best now I think would be writing to the starbound.log so a /spawnitem command with relevant could be used outside of that.
k5 24. feb. 2017 kl. 9:33 
Releasing anything short of all the features is kinda pointless, since modding is meant to transform the game, not just augment it. Why is it a bad thing that modders can do powerful things?
Storm_UK  [udvikler] 24. feb. 2017 kl. 10:05 
There was some discussion on the modding channel about getting a script.config to read/write to instead for storing such data, rather than using the starbound.config which holds a lot of stuff you probably wouldn't want to have modified by someone elses mod.

On the plus side, a few other extra things are coming which will be interesting to play around with.

Just added to the Datastick eject a starbound.log writeup of the necessary /spawnitem command. Hopefully that will suffice for present :)
Sidst redigeret af Storm_UK; 24. feb. 2017 kl. 11:00
SFC-Daniel 24. feb. 2017 kl. 16:16 
Tried the Spawnitem command with an alt and had no success, do i need the macrochip workstation before? since the alt just started out.
Storm_UK  [udvikler] 24. feb. 2017 kl. 16:35 
Did you have admin mode turned on as well? need to do that first. Also note it spawns the item at mouse cursor position, if you haven't used this before.
Sidst redigeret af Storm_UK; 24. feb. 2017 kl. 16:50
SFC-Daniel 25. feb. 2017 kl. 1:31 
Tried it again and worked now, was probably and issue to copy the whole line correctly^^
SFC-Daniel 25. feb. 2017 kl. 1:44 
Maybe it's the right place to also suggest another thing^^

Is there a way to copy data from one macrochip to another with already existent data? So that it places the copied data from chip 2 above or underneath the existing circuit in chip 1?

Atm i have to decide which chipdata i take as base and rebuild the second data within the new chip manually, which is often complicated and very time consuming.
Storm_UK  [udvikler] 25. feb. 2017 kl. 3:19 
Hmm, not an easy way to do such. I'll note it for a later look though.
k5 25. feb. 2017 kl. 8:36 
Well, a decent first step for a feature like SFC-Daniel suggested would be to make chips auto-center themselves on the grid once a setting is toggled or it's saved into the workstation.

Then, being able to arrange other components would be trivial. Alternatively, you can take a page from Atanua's book and make embeddable chips so that a particular circuit can be reused once built.
< >
Viser 1-15 af 16 kommentarer
Per side: 1530 50