SOLVED Problem with Upgrade.ini

Juan93sl

Registered
Hi,

I'm having problems with the mod i'm editing. I'm using upgrade.ini to be able to select the Engine with different powers. I use this code:

UpgradeType="Engine"
{
UpgradeLevel="Engine 1"
{
Description="Motor nuevo"
Price=0

HDV=[ENGINE]
HDV=GeneralTorqueMult*=1.000
HDV=GeneralPowerMult*=1.000
HDV=LifetimeAvg=7200
}

UpgradeLevel="Engine 2"
{
Description="Motor con una carrera de uso, eso implica en él una perdida de potencia del 2%"
Price=0

HDV=[ENGINE]
HDV=GeneralTorqueMult*=0.98
HDV=GeneralPowerMult*=0.98
HDV=LifetimeAvg=7150
HDV=EngineSpeedHeat=0.002055
}

UpgradeLevel="Engine 3"
{
Description="Motor con dos carreras de uso, eso implica en él una perdida de potencia del 4%"
Price=0

HDV=[ENGINE]
HDV=GeneralTorqueMult*=0.96
HDV=GeneralPowerMult*=0.96
HDV=LifetimeAvg=7100
HDV=EngineSpeedHeat=0.002060

I used it in two other mods in which it works but in this it does not work. I can select the different types of engine but nothing happen. For example, when I select Engine 3 which have less power, in game have the same power as Engine 1. I tryed puttin extreme valors as 0.1 but nothing. The engine is FSR2017 which is in steam workshop.

Thanks for your helps :)
 
You'll need 2 brackets at the end.
1 to close the last upgrade
And the 2nd to close the whole upgrade
 
You'll need 2 brackets at the end.
1 to close the last upgrade
And the 2nd to close the whole upgrade
I agree to this and if that don't solves the problem, add a line with HDV= to each option, that it looks like this
HDV=
HDV=[ENGINE]
 
Ouch sorry, as i did not copy to this post all the file, i did not put 2 brackets at the end but in mi uprgrade.ini there are. I always finish with them and it did not work. I will try that bernd say.

Thank to all!
 
Back
Top