Gradually slow down a fan

Avatar
Haggis
158 Posts
Posted Jul 31, 2011
I have a fan set up which turns on when a button is pressed, but it starts and stops really fast. Is there a way to make the fan gradually speed up and then do the same when it is stopping, gradually slows down.
Advertisement
Registered users don’t see ads! Register now!
Avatar
Rubrica
305 Posts
Posted Jul 31, 2011
Replied 6 minutes later
I THINK you can increase the friction key value of the func_rotating, but I'm not sure if that would work.
Avatar
yohoat9
274 Posts
Posted Jul 31, 2011
Replied 23 minutes later
I've been wanting a similar effect with a floating platform.
Avatar
ChickenMobile
2,460 Posts
Posted Aug 01, 2011
Replied 10 hours later
Doesn't a func_rotating have a speed input? You could use a relay to eventually slow down the fan to 0.
Avatar
Skotty
671 Posts
Posted Aug 01, 2011
Replied 9 hours later
You could use a math_counter to control the speed of the fan.
Use it with the output "OutValue fan SetSpeed <empty>".
Via a logic_timer you can add or subtract a amount of speed each time it fires it's output OnTimer.
For example: "OnTimer math_counter add 1".
Advertisement
Registered users don’t see ads! Register now!
Avatar
Haggis
158 Posts
Posted Aug 01, 2011
Replied 4 hours later
I have the fan speeding up at start and slowing down at the end and its so simple to do. Go to flags and check the Acc/Dcc flag and just change the friction to suit your needs.