Pandamasque
Hi everyone.
I've been searching for some time but still can't find any tutorials on rF upgrade files. Any ideas/links are welcome.
What I'm actually interested at the moment is a way to change car class via upgrades. I tried copying the solution from another mod but it doesn't work if you have more than 2 upgrade classes to select from. Am I doing something wrong?
With the following in the upgrade.ini any class higher than the default (GT-E) is displayed in the race as the last one in the list (GT-E +80TC). Apart from that it seems that the attributes work properly though.
The goal is to make multiple weights and have the selection displayed, so that the judges on the server would see the amount of success ballast used.
Maybe there is some other way to display the upgrades used on the server?
I've been searching for some time but still can't find any tutorials on rF upgrade files. Any ideas/links are welcome.
What I'm actually interested at the moment is a way to change car class via upgrades. I tried copying the solution from another mod but it doesn't work if you have more than 2 upgrade classes to select from. Am I doing something wrong?
With the following in the upgrade.ini any class higher than the default (GT-E) is displayed in the race as the last one in the list (GT-E +80TC). Apart from that it seems that the attributes work properly though.
The goal is to make multiple weights and have the selection displayed, so that the judges on the server would see the amount of success ballast used.
Maybe there is some other way to display the upgrades used on the server?
Code:
UpgradeClass="GT-E"
{
AIList
{
Traction Control and Ballast=0
}
}
UpgradeClass="GT-E TC"
{
AIList
{
Traction Control and Ballast=1
}
}
UpgradeClass="GT-E +20"
{
AIList
{
Traction Control and Ballast=2
}
}
UpgradeClass="GT-E +20TC"
{
AIList
{
Traction Control and Ballast=3
}
}
UpgradeClass="GT-E +40"
{
AIList
{
Traction Control and Ballast=4
}
}
UpgradeClass="GT-E +40TC"
{
AIList
{
Traction Control and Ballast=5
}
}
UpgradeClass="GT-E +60"
{
AIList
{
Traction Control and Ballast=6
}
}
UpgradeClass="GT-E +60TC"
{
AIList
{
Traction Control and Ballast=7
}
}
UpgradeClass="GT-E +80"
{
AIList
{
Traction Control and Ballast=8
}
}
UpgradeClass="GT-E +80TC"
{
AIList
{
Traction Control and Ballast=9
}
}
UpgradeType="Traction Control and Ballast"
{
UpgradeLevel="No TC"
{
Description="No Traction Control."
HDV=[GENERAL]
HDV=Mass=1240.0
HDV=
HDV=[CONTROLS]
HDV=TractionControlGrip=(0.0, 0.00)
HDV=TractionControlLevel=(0.00, 0.00)
}
UpgradeLevel="Traction Control System +30kg"
{
Description="Equipped with traction control the car will carry extra 30kg of ballast."
HDV=[GENERAL]
HDV=Mass=1270.0
}
UpgradeLevel="No TC +20 kg SB"
{
Description="+20kg success ballast. No Traction Control."
HDV=[GENERAL]
HDV=Mass=1260.0
HDV=
HDV=[CONTROLS]
HDV=TractionControlGrip=(0.0, 0.00)
HDV=TractionControlLevel=(0.00, 0.00)
}
UpgradeLevel="+30 kg TC +20 kg SB"
{
Description="+20kg success ballast. +30kg TC ballast."
HDV=[GENERAL]
HDV=Mass=1290.0
}
UpgradeLevel="No TC +40 kg SB"
{
Description="+40kg success ballast. No Traction Control."
HDV=[GENERAL]
HDV=Mass=1280.0
HDV=
HDV=[CONTROLS]
HDV=TractionControlGrip=(0.0, 0.00)
HDV=TractionControlLevel=(0.00, 0.00)
}
UpgradeLevel="+30 kg TC +40 kg SB"
{
Description="+40kg success ballast. +30kg TC ballast."
HDV=[GENERAL]
HDV=Mass=1310.0
}
UpgradeLevel="No TC +60 kg SB"
{
Description="+60kg success ballast. No Traction Control."
HDV=[GENERAL]
HDV=Mass=1300.0
HDV=
HDV=[CONTROLS]
HDV=TractionControlGrip=(0.0, 0.00)
HDV=TractionControlLevel=(0.00, 0.00)
}
UpgradeLevel="+30 kg TC +60 kg SB"
{
Description="+60kg success ballast. +30kg TC ballast."
HDV=[GENERAL]
HDV=Mass=1330.0
}
UpgradeLevel="No TC +80 kg SB"
{
Description="+60kg success ballast. No Traction Control."
HDV=[GENERAL]
HDV=Mass=1320.0
HDV=
HDV=[CONTROLS]
HDV=TractionControlGrip=(0.0, 0.00)
HDV=TractionControlLevel=(0.00, 0.00)
}
UpgradeLevel="+30 kg TC +80 kg SB"
{
Description="+80kg success ballast. +30kg TC ballast."
HDV=[GENERAL]
HDV=Mass=1350.0
}
}
UpgradeType="SCEC Class"
{
UpgradeLevel="GT-E"
{
Description="SCEC pitstop rules"
HDV=[PITMENU]
HDV=Preparation=(120.0,25.0,0.5,4.5)
HDV=FuelTime=(2.85,0.5,1.0,0.5,0.0)
HDV=TireTime=(12.0,28.0,0.25,0.0)
}
}