How to limit power in certain gear?

So like the title says I'm interested in how to, if even possible to limit power in certain gears.
A lot of cars do that including my S63 and even the 488 does, which is in AC.
I don't really care about setting up precise torque curve for every gear (like in power.lut), but more like, limiting power / at least turbo boost in certain gears to my own selected percentage.
I was thinking it could be within the ctrl_single_lock.ini combined with the lut files (like gear_start.lut) or maybe ctrl_turbo.ini. Unfortunately I can't find any info about these files on the net.

Solution:
Add a file called ctrl_turbo0.ini in your data folder. If you have multiple turbos just copy this file and change it's name to ctrl_turboX.ini where X is the turbo you want to control (starts from 0).

The file itself should look like this:
[CONTROLLER_0]
INPUT=GEAR ; OVERSTEER_FACTOR REAR_SPEED_RATIO SLIPANGLE_FRONT_AVERAGE SLIPANGLE_FRONT_MAX SLIPANGLE_REAR_AVERAGE SLIPANGLE_REAR_MAX RPMS
COMBINATOR=ADD
LUT=(|1=0.7|2=0.71|3=0.72|4=0.73|5=0.74|6=0.75|7=0.8|)
FILTER=0.99
UP_LIMIT=10000
DOWN_LIMIT=0.0

In the "LUT=" part you can define how much boost your car can have in each gear.
Make sure to use this exact format.
In my example I use a car with 7 gears where the maximum output of the given turbo is 0.8.
(so 1st gear has 0.7 turbo pressure, 2nd gear 0.71 etc.)
 
Last edited:

aphidgod

Premium
I'm a continent away from my AC files right now, but I remember doing that using "boost by gear" via turbo controllers. I'm sure I have example code back home, but someone else can probably help you out far quicker than I can.

You might be able to dig it out of my WRX files if you open up the .acd... the 07 cars don't have boost by gear in the ECU, but peak boost changes per gear through mechanical means and I had enough data to reproduce that in game. :)
 
This? Ctrl_turbo0.ini
 

Attachments

  • bandicam 2021-11-21 09-16-02-634.jpg
    bandicam 2021-11-21 09-16-02-634.jpg
    130.6 KB · Views: 66
Last edited:
Thank you, I'll try that.

EDIT:
Yupp that's exactly it.
I'll modify the first post for the solution.

Is there a way to do this for NA cars?
 
Last edited:
You can definately change it, but if the car doesn't come with a turbo, you won't be able to restrict it.
ctrl_single_lock.ini only changes the differential lock?
 

RaceDepartment Store

  • Featured
Real-Time Data Displayed in Panoramic HD Buy now from MOZA Racing ($299,00) Large Full Color HD Digital Dash At 5-inches with 16.7 million colors, and a screen resolution of 800x480. Drivers have a stunning digital dash that can display car status, lap times, and more. Aluminum Alloy Frame...
  • Featured
With 16Nm of torque on tap the R16 can lay down an ultra-wide torque range that accurately reproduces the dynamic steering characteristics of top racing cars from F1 to IndyCar. Feel the road through the steering wheel. Buy now from MOZA Racing ($999,00) Beauty is Power Inspired by supercars...
  • Featured
The R9's 9N·m of torque can simulate a full range of steering forces and car handling characteristics. Buy now from Moza Racing ($439,00) Minimum Weight & Maximum Torque Maximum torque from a compact body. Aviation Grade Aluminium Alloy Housing Unmatched quality and durability. The MOZA R9's...
  • Featured
With 21Nm of torque on tap the R21 can lay down an ultra-wide torque range that accurately reproduces the dynamic steering characteristics of top racing cars from F1 to IndyCar. Feel the road through the steering wheel. Buy now from MOZA Racing ($1199,00) Six key technologies, crafted by...
  • Featured
The colors of black and gold were chosen to bring out the competitive spirit of the driver. The CRP pedal’s design incorporates the essence of hyper car styling. Buy now from MOZA Racing ($499,00) Aluminum Alloy Pedal Assembly Almost every part of the CRP is made of CNC aluminum alloy...
  • Featured
RaceDepartment
Views
1k
Reaction score
1
With its rim and base plate made from aviation-grade aluminum, the MOZA CS Steering Wheel offers exceptional quality and features a 13-inch / 330mm racing rim that provides a realistic racing experience. Buy now from Moza Racing ($279,00) Armed with a heavy-duty quick release to allow...
Top