Inter‐pack Compatibility ‐ Engines - boot2big/immersive_vehicles_vanity GitHub Wiki
To override the Engine Bench's auto-calculated performance values, include the following constants: engine_obdiii_present with a value of 1.0 along with engine_obdiii_horsepower and engine_obdiii_torque
The following section pertains to the VM package used for enhanced immersion, and as such will not function without them. See the templates directory within the repo
Automatic power and fuel consumption parameters
| Variable | Value | Note |
|---|---|---|
| engine_obdiii_present | 1.0 | Should always be 1.0 (true) to allow for internal modifiers and external lookups to function properly |
| engine_obdiii_displacement | Any | The displacement of this motor, in metric liters. Affects how much fuel is consumed by this motor per tick |
| builtatlastough_fuel_efficiency | 0.0 | Multiplier for how much fuel this motor will consume. -1.0 will consume no fuel while 1.0 consumes twice as much |
| builtatlastough_horsepower | Any | How much peak horsepower this motor produces |
| builtatlastough_torque | Any | How much peak torque this motor produces |
| builtatlastough_power_efficiency | 0.0 | Multiplier for Power-FC calculations, same formula as fuel_efficiency. Generally a good idea to leave this set to zero |
| engine_obdiii_disablepowercalcs | 0.0/1.0 | Toggle for Power-FC calculations, disables RPM formula and forces engine to always be at full power. Generally a good idea to leave this set to zero |
| builtatlastough_backfire_type | -1.0/0.0/1.0/2.0 | Setting this to 0 causes backfires when RPM is at its revlimit while upgraded. 1.0 always causes revlimit backfires. 2.0 causes backfires when revving the motor then letting off. -1.0 disables backfiring |
| engine_obdiii_neutral_revlimit_type | 0.0/1.0/2.0 | Setting this to 1 limits the engine to 10/16ths of its maximum safe RPM when in neutral. 1.0 limits it to neutral_revlimit_rpm. 0.0 disables neutral revlimiting |
| engine_obdiii_neutral_revlimit_rpm | any | The RPM this engine should be limited to when neutral_revlimit_type is set to 2.0, and when we are in neutral |