
setting brakes
-
- Posts: 4
- Joined: Sat Feb 03, 2007 6:57 am
- Contact:
setting brakes
When I make a server, what value for brakes do i use so that when i brake, my speed reduces to 5. Alnso, how do i get brakes to last forever? 

[<AI>]VIPER
- DDMJ
- Reverse Outside Corner Grinder
- Posts: 1882
- Joined: Thu Jun 08, 2006 12:15 am
- Location: LA, CA, USA, NA
- Contact:
cycle_brake
cycle_brake_deplete
cycle_brake_accel
Should be self explanatory.
http://wiki.armagetronad.net/index.php/Console_Commands
cycle_brake_deplete
cycle_brake_accel
Should be self explanatory.
http://wiki.armagetronad.net/index.php/Console_Commands
Well I checked the link, didn't say squat about the brakes. Alls it said was
How do the numbers affect the brakes. Like say a high number such as 86, or a low number such as 5, or a negative number such as -2.CYCLE_BRAKE Brake intensity
CYCLE_BRAKE_DEPLETE Rate at which the brake reservoir depletes when you are braking
CYCLE_BRAKE_DEPLETE_OVERRIDE Block out older clients when CYCLE_BRAKE_DEPLETE differs from its default?
CYCLE_BRAKE_REFILL Rate at which the brake reservoir refills when you are not braking
CYCLE_BRAKE_REFILL_OVERRIDE Block out older clients when CYCLE_BRAKE_REFILL differs from its default?
Er, your quote answers your question...
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
- wrtlprnft
- Reverse Outside Corner Grinder
- Posts: 1679
- Joined: Wed Jan 04, 2006 4:42 am
- Location: 0x08048000
- Contact:
well, _DEPLETE and _REFILL are quite clear IMHO. If they're both 1 you're allowed to brake for one second and then need to wait for another second for your brakes to refill.
If you have, for example, _DEPLETE 4 and _REFILL .5 you can brake for ¼ (= 4 ^ (-1)) of a second and need to wait two seconds (.5 ^ (-1)) to refill.
The way CYCLE_BRAKE is applied to your speed is quite simple, too: If you're currently braking its value is just subtracted from your cycle's acceleration to make the new acceleration. So if you're currently grinding a wall and have a high accel of 10 m/s² and CYCLE_BRAKE is at 30 m/s² you'll effectively be slowed down by 20 m/s², at least as long you still have some braking power left.
Note that the acceleration is also affected by your speed: If you're below CYCLE_SPEED_MIN you'll experience a high acceleration, so no matter how strong you set the brakes (high value for CYCLE_BRAKE) your cycle will still not stop. The same goes for high speeds: At high speeds your cycle will tend to slow down and your boost (negative value of CYCLE_BRAKE) will have to work against that.
If you have, for example, _DEPLETE 4 and _REFILL .5 you can brake for ¼ (= 4 ^ (-1)) of a second and need to wait two seconds (.5 ^ (-1)) to refill.
The way CYCLE_BRAKE is applied to your speed is quite simple, too: If you're currently braking its value is just subtracted from your cycle's acceleration to make the new acceleration. So if you're currently grinding a wall and have a high accel of 10 m/s² and CYCLE_BRAKE is at 30 m/s² you'll effectively be slowed down by 20 m/s², at least as long you still have some braking power left.
Note that the acceleration is also affected by your speed: If you're below CYCLE_SPEED_MIN you'll experience a high acceleration, so no matter how strong you set the brakes (high value for CYCLE_BRAKE) your cycle will still not stop. The same goes for high speeds: At high speeds your cycle will tend to slow down and your boost (negative value of CYCLE_BRAKE) will have to work against that.
There's no place like ::1