SOLVED Tyre compounds on DLC cars

Discussion in 'Component and Mod Packaging' started by PLorenti, Jun 29, 2021.

  1. PLorenti

    PLorenti Registered

    Joined:
    Jul 27, 2011
    Messages:
    27
    Likes Received:
    21
    Hello everyone, I wanted to know if from the car-upgrade.ini it is possible to configure that the front and rear compounds have to be the same, both in the setup page and in the pit menu in the car. It's for Studio GTEs.
    I tried some things that I saw in the HDV of the DEVMODE but they didn't work.
    Thanks for the help.
     
  2. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,958
    Likes Received:
    2,808
    @PLorenti I can not look into a HDV File currently (Vacation), but the Entry Compoundrestrictions, in the Pitmenu Section of the HDV should help.
    If i remember it right, the Setting 2 should make the front and rear Compounds match each other.
    And if you want to use it in the Upgrades.ini, you just have to use the correct Syntax (HDV=..), to get it working.
     
    svictor likes this.
  3. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    926
    Likes Received:
    6,282
    Example upgrade.ini :
    Code:
    UpgradeType="Tyre Restrictions"
    {
      UpgradeLevel="Same Compounds"
      {
       Description="Same front & rear compounds"
       HDV=[PITMENU]
       HDV=CompoundRestrictions=2
       HDV=
      }
    }
    You can find detailed explanation about CompoundRestrictions in skipbarber.hdv as well.
     
  4. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,454
    Likes Received:
    4,369
    will anything like this work with the DLC GTE's? It looks like that is what he's asking about. Can you alter those with upgrade inis?
     
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Yes.
     
    davehenrie likes this.
  6. PLorenti

    PLorenti Registered

    Joined:
    Jul 27, 2011
    Messages:
    27
    Likes Received:
    21
    Thanks guys, i will try it again.
    I test the code that @svictor put and coulnt make it work.
    Maybe i made a mistake or something wrong i will try it again.
    Thanks!
     
  7. PLorenti

    PLorenti Registered

    Joined:
    Jul 27, 2011
    Messages:
    27
    Likes Received:
    21
    Works perfect i was makin a mistake when i try.
    Thanks
    Solved!
     
    svictor likes this.

Share This Page