Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

Engine RPM not go down when engine off

Naxgeneral opened this issue ยท 10 comments

commented
Minecraft.1.12.2.2021-09-11.12-18-58.mp4
commented

Something wrong must be happening with the LegacyCompats? There should be an extra variable that defines how quickly the engine should do this, and it seems that somewhere here it's being set to 0. Try adding this to your engine.
"engineWinddownRate": 10,
Alternatively, you can add to this number to make it go down quicker, or remove from it to make it go down slower.

commented

oh god i never noticed those value exist until you remind me so i check the wiki again

commented

Wait a second... @boot2big can you double-check if that value is actually set to 10? Nax has a thing where he'll dump his JSON files into the export location and import them rather than work on the exported JSON. So I suspect this issue is due to him copying over his older JSONs and then importing them. And since those JSONs don't have the winddown, and not having something defaults to 0... Well, that would make it 0.

commented

@Naxgeneral same comment to you. Does this happen because you're copying over a JSON that's missing that parameter?

commented

Well, that would make it 0.

I do know that the code is there? It should be doing something. It very well could be the importing of older files though
image

commented

Yeah, I'm pretty sure the issue is the import of the older JSON. But will wait to hear on Nax for this one before I mark as invalid.

commented

noticed this issue with other things too, but not so much that the engines wouldnt turn off at all, moreso that they would not wind down after being shut off, the sound would just cut out suddenly on the seagull variants if i turned off the engine. particularly when flying and the engine gets turned off, itll hold for a bit longer than it should then cut the sound and slow the rpm

commented

You'll need to add "engineWinddownRate": 10, to affected engines, tweak if you feel like it (lower is slower, higher is faster)

commented

Again, I'm thinking that this is due to people who refuse to edit the exporter JSONs and instead edit their own copies and hot-load them into the game. Will either wait on Nax for this for a week, or close it after then, whichever comes first.

commented

So, I'm closing this as I haven't heard anything else, and I'm 99% sure this is due to importing a JSON with no windown rate.