⚙️Parts Config
Detailed explanations of configuration settings for vehicle parts and mechanics
Config.UseParts = true
Toggles the vehicle parts system. Keep in mind disabling them only removes effects and loops for it. We will soon be adding more code to remove unnecessary loops and if statements being sent over.
Engine Maintenance and Damage
Engine Operation and Degradation
Config.Parts.EngineDegradation1stPhaseRPM = 0.50
Config.Parts.EngineDegradation1stPhaseValue = 0.005
Config.Parts.EngineDegradation2ndPhaseRPM = 0.65
Config.PartsEngineDegradation2ndPhaseValue = 0.025
Config.Parts.EngineDegradation1stPhaseRPM = 0.80
Config.Parts.EngineDegradation1stPhaseValue = 0.050
This setting includes the RPM phases. We include 3 different phases. For each phase we the damage rate.
For instance the second phase is triggered when the RPM's are between .
The damage rate for the second phase is currently 0.025 per second.
Keep in mind RPM phases can be adjusted between .
Other Parts Degradation and Effects
Fuel Tank
Gearbox
Battery
Tyres
Brakes
Catalyst
Radiator
Crash System
Parts Crash Multipliers
Example
Config.Parts.RadiatorCrashChance = 30
Probability of the radiator taking damage in a SMALL crash. Big crashes will always cause damage to the part!
Config.Parts.RadiatorCrashMultiplier = { [1] = 100, [2] = 200 }
Damage multiplier for radiator in a SMALL crash. The value is a randomized float between [1] and [2].
Config.Parts.RadiatorBigCrashMultiplier = {[1] = 300, [2] = 500}
Damage multiplier for radiator in a BIG crash. The value is a randomized float between [1] and [2].
Last updated
Was this helpful?