So, I just released a pull request on the github repo to add horns to vehicles. And while I was poking around in the vehicle code I noticed that cars don’t currently have any sort of electrical system (unless you’re using an electric engine). Basically right now you can install a headlight on a bicycle and get an infinite free light source. The horns I added also don’t require any electricity.
It wouldn’t be too difficult to add I think, though I’m not exactly an expert on cars. With it we could add car radios, jumper cables, etc. Just a thought.
As if it weren’t bad enough that 90% of cars in Cataclysm won’t go because of a broken engine, you want to add batteries and starters too?
But in all seriousness, remember that if you’re going to add electrical draw to the gasoline cars, they’ll need a charging system like an alternator in order to keep the starter and the headlights from sapping the battery dry.
Also, car radios. Has anybody else noticed that there’s no cars in Cataclysm that have radios or other music players?
Yeah, I thought about 99% of cars having either a broken engine or dead battery. There would probably need to be some rebalancing there so the amount of working cars stays about the same. It’s been less than a week since Z-Day, after all.
With a working electrical system we could have airbags that could be removed and made into an anti-zombie IED. I’m sure you people can think of more car components.
[quote=“Rivet, post:2, topic:3092”]As if it weren’t bad enough that 90% of cars in Cataclysm won’t go because of a broken engine, you want to add batteries and starters too?
But in all seriousness, remember that if you’re going to add electrical draw to the gasoline cars, they’ll need a charging system like an alternator in order to keep the starter and the headlights from sapping the battery dry.
Also, car radios. Has anybody else noticed that there’s no cars in Cataclysm that have radios or other music players?[/quote]
Yeah, the lack of car radios is a bit of an irk for me. Electric cigarette lighters would be a nice addition too (since y’know, you can’t use matches to light cigarettes.
To be honest as car batteries are charged while the engine is running I think we could get away without an electrical system for now, since barring severe cold weather/running radio and lights with the engine off for hours they don’t usually die.
Maybe that’s a thing: Winter, depending on temp there’s a chance your car battery will die, possibly leaving you stranded somewhere if you forgot to bring a spare.
The attraction of seperating out the power system to me is that it means you can steal all those batteries as a good basis for survivor-made electrical systems :3
I wouldn’t worry about specifically having starters or alternators, just assume that all gasoline engines consume some charges to start, and produce charges while running (this implies that engines will have a “running” vs “non running state”, and a vehicle menu entry to go with it). The main addition would be a “car battery” part (maybe a larger “truck battery” part too) that is pulled from to start the engine, and code to recharge it when the engine is running.
You can also hook up a solar panel and charge a battery that way. Alternately you could have a gasoline engine (slowly) charge a fuel cell for an electric car, and possibly switch to a silent running mode when desired. That’s all optional things we can build on top though, the main thing is starting/stopping engines and keeping track of the battery charge.
In other words, yes please
Forget the car radio, I want some air conditioning for when I want to drive during the summer. It should prevent you from getting the “Hot” status as long as you are in control of the car.
Well, there had been a couple of topics about vehicle overhaul, I suggested one of the solutions but nevermind; the devs took a detour with wrecks and couple of more complex vehicle types since 0.6 and 0.7. Supposedly there’s much to be tuned before all the new features can be implemented, and after all - moddable via .jsons and sorts.
Just to throw in a quick suggestion how about something like jumper cables to pull electricity from one car to another (maybe using the siphoning code?)
That way I can charge my little electric go cart off of the large solar bank I could put outside my shack.
I’ve been doing some intensive research on car battery amperage and various other things, trying to get this as realistic as possible. I think what I’ll do is take the current “storage battery” object and rename it “car battery”, then put one in all cars with electrical systems. Then I can make certain car systems sap “fuel” from it over time and give non-electric engines alternators that refill the battery over time.
So far I’ve got ~40 amperage-hour car batteries which should drain in about 7 hours if you leave the engine off and the headlights on. Might need some tweaking.
[quote=“Gatleos, post:17, topic:3092”]I’ve been doing some intensive research on car battery amperage and various other things, trying to get this as realistic as possible. I think what I’ll do is take the current “storage battery” object and rename it “car battery”, then put one in all cars with electrical systems. Then I can make certain car systems sap “fuel” from it over time and give non-electric engines alternators that refill the battery over time.
So far I’ve got ~40 amperage-hour car batteries which should drain in about 7 hours if you leave the engine off and the headlights on. Might need some tweaking.[/quote]
[quote=“Gatleos, post:17, topic:3092”]I’ve been doing some intensive research on car battery amperage and various other things, trying to get this as realistic as possible. I think what I’ll do is take the current “storage battery” object and rename it “car battery”, then put one in all cars with electrical systems. Then I can make certain car systems sap “fuel” from it over time and give non-electric engines alternators that refill the battery over time.
So far I’ve got ~40 amperage-hour car batteries which should drain in about 7 hours if you leave the engine off and the headlights on. Might need some tweaking.[/quote]
When you say “rename it”, you mean you’re making a new part based off the old one with lower power capacity, right? If so that’s just what we want yes
This will go well with the recent addition that has a small number of vehicles being spawned with their headlights on