• Racing is not a matter of life and death. It's much more important than that!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you have any questions, please don't hesitate to ask. There's no such thing as a stupid question.

Need Help With upgrades.ini File

Discussion in 'rFactor' started by Angelq117, Jul 18, 2013.

  1. Angelq117

    Angelq117

    Messages:
    175
    Ratings:
    +84
    Guys, I wonder if anyone can help me. I am using the rfactor f1 2013 mod, and I have edited my “upgrades.ini” file by adding some wings.
    But what I want to figure out is what exactly should I do to get the wings to change visually on the car in showroom when going through different selections. I have added some different wings from other cars into the mas file of the vehicle I want the upgrades to be available to. Let’s say I want to upgrade the Red Bull front wing to use the Lotus front wing for example… any way to do it?
    Thanks in advance.
     
  2. SmashingPants67

    SmashingPants67

    Messages:
    125
    Ratings:
    +21
    Example from ZR:

    UpgradeType="Rear Wing"
    {
    Instance="RWING"

    UpgradeLevel="Basic"
    {
    GEN=<RWINGEXISTS>="//"
    GEN=<RWING>=
    }

    UpgradeLevel="Type M Rear Wing"
    {
    GEN=<RWINGEXISTS>=""
    Description="One-piece wings provides slightly more stability at high speed"
    GEN=<RWING>=ZR_rwing_lvl2.gmt
    Price=100

    HDV=[REARWING]
    HDV=RWRange=(0.0, 1.0, 1) // only one setting allowed on this wing
    HDV=RWSetting=0
    HDV=RWDragParams=( 0.020, 0.0, 0.0) // 1st & 2nd order not needed unless there
    HDV=RWLiftParams=(-0.064, 0.0, 0.0) // is more than one setting
    HDV=RWLiftSideways=(0.0) // downforce actually increases slightly at a
    HDV=RWLiftPeakYaw=(4.0, 1.02) // small yaw angle for this wing configuration
    HDV=RWLeft=(-0.03, 0.0, 0.0)
    HDV=RWRight=(0.03, 0.0, 0.0)
    HDV=RWUp=(0.0, -0.05, 0.0)
    HDV=RWDown=(0.0, 0.02, 0.0)
    HDV=RWAft=(0.0, 0.03, -0.02)
    HDV=RWFore=(0.0, 0.0, 0.0) // recomputed from other settings
    HDV=RWRot=(0.02, 0.01, 0.03)
    HDV=RWCenter=(0.00, 0.75, 0.50) // center of rear wing forces (offset from center of rear axle at ref plane)
    }

    UpgradeLevel="Type Z Rear Wing"
    {
    GEN=<RWINGEXISTS>=""
    Description="Configurable carbon fibre wing stabilizes the car at high speed"
    GEN=<RWING>=ZR_rwing_lvl3.gmt
    Price=500

    HDV=[REARWING]
    HDV=RWRange=(0.0, 1.0, 8) // several settings
    HDV=RWSetting=7
    HDV=RWDragParams=( 0.015, 0.013, 0.0000) // 1st & 2nd order with setting
    HDV=RWLiftParams=(-0.064, -0.039, 0.0007) // downforce is not quite linear with setting
    HDV=RWLiftSideways=(0.0) // downforce actually increases slightly at a
    HDV=RWLiftPeakYaw=(4.0, 1.02) // small yaw angle for this wing configuration
    HDV=RWLeft=(-0.03, 0.0, 0.0)
    HDV=RWRight=(0.03, 0.0, 0.0)
    HDV=RWUp=(0.0, -0.05, 0.0)
    HDV=RWDown=(0.0, 0.02, 0.0)
    HDV=RWAft=(0.0, 0.05, -0.03)
    HDV=RWFore=(0.0, 0.0, 0.0) // recomputed from other settings
    HDV=RWRot=(0.02, 0.01, 0.03)
    HDV=RWCenter=(0.00, 0.75, 0.50) // center of rear wing forces (offset from center of rear axle at ref plane)
    }
    }