Since we seem to have a somewhat larger community, I think it would be a good idea to revive an old topic, rather than necro a whole bunch of threads about power systems in general.
We could post our ideas and generally have a big write up for us forum folk, then after that (and a bit of arguing probably) we can come up with a good solid idea based off some of our old ideas, and some of our new ideas, Consolidate it into a nice list and present it to the developers!
Here’s my couple of cents from a while ago:
A functional power system. Since cataclysm has no power system I think it would be wise to flesh out a new basic idea that can be adjusted to suit the development process. Let’s say the map is divided up into power regions, with a region that contains 18X18 tiles. If there is a power plant within the 18X18 grid it increases the value of the region by say, 100. Knowing this, power plants should be rare, say 1 per large city. The amount of houses/buildings within a certain area reduce said value, let’s say 1 per house and 2 per square of a larger establishments eg mansions hospitals or megamalls. Power should be able to be transmitted across power regions at a cost of 5 per region.Some areas would be switched off by default, for example sewerage treatment plants which can make clean water at a cost of quite a bit of power, other systems could also be valuable resources for the survivor, machine shops, various factories and such.
Every few power regions, a substation may exist, allowing the player to interact with the power grid on an extended basis, say redirecting power, or switching off specific regions.
Thoughts?
And on to some newer things.
Localized power systems, eg player constructed.
Since we can basically have vehicles function as working systems, I was considering having a way to “hook up” my base to a power system.
At first I was considering the classical vehicle system, with a bunch of separately powered systems strewn about the place to perform different tasks.
I eventually gave up on the idea, as it was rather hard to implement without the use of cheats.
This brings us up to the present day of Cataclysm, in which I was faced with a perplexing issue quite recently.
I had two vehicles parked next to one another, a car and a semi truck respectively.
I wished to move the resources from within the car to the semi truck, for the fuel this was an incredibly slow and painful process of siphoning fuel into the singular bottle I had and dumping it into the semi.
After I had finished transferring the fuel, I hopped into the semi and attempted to start it up. No luck.
As it would turn out the semi truck did not have any charge in the battery, how I wished for jumper cables.
So there it is folks, cables.
We could a’pply them to a “terminal” or battery on a vehicle, and depending on the length of the cable you have, you could join it to a vehicle, this would allow the vehicle to equalize the current between it’s battery and the battery on the other end.
The vehicle could move around in the length of the cable, however to implement this there would be undoubtedly some complex algorithms involving having the visual representation of the cable.
A shortcut I considered was to either have the vehicles non moving, or simply not render the cable (or at least in the world). This was basically the quick fix I had considered.
All in all, this would allow you to have some centralized “generator” setup (or multiple) and have it routing throughout the base.
This generator could be as advanced (solar panel/nuclear reactor), normal (basic engine on alternator), downright strange (Pedal Power!!) Or very basic (Steam engines?)
Yes, you read that last bit correctly, Steam engines.
Here is an excerpt from IRC about the steam engines I was considering making:
[11:57] How far are we from exporting the fuel identifiers and such to JSON ? If that gets done in the not too distant future I may be tempted to make a whole set of steam vehicle parts, It might be a little difficult but I have attempted it before and kind of have some psuedo code lying around in my brain for it.
[11:59] The general Idea, is to have a “firebox” which is basically an engine that will run on liquid wood or something silly, this in turn will run a “boiler” which is basically an alternator type component that fits on the firebox and creates “Steam” which is stored in steam tanks. Finally I will have a set of steam engines that run of the said “steam”, of course the whole system will be variable sized.
[12:00] I just about had it implemented before, but I was having a little difficulty with getting the fuel types sorted out, this was before we had vehicle parts exported to JSON.
[12:02] I think the biggest hurdle will be figuring out how to fuel the firebox, just for novelty I could have it run on gasoline, which would be a lot easier to implement. However I would like to see if I could burn wooden objects in it somehow, which would probably require a shitload more code.
[12:03] I might be able to steal the turret code, and instead of ammunition accept 2X4’s or something really weird.
[12:04] Anyway, thanks for all jumping up at once and saying nobody wants steam engines and it will be too hard to make, I appreciate the complements.
Post your own ideas, make it better than mine (No big challenge there folks).
tl;dr : Moar electricity, post your own electricity,