The Game Modding Community - Since 2001

Advanced rotating doors tutorial

A Request for Half-Life

not your typical rotation

Please, could someone make a quick tutorial (or explain to me) how func_rotating_door works. It's easy to make simple door, but when I need it to make a hatch, for example, all hell breaks loose (I just can't make it to rotate the way I want it).

The particular things I stumble are:

• how to make a door opening towards the player.

• how to make a hatch / a lid.

• how to control the degree of the rotation.


Thanks in advance.

Bounty Contributors

mafon2 20 points 30d


In order to win the bounty, you should fulfil the following requirements.

  1. Make it simple


  • 29dEdited 29d
    silentrunner007 avatar
    silentrunner007 Joined 11y ago
    4,982 points Ranked 982nd
    14 medals 1 legendary 3 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 3rd Place - 2016 Winter Mapping Contest Medal icon
    • Submitted 20 Maps Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon

    the rmf i linked shows a simple hatch(func_door_rotating) that opens upwards only.

    "• how to make a door opening towards the player."
    in flags set it to "one-way" then use the "distance (deg)" setting in a + or - amount depending on how far and what direction you want the door to go.

    "• how to make a hatch / a lid."
    Check the rmf i have linked. shows the settings i used to make it open upwards only.

    "• how to control the degree of the rotation."
    I answered that in my first response. The setting to use is "distance(deg)"
    • Win x 1
    • Helpful x 1
    • Thanks x 1
    Stud Muffin avatar
    Stud Muffin
  • 30d
    cd5ssmffan avatar
    cd5ssmffan username pic Joined 3y ago
    1,611 points Ranked 3075th
    22 medals 5 rare
    • Returned 1000 times Medal icon
    • Received thanks 50 times Medal icon
    • GameBanana’s Christmas Giveaway 2017 Day Nine Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2017 Day Fifteen Winner! Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • One month a member Medal icon
    To make a hatch you need to make it rotate around the X or Y axis instead of Z. What is happening when you are making the door? What's your pitch yaw roll?
    • Helpful x 1
  • 30d
    James Luke avatar
    James Luke Joined 3y ago
    776 points Ranked 6254th
    I don't have a map editor on me to help you right now, but looking through the .fgd I could maybe give some insight.

    Make sure you have an origin brush inside of the brush where you want the rotation axis to be.

    Flags 64 and 128 control which axis the door will rotate (from the origin brush) and you can reverse their direction with flag 2.

    There are plenty of tutorials out there already, pointless imo to make a bounty on it, even if it's easy points.
    GoldSource Programmer


Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

The Bounty

Available Bounty
20 points
Total Contributions
Top Contributor
mafon2 with 20 points


mafon2 avatar
mafon2 Joined 1y ago
184 points Ranked 19794th

Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!



Mar 14th, 2018
@ 11:13 am GMT+0000


  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+


  • 12 Posts
  • 30d Submitted
  • 30d Modified

SEX! Ok, we got your attention. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Resistance is futile... Sign up now!

Already a Bananite? Login tracking pixel