The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
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.