Adding exhaust backfire to outdated car mods

Discussion in 'Assetto Corsa' started by Nico, May 11, 2017.

  1. Nico

    Nico
    Premium

    Messages:
    163
    Ratings:
    +182
    I'm using a bunch of car mods in my game, and some of them weren't updated after recent patches. I would like to know if there is a way of adding back the exhaust flames to cars that use the old system, prior to 1.5 version of the game. I've found out that cars with broken sound can somewhat be fixed by applying them sounds of Kunos cars with the Cars Manager, and I wanted to know if something similar is possible with the exhaust backfire.

    If this is not the right section to ask this, I apologize.
     
  2. Teguh Waluyo

    Teguh Waluyo

    Messages:
    70
    Ratings:
    +30
    Yes its possible. Just use flame texture from different car and reconfig flame.ini i think. Been there done that.
     
  3. aphidgod

    aphidgod

    Messages:
    1,200
    Ratings:
    +1,369
    Leave flames.ini alone; take a flame_preset.ini from a current car and add it to your data folder. Adjust values in it as necessary.

    You'll also need to add the new textures, which are in a subfolder called textures inside the car folder. Take them from whichever car you took the ini from.

    (Been there, done that, know what I'm doing.)
     
  4. Nico

    Nico
    Premium

    Messages:
    163
    Ratings:
    +182
    How can I get a flame_presets file from a current car? Kunos' official releases have their INI files encrypted -I think so- and most recent car mods also have those files hidden as well.
     
  5. aphidgod

    aphidgod

    Messages:
    1,200
    Ratings:
    +1,369
    Pretty sure our Jaguar XJ13 has those files exposed. (Available here at RD.)
     
  6. Nico

    Nico
    Premium

    Messages:
    163
    Ratings:
    +182
    I don't know, I'm either doing something wrong or the exhaust dummies are wrongly placed on the car mod I'm using, because I still see no flames. I have the Jag, cars like that are a must have for me.
     
  7. aphidgod

    aphidgod

    Messages:
    1,200
    Ratings:
    +1,369
    Doublecheck your flames.ini and make sure it's set up correctly? There's not much magic in the system - flames sets the location and direction of the flames as it did in the old style, flame_presets sets up the "animation" for the new style.
     
  8. Nico

    Nico
    Premium

    Messages:
    163
    Ratings:
    +182
    Problem is, I don't really know how to set up the files correctly.

    This is the content of both files that came with the car:

    flame_presets.ini
    [HEADER]

    SIZE_MULT=1



    [PRESET_START_0]

    TRIGGER=0

    OFFSET=0.0,0.0,0.02

    SIZE=0.05

    TYPE=0

    RGB=255,180,15,0.2



    [PRESET_START_1]

    TRIGGER=1

    OFFSET=0.0,0.0,0.1

    SIZE=0.1

    TYPE=1

    RGB=255,120,20,0.07



    [PRESET_START_2]

    TRIGGER=2

    OFFSET=0.0,0.0,0.08

    SIZE=0.07

    TYPE=0

    RGB=255,120,20,0.08



    [PRESET_END_0]

    TRIGGER=4

    OFFSET=0.0,0.0,0.02

    SIZE=0.06

    TYPE=1

    RGB=255,190,0,0.1



    [PRESET_END_1]

    TRIGGER=2

    OFFSET=0.0,0.0,0.06

    SIZE=0.04

    TYPE=1

    RGB=255,190,0,0.07



    [PRESET_END_2]

    TRIGGER=0

    OFFSET=0.0,0.0,0.1

    SIZE=0.04

    TYPE=2

    RGB=255,190,0,0.05



    [PRESET_LOOP_0]

    TRIGGER=0

    OFFSET=0.0,-0.01,0.18

    SIZE=0.13

    TYPE=1

    RGB=128,50,0,0.1



    [PRESET_LOOP_1]

    TRIGGER=0

    OFFSET=0.0,-0.04,0.26

    SIZE=0.13

    TYPE=1

    RGB=128,50,0,0.06



    [PRESET_LOOP_2]

    TRIGGER=0

    OFFSET=0.0,-0.06,0.35

    SIZE=0.15

    TYPE=2

    RGB=128,50,0,0.05



    [PRESET_FLASH_0]

    TRIGGER=2

    OFFSET=0.0,0.0,0.00

    SIZE=0.04

    TYPE=0

    RGB=255,90,0,0.01



    [PRESET_FLASH_1]

    TRIGGER=1

    OFFSET=0.0,0.0,0.03

    SIZE=0.04

    TYPE=0

    RGB=255,90,0,0.006



    [PRESET_FLASH_2]

    TRIGGER=0

    OFFSET=0.0,0.0,0.06

    SIZE=0.06

    TYPE=1

    RGB=255,90,10,0.01

    flames.ini
    [HEADER]

    INTENSITY=30.0

    EDIT_MODE=0

    EDIT_BIG=1

    EDIT_STATE=4

    BURN_FUEL_MULT=5

    FLASH_THRESHOLD=7



    [FLAME_0]

    POSITION=0.27,0.206,-2.0

    DIRECTION=0,0,-1

    VSIZE_START=0.05

    VSIZE_END=0.025

    LSIZE=0.2

    SIZE_MULT=0.9

    IS_LEFT=1

    GROUP=0



    [FLAME_1]

    POSITION=-0.27,0.206,-2.0

    DIRECTION=0,0,-1

    VSIZE_START=0.05

    VSIZE_END=0.025

    SIZE_MULT=0.9

    LSIZE=0.2

    IS_LEFT=0

    GROUP=0



    [FLAME_2]

    POSITION=0.31,0.14,-2.1

    DIRECTION=0,0,-1

    VSIZE_START=0.05

    VSIZE_END=0.025

    LSIZE=0.2

    SIZE_MULT=0.9

    IS_LEFT=0
    GROUP=1



    [FLAME_3]

    POSITION=-0.31,0.14,-2.1

    DIRECTION=0,0,-1

    VSIZE_START=0.05

    VSIZE_END=0.025

    SIZE_MULT=0.9

    LSIZE=0.2

    IS_LEFT=1

    GROUP=1

    I can't really tell if there's a wrong value in there.

    EDIT: Found the reason of the problem, oddly the sound.ini file had the backfire adjusted to appear only at a ridiculously high amount of RPM, way above the engine limit. It's sorted out :)
     
    Last edited: May 12, 2017
  9. Brownninja97

    Brownninja97

    Messages:
    1,303
    Ratings:
    +1,336
    You could save a lot of time/hassle and use the auto update tool in content manager.
     
  10. Nico

    Nico
    Premium

    Messages:
    163
    Ratings:
    +182
    I just downloaded that, very useful for placing exhaust flames on cars that don't have them.
     
  11. Cosacc

    Cosacc

    Messages:
    8
    Ratings:
    +0
    do you know the meaning of the presets and flame.ini?
    I would like to put the real flame textures on my mod, but the result is horrible..
     
  12. Brownninja97

    Brownninja97

    Messages:
    1,303
    Ratings:
    +1,336
    Really testing my memory since ive not done this in a year but if I remember correctly flames.ini is for size and placement of the flames, cant remember what the preset was. I'm pretty sure I just copied the files from a kunos car. Make sure to copy the flame textures as well.