- Joined
- Aug 6, 2013
- Messages
- 22
- Reaction score
- 7
e: That was weird, text was all blacked out until I edited it.
Anyway, I didn't see much discussion of factory logic, and given that I have started making a large logic linked factory, I thought I'd share a few things and see what others have come up with.
For those that haven't messed with logic much (like me), you can easily set up a very basic logic power factory by just linking activation modules with a factory for a specific component, and label the activation module with a display. You can easily toggle what you are producing and see what you have set on or off at a glance.
This is great for most things, but for armor there is a question of wedges and other shapes. Some times, you may not want to have wedges/ect active. You also may not want wedge active only for a specific part of a production chain: ei when making advanced armor, you want hull and std. armor blocks only, but you may want advanced armor wedges.
An easy way to implement this is with a toggle switch - I have two different toggles set up for each grade of armor - hull, std., and adv. - that can enable or disable either wedge production or production of all shapes respectively.
You can wire these up pretty simple with AND gates.
In the above schematic, G is the Grey Hull toggle, A is the Wedge toggle, and B is the All Shapes toggle. On the right side are Hull, Wedge, Tetra, Hepta, and Corner outputs from top to bottom. Note that the OR gate is not needed in game - this logic simulator only allows one connection per output. Starmade does not have this limitation.
In the schematic, both Grey Hull and Wedge Control are enabled, with the output activating the Block and Wedge factories for Grey Hull. Wedge Control and All Shapes do nothing unless a hull is toggled.
There are a bunch of different ways to do this!
Everything else is pretty much straight up activation block -> factory, with additional activation blocks used to make the wiring neater. I'll post some screenies when I get home.
Additional ideas I'll be trying tonight / expanding upon in later posts / asking for help with:
Anyway, I didn't see much discussion of factory logic, and given that I have started making a large logic linked factory, I thought I'd share a few things and see what others have come up with.
For those that haven't messed with logic much (like me), you can easily set up a very basic logic power factory by just linking activation modules with a factory for a specific component, and label the activation module with a display. You can easily toggle what you are producing and see what you have set on or off at a glance.
This is great for most things, but for armor there is a question of wedges and other shapes. Some times, you may not want to have wedges/ect active. You also may not want wedge active only for a specific part of a production chain: ei when making advanced armor, you want hull and std. armor blocks only, but you may want advanced armor wedges.
An easy way to implement this is with a toggle switch - I have two different toggles set up for each grade of armor - hull, std., and adv. - that can enable or disable either wedge production or production of all shapes respectively.
You can wire these up pretty simple with AND gates.
In the above schematic, G is the Grey Hull toggle, A is the Wedge toggle, and B is the All Shapes toggle. On the right side are Hull, Wedge, Tetra, Hepta, and Corner outputs from top to bottom. Note that the OR gate is not needed in game - this logic simulator only allows one connection per output. Starmade does not have this limitation.
In the schematic, both Grey Hull and Wedge Control are enabled, with the output activating the Block and Wedge factories for Grey Hull. Wedge Control and All Shapes do nothing unless a hull is toggled.
There are a bunch of different ways to do this!
Everything else is pretty much straight up activation block -> factory, with additional activation blocks used to make the wiring neater. I'll post some screenies when I get home.
Additional ideas I'll be trying tonight / expanding upon in later posts / asking for help with:
- Linking factory activation to lights and rail motion pistons and other doodads to make the factory feel alive
- Linking all activation blocks to a master emergency stop button, complete with red flashy lights (we need a sound block for klaxons)
- Resource availability display - this one is going to be tricky.. I have a couple of ideas but it seems that storage logic is bugged right now
- Clean All function to empty unused mats out of all factories
- Resource check before production is started, with warning display and cancelation if out of resources - also hurt by storage logic bug, and very tedious to implement. Would be cool though
- Production run of materials for a drone or specific ship
Last edited: