Jump to content
The Dark Mod Forums

Recommended Posts

Posted

I feel like I've seen spinning fans in vents before on maps I've played in the past, but going through the models/prefabs/etc in DarkRadiant, I can't find anything pre-made for it, and searching the Wiki didn't turn up anything I could find.

I know Entities can be moved in DR (hence doors, windows, elevators, etc) but what would I need to do to make a fan blade model spin on its axis inside a fan frame?

Posted

This is done by converting the fan to func_rotating via the classname spawnarg. Once converted, check the inherited properties to see a set of spawnargs that control how it rotates.

  • Like 2
Posted

...and if the model of your fan should also have a rotation (as for example in the greenhouse in HH
VF), then proceed as follows:

1. convert the unrotated model of the "real" fan into a func_rotating (A) as described by dragofer.
2. depending on the orientation, select the x or y_axis property (if you enter zero for both, the fan will rotate around the Z axis)
3. now give A the desired rotation
4. clone A, place it in a blue-room and convert it into a func-static (B)
5. give A the property "bind" - B"

 

grafik.png.70f38c17e48d6f0522fb50d6f9053b97.png

  • Like 2
Posted

Thank you both! I remember running into the func_* entity types during the tutorials, I should dig into those more and see what else I can do with them.

Took a little tweaking, but I got my fan rotating.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • taaaki

      The post editor for the dark themes should be working again. Apologies for the inconvenience.
      · 1 reply
    • jaxa

      Talk GabeCube:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/39/#findComment-508710
      · 3 replies
    • The Black Arrow

      Things have been so bad these days for me...
      Just a year ago, I've been feeling dizzy, I thought it was nothing, today's stress, that type of thing, went to sleep...Still dizzy! 9 more days dizzy, went to doctor (I would have gone on the first day if NOT for the long appointment time)
      Said it may be Neck Dizziness...I did exercises for 6 months, no changes.
      Went to a Physical Therapist, went to another, no changes.
      I've asked my doctor for a full check this time.
      I hated yesteryear so much due to personal reasons, this year might be the same.
      To be brutally honest, I'd rather have cancer or/and chronic pain than suffer dizziness any second longer, especially when nothing helps.
      Hard to enjoy Thief when you're dizzy so I was hoping this year, Winter will be best for me.
      · 7 replies
    • JackFarmer

      Hello mappers and taffers! 

      Are you still out there? It is so calm here these days and I am afraid this is no good sign.
      Proof me wrong, tell your best friend (=me), that you are still here and that you will not go away!
      · 7 replies
    • JackFarmer

      Happy Labour Day, my taffing taffers & hard working mapping friends!
      And remember the poor souls who, within the Inventors’ organization, labor under Jonus’s yoke to ensure the success of that very guild! Always remember the hard workers!
      · 2 replies
×
×
  • Create New...