Adding exhaust smoke for damaged piston rings

Discussion in 'Ideas and Suggestions' started by Janusz_Alfa, Mar 16, 2022.

  1. Janusz_Alfa

    Janusz_Alfa
    Expand Collapse

    Joined:
    Mar 14, 2022
    Messages:
    15
    So one of the loading screen tips says that blueish exhaust smoke is caused by damaged piston rings. I damaged my piston rings by console command and nothing. As it turned out there is no code for that in combustionEngineThermals.lua file. There are codes for smoke/steam emiting for variety of issues, but not for damaged piston rings.

    I managed to add it on my own (its just under the blown gasket piece). Smoke is black, but its better than nothing. And it kinda fits to the "rust bucket" cars.

    Code:
    if M.pistonRingsDamaged and particleTicks.exhaustSteamParticleTick > 1 and not (parentEngine.isDisabled or parentEngine.isStalled) then
          obj:addParticleByNodesRelative(n.finish, n.start, absEngineRPM * -0.0004 - 3, heavySmokeParticleType, 0, 1)
    end
    
    Can we have such thing in official game?
    smoke.jpg
     
    • Agree Agree x 2
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice