Separate names with a comma.
Pretty sure this is wrong, some parts of the powertrain, wheels, hydros/ffb, controllers and beamstate run at the physics step - hence you have a...
I've hacked together a basic mod to get someone started. I don't guarantee this is 'the' way of achieving this, or even a 'good' way, but it is...
It's fairly easy to mess with the engine friction values in realtime in the vehicle lua: powertrain.getDevice("mainEngine").dynamicFriction and...
For anyone curious, running powertrain.getDevice("driveshaft").isBroken=false...
That's only the secondary purpose, the viscotronic lua mainly controls a viscous coupling to the rear axle, locking it up when the front wheels...
Your wheelnames were wrong in the diff, should be: ["RL","RR", "lsd", "closed", 500, 1]
That's exactly how it works currently, the default value of throttleCoefWhileShifting is 0.5, so if the throttle is 1.0, while shifting it will...
It can be disabled by setting throttleCoefWhileShifting to 1 in the transmission's vehicleController.
I've done it within a vehicle lua extension before, not sure if there would be issues if it was from a scenario for example. Performance seemed...
You can override the user's input by overwriting electrics.values.steering_input each gfx frame.
Problem seems to be in getGearName, line 65 should probably be elseif instead of if. No idea if this will make the rest of your code work, but...
Try main_gain instead of engineVolume. Will have to be a big negative number to completely mute the sounds.
powertrain.getDevice("mainEngine").engineSoundID seems to sequentially number the engines in a vehicle, so for most cars its 0. If the engine...
The OutGauge/OutSim implementations in lua/vehicle/extensions should be a good starting place for sending out vehicle data over UDP.
Check the Covet engine jbeam: "headGasketBlownOverride": true The other overrides are: pistonRingsDamagedOverride...
Torque converters can only be connected to an engine: if not device.parent.deviceCategories.engine then log("E", "torqueConverter.validate",...
You could have a really floppy hydro, which would tend to 'persuade' instead of brute force a displacement. ;) For applying torques, you might...
Seems a bit weird to try and extract the data from the guistream when you can just ask the engine to give you the data whenever you need using...
I've attached a bare minimum configuration to get power to all 4 wheels, you should be able to drop the file into your folder and select the new...
So I've had a bit of a play with the mod, and thought it looked a little weird that the 100m roller has a nice smooth animation and all the others...