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.


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

  1. Make it simple


  • 4moEdited 4mo
    silentrunner007 avatar
    silentrunner007 Joined 11y ago
    7,113 points Ranked 663rd
    15 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
  • 4mo
    cd5ssmffan avatar
    cd5ssmffan username pic Joined 3y ago
    1,586 points Ranked 3219th
    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
  • 4mo
    James Luke avatar
    James Luke Joined 3y ago
    776 points Ranked 6388th
    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:


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
  • 4mo Submitted
  • 4mo Modified

Yo, buddy. 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.

Stop Lurking! Sign up now!

Already a Bananite? Login tracking pixel