Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
engine cut-off
12-12-2006, 08:58 PM,
#1
engine cut-off
I've tried to simulate a little bit better an engine cut-off when rpm limit work.
My idea, if you agree, it's to add a parameter in .car file, like:

rpm-limit-hysteresis = 200

What do you think? I've sent my example files to the mailing list.
(hysteresis now is fixed, it's only for trails)

Try these file and then if you want, try to change hysteresis ( 400, 200) with your car.
You need only to change this parameter in Engine.cc m_engine_speed_limit_hysteresis (see example below) .
I've tried them with G4,M3,GT,3S,F1.

Ex: (Engine.cc line 42/43)
m_engine_speed_limit_hysteresis (Vamos_Geometry::rpm_to_rad_s (rpm_limit-400)),
or
m_engine_speed_limit_hysteresis (Vamos_Geometry::rpm_to_rad_s (rpm_limit-200)),

The last one work better.

pwp71

P.S. tell me if I must commit these files.
Reply


Messages In This Thread
engine cut-off - by pwp71 - 12-12-2006, 08:58 PM
[No subject] - by thelusiv - 12-21-2006, 09:16 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-21-2006, 09:45 PM
[No subject] - by reece146 - 12-21-2006, 11:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)