Jump to content
Sign in to follow this  
scotg

Animating fans/turbines on wheeled vehicles?

Recommended Posts

Hi again, everyone!

I've got a couple of tanks whose turbines are visible through the grates, as well as a buggy with cooling fans exposed on top of its engine. Because they are visible, it would look much better if they were rotating when the engines are on. I don't think assigning it a radar animation would be good. I'm not concerned with variable RPMs, either; it just has to look convincing enough. That being said, for the turbines it would make sense if they were visibly gaining momentum at the beginning, but they can maintain a constant speed once they've reached it. Any ideas?

Share this post


Link to post
Share on other sites

here's my thought:

 

make two identical selections - fan_static and fan_mobile

 

class fan_static_hide

selection fan_static

type hide

source rpm

hidevalue 1 when engine is on

 

class fan_mobile_unhide

selection fan_mobile

type hide

source rpm

hidevalue 0

unhidevalue 1 // when engine is on

 

class fan_mobile_rotate

selection fan_mobile

type rotation

source time

 

good luck

 

 

  • Like 2

Share this post


Link to post
Share on other sites

I'll give this a try. So basically, the source "time" will make it rotate consistently, as per a clock? ... But then when the engine starts source "rpm" should swap out the static fan for the consistently rotating one, right?

Is there some reason I can't just use source rpm to make the fan rotate in a loop when the engine is on? I can't; I tried. I just want to know if there's a why or if I just plain did it wrong.

Share this post


Link to post
Share on other sites

apply a standard constant rotation. Then add an rpm or thrust based rotation on top of that.

Share this post


Link to post
Share on other sites

I'm not having any luck. Before your suggestion, I tried to implement my theory in the previous post, which was to just make an rpm-activated loop. There's no movement whatsoever. I can check my model.cfg again to see if everything is properly named, but I'm certain it is.

Oh wait, I'd need to set up something in the config as well, wouldn't I?

Share this post


Link to post
Share on other sites
2 hours ago, x3kj said:

apply a standard constant rotation. Then add an rpm or thrust based rotation on top of that.

So which source will work that way? Direct, hour/minute?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×