Hello at all, For my Mods, I need to know if this practice is feasible or poorly formulated because for tires it works. but not for HDV Driveline and Engine.ini? I have to make a mistake in the way of calling the parameter in upgrade and trackconfigbase. Can you help me or give me an example Example for the upgrade.ini: // Cat-2013 UpgradeType = "Helmet View" { Instance = "VISOR" UpgradeLevel = "Clear" { Description = "Clear Helmet View" GEN = <VISORMOD> = no_visor.gmt } } UpgradeLevel = "Trackconfig" { Description = "Trackconfigsbase" } UpgradeType = "Tires" { // TCBT_0 UpgradeLevel = "Default" { Description = "All compounds available." Available for unknown tracks only. " CPIT = TireCompoundMap = (0,1,2,3,4,5) HDV = [GENERAL] HDV = = TireBrand ERF12013_TIRES-Cat HDV = [GENERAL] // Default Car } // TCBT_1 UpgradeLevel = "Monza Setup" { Description = "Hard & Medium compounds & Monza Setup car." // = CPIT TireCompoundMap = (2,3,4,5) CPIT = SpinnerCompound = 2 HDV = [GENERAL] HDV = = TireBrand ERF12013_TIRES-Cat_Monza HDV = [Engine] HDV = Normal = f1-13engine-Renault01.ini HDV = [DRIVELINE] HDV ClutchTorque = = 1000.0 HDV BaulkTorque = = 700.0 HDV Gear1Setting = = 5 HDV Gear2Setting = = 23 HDV Gear3Setting = = 38 HDV Gear4Setting = = 48 HDV Gear5Setting = = 58 HDV Gear6Setting = = 66 HDV Gear6Setting = = 73 } // TCBT_2 UpgradeLevel = "Interlagos Setup" { Description = "Hard & Soft compounds & Monza Setup car." CPIT = TireCompoundMap = (1,3,4,5) HDV = [GENERAL] HDV = = TireBrand ERF12013_TIRES-Cat_Interlagos HDV = [Engine] HDV = Normal = f1-13engine-Renault03..ini HDV = [DRIVELINE] HDV ClutchTorque = = 990.0 HDV BaulkTorque = = 690.0 HDV Gear1Setting = = 6 HDV Gear2Setting = = 22 HDV Gear3Setting = = 35 HDV Gear4Setting = = 47 HDV Gear5Setting = = 55 HDV Gear6Setting = = 60 HDV Gear6Setting = = 69 } Etc .............. -------------------------------------------------- -------------- and the example to call the settings in the TRACKCONFIGSBASE.ini: // Default "*": Track Conditions = 0 "F1 Monza 2013": Tires = 1 Engine = 1 Driveline = 1 "F1 Interlagos 2013": Tires = 2 Engine = 2 Driveline = 2 etc. -------------
You need to be very precise with your formatting. Open the skipbarber_Upgrades.ini in your ModDev folders for good clear examples, and copy that. Specifically: Probably avoid spaces around = signs. So CPIT=TireCompoundMap=(0,1,2,3,4,5) (no spaces) It may work with spaces, but if the example doesn't have any, you avoid any future problems by doing the same. When changing to different sections you need a blank = line in between: Example: Code: HDV=[CONTROLS] HDV=RearBrakeSetting=24 HDV= HDV=[FRONTLEFT] HDV=PressureSetting=16 HDV= Every single line has that first = in it. So every time you change anything in the HDV, every line has to start with HDV= . You're skipping those in your example, that won't work. There's no reason to ever have = = in a line. For each parameter you're either setting a new value, or modifying the existing value. You do that like this: Code: HDV=LifetimeEngineRPM=(5000,250) // set new values HDV=LifetimeEngineRPM+=(100,0) // add these values to the existing ones HDV=LifetimeEngineRPM-=(100,20) // subtract HDV=LifetimeEngineRPM*=(1.2,1) // multiply existing values HDV=LifetimeEngineRPM/=(2,1) // divide
Thank you Larrza for these very good tips. Since the post I have advanced and indeed, I have several errors! the == is a copy / paste error for the example. But I see that we can put + or - to change the values, cool I discover. For the spaces, indeed, I had problems because the changes were not taken. So I separated everything and it seems to work (see example). I will now try with your example. UpgradeType = "Tires" { // TCBT_0 UpgradeLevel = "Interlagos Configuration" { Description = "Hard and flexible components and car Monza Setup." CPIT = TireCompoundMap = (1,3,4,5) HDV = [GENERAL] HDV = TireBrand ERF12013_TIRES-Cat_Interlagos } // TCBT_1 etc ........... } UpgradeType = "Engine" { // TCBT_0 { HDV = [engine] HDV = Normal = f1-13engine-Renault03..ini } // TCBT_1 { etc. ......................
for data in the same section, you must skip line (A): HDV=[FRONTLEFT] HDV=PressureSetting=16 HDV=BrakeHeating=0.0280 Or continue as in your example (B): HDV=[FRONTLEFT] HDV=PressureSetting=16 HDV= HDV=BrakeHeating=0.0280
I would recommend to always use the empty HDV= entry for each HDV upgrade section, to avoid problems. Especially for engine.ini upgrades, it don't works without that entry.