| Blockland Forums > General Discussion |
| What the C button does exactly |
| (1/3) > >> |
| Sami2ss:
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. |
| Snick0rz:
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. |
| Trinick:
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. |
| Port:
--- Quote from: Trinick on October 13, 2012, 04:24:52 AM ---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. --- End quote --- 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). |
| Mold:
it acts like you put moveforward(0.5); |
| Navigation |
| Message Index |
| Next page |