So i am simulating a supercharged engine, it's much easier to use the values into a normally aspirated engine and stop there. What do i lose when i don't go through the hassle of coding superchargers?
Simulation. Also I guess players might not like to have NA engine when it is supposed to have supercharger.
Well, obviously one of the things is the sound, in supercharger.lua there is this: local function updateSounds(dt) It is commented out currently, but you can except there being supercharger whine sometime in a future. Then there is amount of torque at low throttle, with NA you have different adjustment window with throttle pedal. When you build engine for supercharger use, you will have bit less off boost power, so you need some amount of boost until you get same power as NA engine. With turbo that is much larger difference of course and lot depends how you have it set up, for example you can have a clutch on pulley shaft, so you can have more control of when to use supercharger. Also you can't have a boost in a boost gauge with NA engine. Probably there is even more differences. Supercharger is not very difficult to setup, so at least for me it would be slacking off if engine would claim to be supercharged while it really is not.
It's not difficult to set up, just makes a 5 minute mod 15 minutes I see what you mean about NA low throttle etc, also I think at low RPM the supercharger is used less. For example: 70% throttle at 1400RPM in N/A would deliver all the torque (100% torque @RPM) 70% throt. in Supercharged may deliver 70-80%torque @RPM. Using the NA with that allows for transmissions to work better, as instead of shifting down un-necessarily it improves throttle response at low revs. This allows you to nip around at lower RPM as your throttle is not as far open so the agression factor is not increased as much. So less engine sound and it makes the engine feel more brawny.
Remember that you can always tune aggression factor: "aggressionHoldOffThrottleDelay":2.5, "shiftAggression":1, "aggressionSmoothingUp":2 "aggressionSmoothingDown":0.2 "gearboxDecisionSmoothingUp":2 "gearboxDecisionSmoothingDown":2 Now If I would remember how it did go, some of those had to be increased to get faster response, but can't remember now if it was that smoothing or delay, or was there yet one more parameter, sorry you have to experiment a little, but it was possible to adjust that aggression element quite well, so that it would take longer or shorter time to adapt, It's bit of time since I did play with it, but you don't need to select engine because that aggression would do some things, you can make it do whatever you want, almost. Play with shiftAggression and aggressionHoldOffThrottleDelay as well as aggressionSmoothing, I think it was with those.
yeah im used to playing around with all that, but whilst yes it is possible to delay it it still happens. If i put my foot down it will just take longer to downshift. [long winded chat again] If i put down 40% throttle and the engine is shifting around 2k-3k RPMs and has a commanded throttle of 40-50% which at that RPM is 75-90% (torque delivered) If i put down 50% throttle and the engine shifts up around 3.5k-4K rpms and has a commanded throttle of 50-60% which at that RPM is 60-80% torque delivered. Depending on the torque curve, I could put my foot down a bit and get less performance, just the engine is shifting later. This almost never happens but can do under circumstances. Turbodiesels are very much like this, it delivers it's performance well, when below 2200RPM but when using the throttle i push it further, it will just rev more, sometimes with less torque coming from the engine, hence slower performance under some circumstances. really i need aggression curve controls, for example: 0% throttle aggression factor off so shift factor is 0 20% = 0 50%= 0 70%=0.2 80%=0.4 90%=0.6 100%=1.0 You see that this is not linear, so to get the transmission to wakeup you need to put your foot down a lot, with transmissions with 8 gears it can be hard to keep the throttle at the right amount. This would be nicer: 0%=0 20%=0 30%=0.2 50%=0.45 70%=0.8 90%=0.9 100%=1.0 and helpful if it were to be adjustable per transmission. One day i will upload a video making this more understandable