Jump to content

How To Reverse Throttle?


6 replies to this topic

#1 Giant Bob

    Member

  • PipPipPip
  • 76 posts
  • LocationRoute 66

Posted 10 January 2013 - 08:22 PM

I want to reverse throttle at the touch of a key (not mouse). I've tried "invert throttle", but that doesn't seem to do anything.

thanks in advance!

edit: "reverse" is meant to say throw the throttle into reverse at the same position relative to it's forward setting.

related: i'd like to "zero" the throttle in a similar manner, but saw nothing that jumped up and slapped me in the face to show me how.

Edited by Giant Bob, 10 January 2013 - 08:25 PM.


#2 Molachai

    Member

  • Pip
  • Point Commander
  • Point Commander
  • 19 posts

Posted 11 January 2013 - 01:05 AM

to zero the throttle press "x". To reverse all I know of is the "s" key

#3 Giant Bob

    Member

  • PipPipPip
  • 76 posts
  • LocationRoute 66

Posted 11 January 2013 - 11:19 PM

Extra thanks for pointing out what I should have already seen to tell me how to execute zero throttle.

#4 BerryChunks

    Dezgra

  • PipPipPipPipPipPipPipPip
  • 1,000 posts

Posted 12 January 2013 - 07:48 PM

We need percentage based throttling by either numpad or allowing rebinding of the "weapon group" numbers.

It's far from as robust as MW3 controls. when im an assault in th emiddle of a firefight, I want to get the speed value I need and let my mech take over from there instead of trying to fiddle with the throttle to hit the right value while ignoring whats shooting me.

#5 evilC

    Member

  • PipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 1,298 posts
  • LocationLondon, UK

Posted 15 January 2013 - 04:37 AM

"Reverse Throttle" is for when using a joystick axis to control the throttle.
There are two modes - default is:
full down = stop
full forward = full speed.
neutral = half speed forwards
Hit the "Reverse throttle" to go into reverse mode:
full down = stop
neutral = half speed reverse
full forward = REVERSE full speed.

However, if you add cl_joystick_throttle_range = 0 to your user.cfg, it works like this:
full down = full reverse
neutral = stop
full up = full speed forward

I presume what you want is that if you are at half speed forwards, and hit a key, you go to half speed reverse?
If so, I know how to do this. See this thread - you need to add an extra binding to my code, something like:

else if key.r then
   var.throttle = var.throttle * -1
 

This would cause R to invert the throttle as described.

View PostBerryChunks, on 12 January 2013 - 07:48 PM, said:

We need percentage based throttling by either numpad or allowing rebinding of the "weapon group" numbers.

It's far from as robust as MW3 controls. when im an assault in th emiddle of a firefight, I want to get the speed value I need and let my mech take over from there instead of trying to fiddle with the throttle to hit the right value while ignoring whats shooting me.

This is also achievable by altering the proof-of-concept code that I linked above.

You would want something like:
else if key.r then
   var.throttle += 0.1
 
else if key.f then
   var.throttle -= 0.1

This would make the throttle step up or down 10% per press of R or F.

Edited by evilC, 15 January 2013 - 04:37 AM.


#6 BerryChunks

    Dezgra

  • PipPipPipPipPipPipPipPip
  • 1,000 posts

Posted 15 January 2013 - 09:00 AM

I like it.

#7 Giant Bob

    Member

  • PipPipPip
  • 76 posts
  • LocationRoute 66

Posted 15 January 2013 - 07:55 PM

View PostBerryChunks, on 15 January 2013 - 09:00 AM, said:

I like it.


Ditto. Gracias, eC. That's precisely (to the 15th decimal place) what I was hoping to do with "reverse throttle". Now we see if I have the ****** to attempt your suggestion.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users