The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
|
engine cut-off - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: engine cut-off (/showthread.php?tid=473) |
engine cut-off - pwp71 - 12-12-2006 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. - thelusiv - 12-21-2006 I'm not sure I quite understand what it is you're changing here. What will this do? - joevenzon - 12-21-2006 It would change the amount of RPM that the rev limiter will bump down to when you over-rev. - reece146 - 12-21-2006 I'm seeing a weird behaviour when down shifting quickly from WOT, 5th when entering a corner... I don't remember it doing this. As I slam the brakes and downshift by the time I get down to 3rd gear _sometimes_ it looks like my RPMs drop from the high end to idle in one jump. Could this be related to this function? Maybe over-rev is resetting the engine RPM incorrect and/or auto-clutching? In case it matters: C7, keyboard controls, auto-clutch, manual shift, on the 'Ring, Build 1449, Mac OS X. |