Open vaqxai opened 1 year ago
It was disabled, if I remember correctly due to crashing issues, or it just not doing anything.
Is this a fix that can be made, or beyond the scope of this project / not of high enough priority due to low severity of this Bug (can be probably circumvented by modifying the vehicle script itself)?
I understand that this is not simply an API Bug but one which would require modifying engine code
Can you even get a different result using vehicle scripts? As far as I know, there are no real gears in Source's vehicle physics, it's all faked with sounds.
I tried printing out https://wiki.facepunch.com/gmod/Vehicle:GetOperatingParams and the gear param barely ever goes above 1 or 2.
It probably is just sounds. Bummer, thought it would actually affect engine behaviour. Off to writing a combustion engine simulator and a gearbox I go, then.
Details
When setting a gear count with engine.gearCount, on params retrieved with GetVehicleParams, and applying them with SetVehicleParams, the gear count does not change.
Steps to reproduce