Author Topic: What the C button does exactly  (Read 847 times)

I understand that this slows down the vehicle, but does it take away a certain amount of speed set by the vehicle's code, or is there some hard coded thing that makes it so every vehicle goes to a certain speed, no matter what speed they are.

What I am basically asking is just if you press C, does it slow down the vehicle by taking away speed, or always setting the speed to a certain value?

The reason I wanted to know this is because I liked the speed of a certain vehicle when you press C, and I wanted to use this vehicle, but it goes too fast, and that makes it harder to make brick maps using vehicles, so I wanted to set its default speed to the speed it has when you hold down C.

I think it's a hard coded feature that should around half the engineTorque defined.
There is nothing in the Jeep's code that hints at it being a scripted-in value, but faster vehicles go around their speed, too.

It's the "walk" feature. All controllable objects have two speed settings-- normal (run) and walk. Each object type sets two different values for this, so in theory you could have a player that walks 5x as fast as running.

It's the "walk" feature. All controllable objects have two speed settings-- normal (run) and walk. Each object type sets two different values for this, so in theory you could have a player that walks 5x as fast as running.

Er, no. The "walk" feature is purely client-sided. It simply changes the speed multiplier (i.e. the value of $mvForwardAction) to a hardcoded value (0.3, IIRC).

it acts like you put moveforward(0.5);

Er, no. The "walk" feature is purely client-sided. It simply changes the speed multiplier (i.e. the value of $mvForwardAction) to a hardcoded value (0.3, IIRC).
So technically, you could have an addon that would allow you to adjust how fast your c key makes you go, right?=D

So technically, you could have an addon that would allow you to adjust how fast your c key makes you go, right?=D
Yes


it acts like you put moveforward(0.5);

thanks, but i'm trying to find out for vehicles.

Er, no. The "walk" feature is purely client-sided. It simply changes the speed multiplier (i.e. the value of $mvForwardAction) to a hardcoded value (0.3, IIRC).

So, if I multiplied the maxwheelspeed value of 25 by .3, this would give me the speed it goes when you hold down C?

So, if I multiplied the maxwheelspeed value of 25 by .3, this would give me the speed it goes when you hold down C?
Yes.

Yes.

Alright, I just wanted to be perfectly clear. Thanks, all of you.