Vehicle Additions Pack (Updated December 8)

Just wanted to say this in case you haven’t noticed yet, the vortex engine/generator won’t turn on due to not having a fuel type defined. Says “Looks like the vortex engine/generator is out of none”.

Whoops, I was pretty sure I fixed that before…

Anywho, fixed and uploaded now.

[quote=“Blaze, post:162, topic:7616”]Whoops, I was pretty sure I fixed that before…

Anywho, fixed and uploaded now.[/quote]

Cool beans. The engine works fine now, but the generator instantly dies when the vehicle is turned on, I guess it’s power is set to 0 and the game doesn’t like that.
Edit: Now that I remember, I had this same problem the other day when I wanted to make an RTG, if the engine doesn’t have a fuel type, it doesn’t start. If it has battery as a fuel then power set to anything other than 0 causes it to drain battery regardless of its epower rating. However if it has a power of 0 it doesn’t start either. I think the only way to get around that with .json is to have a custom fuel set for it, and have it be its own fuel container like the minireactor, and since custom fuels don’t get consumed it would last forever. Kind of a hacky way to do it, but it should work.

Yeah, I see the problem now. I could make it into an alternator and engine which’ll just take the smallest amount of gasoline to run; but I settled into make it work like a solar panel. Sadly, it won’t work underground like I intended it to do.

Reuploaded.

Hmm, just a suggestion. If you want it to work underground/in darkness, using a vortex stone as fuel (which wouldn’t get depleted) instead of in the crafting recipe would allow for it to act like a power generating engine and not require the sun or anything else.

It’s a bit more than that. Engines can only use battery power, not add it. Positive energy usage is converted to a minimum negative.

I’d have to make it an alternator, and alternators can only be attached to gasoline engines or foot cranks/wheel rims.

That’s a shame, well at least it actually works as it is now.

The minireactor doesn’t actually have any code attached to it. If you have any container that holds plutonium, the option to work the reactor magically appears.

The vortex generator won’t work at night, but will work during cloudy days; just at a slower rate. It’s set at 10x faster than a regular solar panel, so it shouldn’t matter too much.

Hmm. What would happen if you gave a water tank, for example, an epower rating?

Like the reactor has fuel_type plutonium and epower whatever high number, so something in the code must be going “Okay I should consume X units of fuel_type and add a value equal to epower to the batteries!” but what if it’s a fuel type that was never meant to be consumed this way? I wonder if X in this case would be undefined and what that would mean.

EDIT: Nothing, apparently. It’s actually going “I have plutonium on this vehicle and should consume X units of plutonium!” and if the fuel type is something else it doesn’t even notice. Never mind.

Could we bug someone about removing whatever line of code keeps engines from being able to add epower rather than consume it? It seems like an entirely pointless check anyway.

EDIT2: Jumping the gun and making the thread myself. :stuck_out_tongue:

Hopefully something good turns up from that thread, Thwap. Would be nice to see this working as intended. Though in all honesty I don’t see why generators couldn’t fit in with vanilla, would be cool slapping them on a cart instead of needing a big ol’ engine slapped on it with an alternator.

Got the latest, game having a fit when you scroll over shredders in the part installation menu, asking for “undefined-shredders”.

Hrrshmrrgl.

Fixed.

I know you said engines that give power is out of the question, but I have one last thing to try on my end to see if I can get the vortex generator to work with with a custom vortex stone “cell”. Just had the thought that if plasma engines generate power but don’t use alternators, then if one were to base it off of that it should work no?

Power generating engines will only work if it uses gasoline, diesel, or hydrogen as its fuel.

Yep, just got done testing it. It can run on it forever but doesn’t generate power, what a shame.

The ‘Scorpion Turret’ recipe seems to call for a mountable laser cannon as one of the ingredients. Presumably a copy/paste error.

The way some of the turrets are listed under ‘Weapons - ranged’ and some are listed under ‘Other - parts’ in the crafting menu is a little confusing. Perhaps move them all to ‘parts’?

Fixed and uploaded.

And everything’s been moved to “Other-parts”

Wow, fast.

This really is one of the best mods ever made for DDA. It’s amazing what you can do with JSONs.

Edit: Nevermind!

That’s odd, this mod doesn’t have anything to do with reclining seats.

Is there anything else missing? What errors did you get?