Page 1 of 1

Fan Speed

Posted: Thu Aug 05, 2004 8:43 pm
by MasterMind
Is there any way to change the fan speed??

Should this be posted in scripting?

Posted: Thu Aug 05, 2004 9:24 pm
by bdbodger
What fan ?

Posted: Thu Aug 05, 2004 9:27 pm
by MasterMind
fans you build on maps. I ment a fan not the fan on the other post, sorry. :(

Posted: Thu Aug 05, 2004 9:56 pm
by hogleg
Turn it into a script_object and add the following key/value to the entity.

key: rotateY
Value: 360

Or just use the rotatingdoor func and add those values.

Posted: Thu Aug 05, 2004 10:26 pm
by MasterMind
What do you mean hogleg, how does that change the speed of a fan. Fans are script_objects.

Posted: Thu Aug 05, 2004 11:04 pm
by blue60007
OK if your fan is a script_object and say it's targetname is $fan, then in the script (not the entity window, I'm not sure if that works), put

$fan rotateY 360

Then you can change that number to whatever speed you want. Also depending on the angle of fan (cielingor wall) you can make it Y X Z one of those.

Posted: Thu Aug 05, 2004 11:27 pm
by MasterMind
Oh, Thanks :D

Posted: Fri Aug 06, 2004 12:12 am
by hogleg
I usually make my fans from the rotating door function. Not scripted.
Just give it an origin to spin on and put in those values.

Posted: Fri Aug 06, 2004 12:16 am
by MasterMind
That would work, but wouldn't you have to press the use key to turn it on?

Posted: Fri Aug 06, 2004 1:50 am
by Balr14
It's much more economical to make fan blades from one transparent texture with rotating animation set in the shader.

Posted: Fri Aug 06, 2004 2:32 am
by lizardkid
no MAstermind. use key is only for doors, use triggers, and pickupables. like dropped guns.

lol i always do my fans from scripting. all this nonsense to get out of scripting with these elevators that are really doors, fans that are just rotating doors... lol it's almost pitiful.

Posted: Fri Aug 06, 2004 2:37 am
by blue60007
Balr14, you're right but that's really to complicated for a simple fan, besides it'd only be 2d anyways.

Lizardkid, it's a lot easier like you said with scripting gives you MUCH more control, easier to test speed/angle just change and save rather than change, save, compile, etc etc... I agree with those last points