• You don't get fast in order to take part in club races, you take part in club races to get fast!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dear Guest. Follow RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and YouTube.

Backfire in racer

Discussion in 'Racer Physics and Technical' started by pradzio1, Aug 27, 2011.

  1. pradzio1

    pradzio1

    Messages:
    96
    Ratings:
    +92
    Hello, I'm looking how to make backfire in racer, but I have a problem, it's not working. I checked record in racer documentation, but I can't understand it. Can you explain that to me? I'm using 0.86 racer version.



    I want it to look like that.

    Regards pradzio1 :)
     
  2. QuadCoreMax

    QuadCoreMax

    Messages:
    765
    Ratings:
    +71
    Welcome pradzio !

    It's not difficult really, for the backfires you can edit the 'default' Racer backfire texture in \data\images, you'll see it. For the backfires to work with your car, open your car.ini file with Notepad++ (best for multiple files) & paste a similar code :

    Code:
    particles
    { 
        backfire
        {
            exhaust0
            {
                pos=0.342 0.2 -1.781
                normal=0 0 -1
            }
            exhaust1
            {
                pos=0.342 0.2 -1.781
                normal=0 0 -1
            }
            type=backfire
            min_rpm=6000
            max_rpm=7800
        }
    }
    
    This is a 2 way symetrical exhaust where exact positions were 'extracted' (just look your X/Y/Z values for the perfect backfires placement in your 3D app => nulls in 3DSMax, nullpoints in Maya). The normal is the direction where the fire spits, so if you have a Cobra exhaust, it would spit 'sideways', so the +/- X axis.

    If you want 4 exhausts, just put 2 others exhausts like that :


    Code:
    particles
    { 
        backfire
        {
            exhaust0
            {
                pos=0.342 0.2 -1.781
                normal=0 0 -1
            }
            exhaust1
            {
                pos=0.342 0.2 -1.781
                normal=0 0 -1
            }
            exhaust2
             {
                 pos=0.352 0.2 -1.781
                 normal=0 0 -1
             }
             exhaust3
             {
                 pos=0.352 0.2 -1.781
                 normal=0 0 -1
             }
            type=backfire
            min_rpm=6000
            max_rpm=7800
        }
    }
    
    Also, you can use ctrl+1 to ctrl+9 to quicker find the correct values. Check it out in depth. Don't forget to consult racer.nl docs or :

    http://racer.nl/reference/
    http://racer.nl/tutorial/

    Maybe you'll need to change version...
    Hope it helps !
     
  3. pradzio1

    pradzio1

    Messages:
    96
    Ratings:
    +92
    Ok, I'll try it today. :D I have one more question: is it possible to make 3 exhausts? (I want to add backfire to Ferrari 458 Italia)
     
  4. Ian Strom

    Ian Strom

    Messages:
    760
    Ratings:
    +264
  5. pradzio1

    pradzio1

    Messages:
    96
    Ratings:
    +92
    Now I know, why backfire is not working: in racer 086 there's no backfire texture. I also tried v0.88, but it don't have backfire texture too, newer versions are not working on my old computer (AMD Sempron 2400+, Ati radeon 9550, 1,5 GB RAM), could you send me this texture?
     
  6. boomer541

    boomer541

    Messages:
    1,347
    Ratings:
    +164
    It still might not work as backfire may not be implmented in the code of the version you are using.

    Try a newer version and run it in the non-cg mode which might work on your computer.
     
  7. pradzio1

    pradzio1

    Messages:
    96
    Ratings:
    +92
    So new versions in non-cg mode supports old shaders?
     
  8. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    Messages:
    1,417
    Ratings:
    +286
    yes...
     
  9. pradzio1

    pradzio1

    Messages:
    96
    Ratings:
    +92
    Yeah... Backfire is working!... But not on non-cg mode. On faster computer i tried on 0.8.32 cg-mode, car don't look good, but backfire is working :)

    [​IMG]

    Now i'll try to find racer version witch supports non-cg without special non-cg mode and backfire.
     
  10. Mr Whippy

    Mr Whippy

    Messages:
    2,989
    Ratings:
    +461
    Run CG.

    Non-cg isn't really supported any more, and will increasingly not be supported.

    Dave
     
  11. pradzio1

    pradzio1

    Messages:
    96
    Ratings:
    +92
    Yes, but I can't make cg shaders, I don't know how. In Poland the school year starts tomorrow, and I'll have less time for Racer.
     
  12. KS95

    KS95
    RACER Moderator

    Messages:
    2,416
    Ratings:
    +196