Speed limiter

Hi, I was bored, so I thought that i can make a small update to my M5 F10. I decided to make speed limiter. I put this to my car.ini:

speedlimiter
{
; 250 km/h
velocity=68.88
; Time (ms) to keep throttle cut when going above the limiter velocity
time=10
}
}

And now it looks like this:

(...)
differential
{
count=1
diff0
{
type=0
ratio=3.91
inertia=0.16
friction=100
locking_coeff=25
output2=2
output3=3
}
}
clutch
{
max_torque=650
}
handbrakes
{
wheels=23
}
speedlimiter
{
; 250 km/h
velocity=68.88
; Time (ms) to keep throttle cut when going above the limiter velocity
time=10
}
}

(...)

But it's doesn't work. Maybe someone knows what i'm making wrong?
And big sorry for my bad English :D
 
As can be seen in default/car.ini, the speedlimiter code is part of the engine section, not a standalone tree.

Not sure why Ruud decided it makes sense to put it there, but that's the way it is.
 
So, i put speedlimiter code to the engine section:

engine
{
x=0
y=0
z=0
autoclutch=1
autoclutch_rpm=
braking_torque_curve=Wykresy/braking_torque.crv
curve_torque=Wykresy/torque.crv
cylinders=8
enable_stall=1
enable_stall=1
friction=0
idle_method=1
idle_throttle=0.05
idle_rpm=900
mass=220
max_rpm=8000
max_torque=0.79
max_warn_rpm=8000
min_warn_rpm=6700
size=0
start_rpm=1300
stall_rpm=450
starter=1
starter_torque=100
start_stalled=1 ;1
torque_reaction=0.35
speedlimiter
{
velocity=68.88
time=10
}

inertia
{
engine=0.42
}
jitter
{
amplitude=0.1
frequency_min=1
frequency_var=0.1
time_min=150
time_var=10
}

But it's still doesn't work, I don't know why :( 68.88 m/s is 247 km/h and in game the car is driven at a speed of 274 km/h..
 
hmm...try to put it under the jitter...all limiters i have working are placed there...not sure if it helps...

min_warn_rpm=6700
size=0
start_rpm=1300
stall_rpm=450
starter=1
starter_torque=100
start_stalled=1 ;1
torque_reaction=0.35

inertia
{
engine=0.42
}
jitter
{
amplitude=0.1
frequency_min=1
frequency_var=0.1
time_min=150
time_var=10
}
speedlimiter
{
velocity=68.88
time=10
}

}

...and don't forget the closing brackets(?) at the end of the engine section....

Alex
 
As Alexander mentioned, check for missing or obsolete brackets in your car.ini - I remember the vehicle produced a lot of qlog entries when I last looked at it. Make sure to clean that up before trying any kind of setup work.

Secondly, did you actually enable the speedlimiter ingame after adding the code snippet, by pressing the assigned button while driving? It's not enabled by default, because it's supposed to work like a pitlane speedlimiter, so only on demand.
 
Sure, but the speed limiter that is included in car.ini is actually a pitlane speed limiter, it isn't active until you press the key ingame. If you want a speed limiter like the RX-7 does, use a script, like the RX-7 does :)
 

Latest News

How long have you been simracing

  • < 1 year

    Votes: 299 15.3%
  • < 2 years

    Votes: 207 10.6%
  • < 3 years

    Votes: 200 10.3%
  • < 4 years

    Votes: 150 7.7%
  • < 5 years

    Votes: 265 13.6%
  • < 10 years

    Votes: 229 11.7%
  • < 15 years

    Votes: 145 7.4%
  • < 20 years

    Votes: 117 6.0%
  • < 25 years

    Votes: 88 4.5%
  • Ok, I am a dinosaur

    Votes: 249 12.8%
Back
Top