Problems with upgrades

Discussion in 'Car Modding' started by Raúl Cor, Oct 6, 2014.

  1. Raúl Cor

    Raúl Cor Registered

    Joined:
    Oct 15, 2013
    Messages:
    126
    Likes Received:
    0
    Hi, i have created a multiple upgrades, rear wings, exhauts, steering wheels. In the dev mode all works fine. I can see the car parts in the spinner when i select it.

    In the game. In the spinner i can not see the car parts when i select it. In the game works fine , but the spinner dont works good

    What im doing bad?

    thanks
     
  2. PetraGTC

    PetraGTC Registered

    Joined:
    Mar 13, 2013
    Messages:
    132
    Likes Received:
    1
    Kinda confused from what you wrote. If you want to see the visual upgrades in spinner, you have to set them right in the spinner.gen file. A little tricky, but it can work.
     
  3. Raúl Cor

    Raúl Cor Registered

    Joined:
    Oct 15, 2013
    Messages:
    126
    Likes Received:
    0

    this is my gen file:


    Code:
    <STARTUPGRADES>
    
    ///////////////////////////////////Rearwing//////////////////////////
    <RWINGEXISTS>  Instance=rwing
    <RWINGEXISTS>  {
    <RWINGEXISTS>    Moveable=True
    <RWINGEXISTS>    MeshFile=<RWING> CollTarget=False HATTarget=False ShadowCaster=(True, Solid, 64, 64) LODIn=(0.0) LODOut=(200.0) ShadowReceiver=True
    <RWINGEXISTS>  }
    
    <STOPUPGRADES>





    and this is my spinner:

    Code:
    <STARTUPGRADES>
    
    <RWINGEXISTS>  Instance=rwing<UPNUMBER>
    <RWINGEXISTS>  {
    <RWINGEXISTS>    Moveable=True
    <RWINGEXISTS>    MeshFile=<RWING> CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(100.0) ShadowCaster=(Dynamic, Solid, 64, 64) Reflect=True
    <RWINGEXISTS>  }
    
    
    <STOPUPGRADES>



    and my upgrades:


    Code:
    UpgradeType="Rear Wing"
    {
      Instance="RWING"
    
      UpgradeLevel="Basic"
      {
        GEN=<RWINGEXISTS>="//"
        GEN=<RWING>=
      }
    
      UpgradeLevel="Sport Rear Wheel"
      {
        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)
      }
    
     
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,876
    With the entry GEN=<RWINGEXISTS>="//" all lines with the <RWINGEXISTS> tag at the beginning of the line will be commented out and ignored by the game.

    I would suggest to delete all <RWINGEXISTS> tags from both gen files and the entries:
    GEN=<RWINGEXISTS>="//"
    GEN=<RWINGEXISTS>=""
    from the upgrades file.

    I guess the basic level is the one with the single wing right?
    Then set the meshfile of this wing like you did it with the Sport Rear Wheel level.

    When i'm not totally wrong, that should work then.

    And one Bracket has to be added at the end of the posted section of the updates file.
     

Share This Page