1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

How to add afterfires?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by mydoomfest56, Apr 1, 2018.

  1. mydoomfest56

    mydoomfest56
    Expand Collapse

    Joined:
    Nov 27, 2016
    Messages:
    330
    just a simple question, I’ve been trying to add afterfires to vehicle that don’t have afterfires, but I don’t know how to do it
     
  2. terasect

    terasect
    Expand Collapse

    Joined:
    Mar 29, 2018
    Messages:
    106
    You need to modify both the exhaust and engine.
    The exhaust and/or engine should have nodes that look like this:
    ["exh10",-0.06,2.35,0.3{"afterFireAudioCoef":0.55,"afterFireVisualCoef":0.4}],
    ["exh11",-0.127,2.35,0.3{"afterFireAudioCoef":0.55,"afterFireVisualCoef":0.4}],
    Probably the same nodes that are used for the exhaust smoke for which ever vehicle you are changing.
    The part that defines the engine characteristics needs to have these lines under the "mainEngine" section:
    "instantAfterFireCoef": 0.75,
    "sustainedAfterFireCoef": 0.75,
     
  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